Commit Graph

75 Commits (v1.14.3)

Author SHA1 Message Date
Karthik P 8e36b92ce3
Preserve User-Defined Variable File Order (#13350)
10 months ago
guoguangwu 7eb6a45cd4 chore: remove refs to deprecated io/ioutil
2 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
hashicorp-copywrite[bot] b7df3ca36f
[COMPLIANCE] Add Copyright and License Headers (#12254)
3 years ago
Lucas Bajolet 4d559e23b7
hcl2: don't warn on excluded post-processor (#12187)
3 years ago
Lucas Bajolet ca197afe9b hcp: remove superfluous return value on GetBuilds
3 years ago
Wilken Rivera 57cbe4e203
core: Update validation options for undeclared variables (#12104)
3 years ago
Lucas Bajolet c0e7e7bd3c hcl2: report error on build without sources
3 years ago
Lucas Bajolet 61c56e161c hcl2: add example for undefined variable set warn
3 years ago
Lucas Bajolet e94b8766cb build: exit immediately if no builds and diags
3 years ago
Eng Zer Jun f5ec0f1c57 test: use `T.Setenv` to set env vars in tests
3 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
3 years ago
Adrien Delorme 0362a3ec10
all shells: Pass env vars through a key value store (#11569)
4 years ago
Adrien Delorme e03ad29ca0
Sanitize var code (#11566)
4 years ago
Adrien Delorme 3278c1a817
Packer SVC acc tests (#11274)
4 years ago
Wilken Rivera 4a0fbd911a
Add support for variable interpolation to hcp_packer_registry and build blocks. (#11421)
4 years ago
Adrien Delorme 710d109c55
HCL2: fix a crash when an HCL2 component is nil after a misconfiguration (#11382)
4 years ago
Adrien Delorme 254e020b08
Allow to use build variables in a post processor (#11323)
4 years ago
Adrien Delorme 3135714465
rename all things 'inexist[e|a]nt' to 'nonexistent' & fix tests (#11325)
4 years ago
Adrien Delorme 9d0193ac14
add possibility to use variables everywhere in post-processor blocks (#11094)
5 years ago
Adrien Delorme 77a29fc2f8
Allow to have `dynamic` blocks in a `build` block + tests (#10825)
5 years ago
Adrien Delorme a115b428ac simplify fmt test case a little
5 years ago
Sylvia Moss ef4afafde9
Fix force flag for hcl2 provisioners and post-processors (#10571)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Adrien Delorme 52d2d7fe5f
Copy `MapOf...` plugin types back into Packer core (#10466)
5 years ago
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 5576bb5caa move packer config constants next to the packer config
5 years ago
Megan Marsh b69d69095e move postprocessor to sdk, fix generation code
5 years ago
Megan Marsh be5763ec41 move provisioner interface into sdk
5 years ago
Megan Marsh ada91b24e9 extract builder interface to sdk
5 years ago
Megan Marsh d5971ca25e fix tests by moving mock hooks and communicators, and BasicUi definition, into SDK
5 years ago
Adrien Delorme 6dd06fad14 add command/ tests
5 years ago
Megan Marsh 66b81d9bee
add build.name to hcl code (#10114)
5 years ago
Adrien Delorme 3d7ab9ea43 add an hcl2-json test
6 years ago
sylviamoss 39a8dee4ea add tests and update override example
6 years ago
Chris Gilmer 6e918c4bd3
Update test for builder output
6 years ago
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
6 years ago
Adrien Delorme a15ad19411 test builds can be 'excepted'
6 years ago
Adrien Delorme c1c8b8d22a complete -> recipes
6 years ago
Adrien Delorme 0deaa5d2a5 add a complete tests for builder variables + only/except
6 years ago
Adrien Delorme 7969b690de Revert "Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)"
6 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
Adrien Delorme fb337f8867
hcl work on only/except (#9454)
6 years ago
Moss daaeccd8b0 Skip consecutives post-processors
6 years ago
Moss bfb9df0039 fix except flag for JSON and HCL2
6 years ago
Adrien Delorme e6aac8cd6f Update build_test.go
6 years ago
Adrien Delorme efcc6af06c fix tests
6 years ago
Adrien Delorme 42a05e1e80 more refactoring
6 years ago
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago