Commit Graph

461 Commits (39261f367149c8e76f8d0a73b9e2b28af322cb4a)

Author SHA1 Message Date
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
Adrien Delorme b35ec44d06 Update build.go
6 years ago
Adrien Delorme e6aac8cd6f Update build_test.go
6 years ago
Adrien Delorme efcc6af06c fix tests
6 years ago
Adrien Delorme a93a45e4d3 more fixes to refactor
6 years ago
Adrien Delorme 42a05e1e80 more refactoring
6 years ago
Adrien Delorme 2ef758763f Update build_cancellation_test.go
6 years ago
Adrien Delorme 2f63e4e79d refactor term interrupts & have RunContext take a conf struct now
6 years ago
Adrien Delorme 532a69c968 Update command.go
6 years ago
Adrien Delorme 5290beb23e Update cli.go
6 years ago
Adrien Delorme a5ab87ca44 add scaffolding for the new packer command layout
6 years ago
Megan Marsh 6a682aca2e
Merge pull request #9124 from GennadySpb/yandex-export-post-processor
6 years ago
nqb be08eddd8d
remove useless comment
6 years ago
Adrien Delorme 4047113746 Update build.go
6 years ago
Adrien Delorme 2c556ed8c0 remove clarified comment
6 years ago
Adrien Delorme c71a792186 simplify/refactor core for build & validate
6 years ago
Adrien Delorme 7aaee62970 command/build: don't reset error code in case an error hapened
6 years ago
Adrien Delorme 5c2b8da63b get builds from PackerConfig instead of parser
6 years ago
Tom Dyas c0a6623ea2
teach HCL mode builds to honor -only and -except options (#8947)
6 years ago
Gennady Lipenkov d5a6781fb7 Add new 'yandex-export' post-processor
6 years ago
Megan Marsh 217dcbb97f golang 1.14 doesn't like calling NewFile on existing files. Port solution over from Terraform
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
Vaijanath Angadihiremath fd21b669db Fixing the linting errors now required for merging
6 years ago
Vaijanath Angadihiremath c815a5df67 Fixing the Make Ci errors
6 years ago