Commit Graph

40 Commits (aa91ef7edfb9d2c17758e2e7ef7e6bec9073bf1a)

Author SHA1 Message Date
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
Wilken Rivera f672f5bd9b command/validate: Add support for HCL2 configuration files
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 b4aa71aef2 Merge remote-tracking branch 'origin/master' into pr/AdrienneCohea/9245
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 d431db0a38 HCL2: use source type and name as Name of a CoreBuild
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 42a05e1e80 more refactoring
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
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Sylvia Moss 553b1fb9f8
Add RetriedProvisioner to allow retry provisioners (#9061)
6 years ago
Adrien Delorme 2af40c762b
HCL2: pass on builder type and name (#8956)
6 years ago
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
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 8482c6c2e6 evaluateLocalVariable: also pass the variable name
6 years ago
Adrien Delorme bd3112fa7c parseLocalVariables: simplify loop
6 years ago
Adrien Delorme 23b940dbd5 fix this !
6 years ago
Adrien Delorme 382f209b07 Update types.packer_config.go
6 years ago
Adrien Delorme 59cc246942 Merge remote-tracking branch 'origin/master' into fix_8730
6 years ago
Sylvia Moss 591b684f08
Fix HCL2 local variables decoding to allow local usage within another local in the same locals block (#8755)
6 years ago
Adrien Delorme cebfb1c735 give correct error when variable is unset
6 years ago
Sylvia Moss 2981fd627d
Avoid calling CoreBuild.Prepare(...) for HCL2 templates (#8742)
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Adrien Delorme 2d1a67c6cb hcl2: allow to optionnaly name provisioners and post-processors
6 years ago
Adrien Delorme d8c33bc59e HCL: deshadown warnings from Parser.Parse
6 years ago
Megan Marsh 5bacd37014 fix pps
6 years ago
Megan Marsh 25711ed7d0 make HCL2 respect the new builder-returned generated vars list
6 years ago
Adrien Delorme 0785c2f6fc
build using HCL2 (#8423)
6 years ago
Adrien Delorme 2b0e0d4eab add hcl2template pkg
7 years ago