packer-cn/command
Megan Marsh 3dc4ba2d68
Json vs HCL2 parity refactor (#9301)
* refactor so that json and hcl2 templates are both prepared in the same place in the build call, to make code easier to reason about. Remove overly verbose error output which isn't useful in vast majority of cases

* fix tests

* check err msg

* hcl2template.PackerConfig.GetBuilds: raise a diagnostic in case the packer core build perpare call errors

Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
2020-05-28 10:43:58 +02:00
..
test-fixtures teach HCL mode builds to honor -only and -except options (#8947) 2020-04-28 15:03:24 +02:00
build.go Json vs HCL2 parity refactor (#9301) 2020-05-28 10:43:58 +02:00
build_cancellation_test.go fix tests 2020-05-08 17:46:33 +02:00
build_cleanup_script_test.go fix tests 2020-05-08 17:46:33 +02:00
build_parallel_test.go fix tests 2020-05-08 17:46:33 +02:00
build_test.go Update build_test.go 2020-05-08 17:50:48 +02:00
build_timeout_test.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
cli.go remove Ui from command.MetaArgs 2020-05-12 12:14:30 +02:00
command_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
console.go ConsoleCommand.ParseArgs: don't fail if no buildfile was passed 2020-05-14 12:21:42 +02:00
fix.go update fix command with new synthax 2020-05-12 11:33:44 +02:00
fix_test.go Move fixer test to fix package 2019-07-24 18:04:17 +01:00
inspect.go make packer inspect not print sensitive variables. 2018-12-07 12:02:20 -08:00
meta.go 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 2020-05-12 11:24:22 +02:00
plugin.go Add new 'yandex-export' post-processor 2020-04-27 02:20:30 +03:00
signal.go refactor term interrupts & have RunContext take a conf struct now 2020-05-08 12:05:14 +02:00
utils.go build using HCL2 (#8423) 2019-12-17 11:25:56 +01:00
validate.go 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 2020-05-12 11:24:22 +02:00
validate_test.go Updated test to verify expected behavior 2015-07-13 19:32:28 -07:00
version.go packer.io prefix removal, html extension remove for in-code errors 2020-04-07 17:53:22 -04:00
version_test.go command: version tests 2014-10-27 20:58:44 -07:00