Commit Graph

447 Commits (7ac09d0b7c83d60d71dd0592d9b18dc72a67d2b5)

Author SHA1 Message Date
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
Vaijanath Angadihiremath 645cdf1a59 Updating the modules to include update to autorest 12.4
6 years ago
Megan Marsh f5c98a7601
make sure cli vars supercede var files (#8964)
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 94a1f0bcb6 go fmt
6 years ago
Adrien Delorme 0a46bb9525 more precise docs
6 years ago
Adrien Delorme b5e8750f5f Change key/value to name/value to remain consistent with Terraform
6 years ago
Adrien Delorme c8300b620a allow to use hcl files as var files in HCL mode
6 years ago
Adrien Delorme d2964d59e9 document that the `-var-file` option still expects JSON files for now
6 years ago
Wilken Rivera 9ec8b67392
Add golangci-lint to project (#8686)
6 years ago
Sylvia Moss 23fa3107a3
Render variables one time on prepare method (#8727)
6 years ago
Adrien Delorme 193dad46e6
Hcl2 input variables, local variables and functions (#8588)
6 years ago
Megan Marsh 073eda76aa remove extraneous files from when vsphere builder was a plugin, and move README into packer website as separated docs for vsphere-clone and vsphere-iso. Move option descriptions into struct code, and generate documentation directly from those structs as we do inside of the other builders
6 years ago