Commit Graph

104 Commits (98176f54297b3d6fde4dee8aec08c94de71a67fd)

Author SHA1 Message Date
Lucas Bajolet 51ec78622d hcl2template: simplify startDatasource function
3 years ago
Lucas Bajolet d9259d6d12 hcl2template: extract attr filter code from ds
3 years ago
Lucas Bajolet 14b6ad10fe hcl2template: report localtion for cycle detection
3 years ago
Lucas Bajolet 2a6ccaccab hcl2template: simplify datasource evaluation
3 years ago
Lucas Bajolet 8438d81d4d hcl2template: remove unused shouldContinue bool
3 years ago
hashicorp-copywrite[bot] 19055df3ec
[COMPLIANCE] License changes (#12568)
3 years ago
Wilken Rivera 9ccec0d4d5
Removed repetitive statement from HCP debug logs (#12552)
3 years ago
Lucas Bajolet f1a41b488f packer: add HCL2 support for telemetry
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 1cee460d0d hcp: extract all HCP-related code to hcp package
3 years ago
Lucas Bajolet dad07c6097 hcp: keep map of build names for hcp tracking
3 years ago
Lucas Bajolet f3e4c2c3bb tmp: move HCP logic to unwrap builds/post
3 years ago
Lucas Bajolet a298617ecb command/build: warn and exit when nothing to build
4 years ago
Lucas Bajolet 7cd095062a parser: extract HCP logic out of the HCL parser
4 years ago
Adrien Delorme e03ad29ca0
Sanitize var code (#11566)
4 years ago
Wilken Rivera 2ad15617cc
core/hcl2: Fix issue preventing builds from pausing between provisioners when the `--debug` argument has been passed (#11537)
4 years ago
Adrien Delorme 5d17d7fe65
prevent duplicate local block creation (#11534)
4 years ago
teddylear 1d01ad3651
feat: print all locals errors when there is a circular error (#11527)
4 years ago
Megan Marsh b763b79d9f implement contextual variable packer.iteration_id
5 years ago
Megan Marsh 961d72bb37 add iteration_id to evaluation context.
5 years ago
Wilken Rivera b10df3abb7
Update HCP Packer registry image extraction, validation, publishing logic for registry capable plugins (#11221)
5 years ago
Megan Marsh 6c7aadf08f return diags earlier
5 years ago
Megan Marsh 295bac0c5f remove unnecessary complexity
5 years ago
Megan Marsh 48de1fc7da allow datasources to use other datasources
5 years ago
Wilken Rivera a534c743cf
HCP Packer registry enabled Packer client (#11154)
5 years ago
Adrien Delorme 4be9dfd183
Say so when an only or an except option did not match anything (#11050)
5 years ago
Adrien Delorme 03d79a2c39
HCL2 variables: split validation from getting value (#10843)
5 years ago
Sylvia Moss 774c5903f6
Add error-cleanup-provisioner to HCL2 (#10604)
5 years ago
Sylvia Moss ef4afafde9
Fix force flag for hcl2 provisioners and post-processors (#10571)
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
Megan Marsh 88b7b0e14a remove sdk
5 years ago
Megan Marsh 39ab646236
move plugin and rpc code into sdk; other minor tweaks (#10359)
5 years ago
Megan Marsh 3e54e9ea80
Merge pull request #10235 from hashicorp/refactor_version_code
5 years ago
Adrien Delorme deba1484ff
HCL2: allow calling env as input var default value (#10240)
5 years ago
Megan Marsh bc85854a53 refactor packer version out of hcltemplate code.
6 years ago
Adrien Delorme 6911495fc4 add VariableAssignment struct that help describe an input var assignment
6 years ago
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
6 years ago
Megan Marsh a8ee23a9f9
Merge pull request #10117 from hashicorp/packer_version_func_hcl
6 years ago
Megan Marsh 09c6d2880f implement packer_version variable in hcl
6 years ago
Megan Marsh 66b81d9bee
add build.name to hcl code (#10114)
6 years ago
Adrien Delorme bdf198594e hcl2 inspect: sort variables to have a consistent output
6 years ago
Adrien Delorme 91c5a4613c HCL2 inspect remove debug values
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 44616d3bff
refactor initialization out from packer configs + tests (#9627)
6 years ago