Commit Graph

485 Commits (c032d463d3a45dfd7b76079ed23b7ed4ed0d8470)

Author SHA1 Message Date
Adrien Delorme efd69aea2a
console: allow to use console when there are untyped vars (#9864)
6 years ago
Adrien Delorme a70164f489
HCL2: when the type of a variable is not known evaluate setting as a litteral. (#9863)
6 years ago
Adrien Delorme a25f057984 add tests for unknown values
6 years ago
Adrien Delorme 161879b98a test unknown variables and locals
6 years ago
Adrien Delorme 652878059c inspect command: ignore init errors as some value can be unset
6 years ago
Adrien Delorme 91c5a4613c HCL2 inspect remove debug values
6 years ago
Wilken Rivera 67cd123d1c
Merge pull request #9834 from hashicorp/azr-fix-hcl2_upgrade_random_generate
6 years ago
Wilken Rivera 0e2a3e1058 command/hcl2_upgrade: Update description text for command
6 years ago
Adrien Delorme 0f00709fb6 hcl2_upgrade: fix a case where the generated type is wrong
6 years ago
Adrien Delorme 5ba134ac5b
JSON to HCL2 (minimal best-effort) transpiler (#9659)
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
Chris Gilmer 04f952a2f4
Pretty print build durations
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
Adrien Delorme 125178d943
core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622)
6 years ago
Gennady Lipenkov 553d203e68 Add yandex-import post-processor
6 years ago
Adrien Delorme b0238e6f4a Update build_windows_test.go
6 years ago
Adrien Delorme d84d956e36 add language coment !
6 years ago
Adrien Delorme a15ad19411 test builds can be 'excepted'
6 years ago
Adrien Delorme c1c8b8d22a complete -> recipes
6 years ago
Adrien Delorme 10e5d952ac unquote 'cooking...'
6 years ago
Adrien Delorme 0475b0529d tests: fix line endings in windows
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
Adrien Delorme 3d371a2d5d
Add complete HCL2 examples + allow to name a singular build.source blocks (#9490)
6 years ago
Sylvia Moss 99046c9178
Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)
6 years ago
Adrien Delorme 6f4d79799b add thorough test
6 years ago
Adrien Delorme dabcc866e5 add another inspect test
6 years ago
Adrien Delorme f98576b19e add a basic test for the inspect command
6 years ago
Adrien Delorme 51d02f8c2d hcl2: inspect command
6 years ago
Adrien Delorme fb337f8867
hcl work on only/except (#9454)
6 years ago
Megan Marsh 42e98f15ae make sure the no-op progress bar gets used for machine readable uis
6 years ago
Moss 4f26534072 add on-error flag option to run cleanup provisioner
6 years ago
Moss daaeccd8b0 Skip consecutives post-processors
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
Megan Marsh 3dc4ba2d68
Json vs HCL2 parity refactor (#9301)
6 years ago
Megan Marsh ee5635722b enable force, debug, and on-error for hcl2 builds
6 years ago
Megan Marsh 533fbc1381
Merge pull request #9139 from hashicorp/hcl2_commands_refactor
6 years ago
Adrien Delorme 2f26168adc ConsoleCommand.ParseArgs: don't fail if no buildfile was passed
6 years ago
Adrien Delorme 52b2151b21 go generate ./packer
6 years ago
Adrien Delorme 466358a13e Delete command.go
6 years ago
Adrien Delorme 7ca0a80a86 remove Ui from command.MetaArgs
6 years ago
Adrien Delorme 77297e49e9 Update cli.go
6 years ago
Adrien Delorme 49c2a8cb17 update fix command with new synthax
6 years ago
Adrien Delorme 14f18f4236 dont catch signals in console, as it seems unecessary for now
6 years ago
Adrien Delorme 22a36ef97a Move vars from Meta to cla args; this forces us to use it in GetConfigFromJSON which in turn forces us into updating console and validate
6 years ago
Adrien Delorme 534e98c4ef pass Meta command line arguments around
6 years ago