Commit Graph

107 Commits (a885e620ee77494c14bb3fa4f9e65dfc865af4e2)

Author SHA1 Message Date
Adrien Delorme 6f4d79799b add thorough test
6 years ago
Adrien Delorme 51d02f8c2d hcl2: inspect command
6 years ago
Adrien Delorme a96a8f22b9 HCL2: allow to describe a build block
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 6599e7ab05 apply goimports
6 years ago
Moss bfb9df0039 fix except flag for JSON and HCL2
6 years ago
Adrien Delorme cf6eca7e1c Revert "Add pwd function to HCL"
6 years ago
Adrien Delorme 44dfa221de Revert "Add template_dir function to HCL"
6 years ago
Megan Marsh d73f83a9d9
Merge pull request #9367 from jeremiahsnapp/add-template_dir-and-pwd-functions
6 years ago
Wilken Rivera f672f5bd9b command/validate: Add support for HCL2 configuration files
6 years ago
Jeremiah Snapp 3b9a0427cd Add template_dir function to HCL
6 years ago
Jeremiah Snapp 2800043149 Add pwd function to HCL
6 years ago
Adrien Delorme bac9c74447
packer console for HCL2 (#9359)
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 1147ef9a36
Merge pull request #9291 from hashicorp/f-singular-build-source-blocks
6 years ago
Adrien Delorme 6a406ffb1d
Update hcl2template/types.source.go
6 years ago
Adrien Delorme 225081c3a6
Update hcl2template/types.source.go
6 years ago
Adrien Delorme b4aa71aef2 Merge remote-tracking branch 'origin/master' into pr/AdrienneCohea/9245
6 years ago
Adrien Delorme 059a782b0e remove debug log
6 years ago
Adrien Delorme 8a13dd3073 HCL2: Make the `build`.`sources` argument list optional
6 years ago
Adrien Delorme 40947c2bf6
HCL2: generate hcl tags with go-cty tags too (#9306)
6 years ago
Megan Marsh 3dc4ba2d68
Json vs HCL2 parity refactor (#9301)
6 years ago
Adrien Delorme 125ffe36c3 Allow to override some source fields from the build section
6 years ago
Megan Marsh 24dd7e9dbb
Merge pull request #9257 from hashicorp/azr-hcl2-use-source-type-and-name
6 years ago
Adrien Delorme 1ddf2a7d05 Update types.packer_config_test.go
6 years ago
Adrien Delorme d431db0a38 HCL2: use source type and name as Name of a CoreBuild
6 years ago
Adrienne Cohea 6c6039798c
Add test.
6 years ago
Adrienne Cohea 6aea8ead6a
Support named builds in HCL2 templates.
6 years ago
Megan Marsh ee5635722b enable force, debug, and on-error for hcl2 builds
6 years ago
Adrien Delorme 1f3e85185e Update types.packer_config.go
6 years ago
Adrien Delorme 0062160581 Update common_test.go
6 years ago
Adrien Delorme 42a05e1e80 more refactoring
6 years ago
Adrien Delorme 526d040534 document Parser.Parse better
6 years ago
Adrien Delorme 5c2b8da63b get builds from PackerConfig instead of parser
6 years ago
Adrien Delorme 2df21496b3 hcl2template: let PackerConfig actually start a builder/provisioner/post-processor
6 years ago
Adrien Delorme a3343c1848 Delete zz_retrocompat.go
6 years ago
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Adrien Delorme 73242e8de4 make sure keyvalue and namevalue filters are using the same naming as the service being used
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 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Jeff Escalante 9165be87da
packer.io prefix removal, html extension remove for in-code errors
6 years ago
Adrien Delorme d068430abf
make sure locals are evaluated only once variables are + test this (#8918)
6 years ago
Adrien Delorme ad8dafa3bd
HCL: add tests and fixes around var-file and var args (#8914)
6 years ago
Adrien Delorme 88297c796d Merge branch 'master' into hcl2_singular_blocks
6 years ago
Adrien Delorme 3beea4fb94 NameValues.CopyOn: don't instanciate a receiving map if there is nothing to copy over
6 years ago
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform
6 years ago
Adrien Delorme c845436e32 KeyValues.CopyOn: make sure a receiving nil map is set too
6 years ago