Commit Graph

65 Commits (main)

Author SHA1 Message Date
anshulSharma e8d5ddb38a
formatting multiple hcl files (#13362)
10 months ago
Martin Grogan 5e6e1a2217 hcl: add get GetHCPPackerRegistry method to PackerConfig
12 months ago
Lucas Bajolet ac899c44c2 hcl2template: don't error on empty bucket slug
1 year ago
Lucas Bajolet dff49df129 hcl2template: check bucket name at parse-time
2 years ago
Lucas Bajolet c0e7e7bd3c hcl2: report error on build without sources
3 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
3 years ago
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
4 years ago
Wilken Rivera 760169b34e
Move to using ectx to preload build names (#11432)
4 years ago
Wilken Rivera 4a0fbd911a
Add support for variable interpolation to hcp_packer_registry and build blocks. (#11421)
4 years ago
Wilken Rivera 06b35c39de
hcp packer registry build labels (#11401)
4 years ago
Megan Marsh e7ba4d390d
Merge pull request #11318 from hashicorp/fix_source_accessor
4 years ago
Megan Marsh 76c1059680 add tests, and simplify code
4 years ago
Adrien Delorme 3135714465
rename all things 'inexist[e|a]nt' to 'nonexistent' & fix tests (#11325)
4 years ago
Kerim Satirli bc6f1e36e6
Fixes typos in docs (#11322)
4 years ago
Megan Marsh 48de1fc7da allow datasources to use other datasources
5 years ago
Megan Marsh 4c22169c90 more test fix
5 years ago
Megan Marsh 2dd8c0dd26 fix tests
5 years ago
Wilken Rivera e8b5b4b516
Fix {{packer_version}} interpolation regression (#11200)
5 years ago
Wilken Rivera a534c743cf
HCP Packer registry enabled Packer client (#11154)
5 years ago
Adrien Delorme 029729225d tests and fixes
5 years ago
Sylvia Moss 774c5903f6
Add error-cleanup-provisioner to HCL2 (#10604)
5 years ago
Sylvia Moss 3ddb17ad86
Don't allow data sources to be used inside data sources (#10559)
5 years ago
Adrien Delorme ed091163be
HCL2 Parse packer.required_plugins block + packer init (#10304)
5 years ago
Megan Marsh fbbda0f9d9
Sensitive locals (#10509)
5 years ago
Sylvia Moss 291121dd55
(2) Implement datasources (#10440)
5 years ago
Wilken Rivera 4e58987026
command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377)
5 years ago
Wilken Rivera acabc1c1aa
Add packer fmt command (#10225)
5 years ago
Adrien Delorme 6911495fc4 add VariableAssignment struct that help describe an input var assignment
5 years ago
Adrien Delorme b892414e84 add failing test case
5 years ago
Adrien Delorme 4e08ea6a92 add a test
5 years ago
Adrien Delorme 180dc4a54e add test
5 years ago
Sylvia Moss 9181a435aa
Make max_retries a string to allow variable interpolation (#9673)
6 years ago
Adrien Delorme c7b35dd6bc
HCL2: add post-processors block to run multiple post-processor after a build (#9638)
6 years ago
Adrien Delorme 0ed10f921f add test
6 years ago
Adrien Delorme db6c3adbba add hcl2 provisioner type that reprepares itself
6 years ago
Adrien Delorme 284d46a1e0 WIP
6 years ago
Adrien Delorme 3d371a2d5d
Add complete HCL2 examples + allow to name a singular build.source blocks (#9490)
6 years ago
Adrien Delorme c2975140cf
HCL2: allow to use keep_input_artifact in post processors (#9477)
6 years ago
Jeremiah Snapp 0d7c5dc670
Enable only/except for provisioners and post-processors (#9357)
6 years ago
Adrien Delorme f09fd790b7
Merge branch 'master' into master
6 years ago
Adrien Delorme 125ffe36c3 Allow to override some source fields from the build section
6 years ago
Adrienne Cohea 6c6039798c
Add test.
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Adrien Delorme 840e67f775
HCL2: when we see a map generate an attribute spec instead of a block spec (#9035)
6 years ago
Adrien Delorme 710ebdcef5 add more test for var files
6 years ago
Adrien Delorme 0ccff0d5b9 all variables must have a value.
6 years ago
Adrien Delorme 6d8cce501e tweak validation & add tests
6 years ago
Adrien Delorme 9b649594c6 update tests
6 years ago
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730
6 years ago
Adrien Delorme 50896d4ddf WIP
6 years ago