packer-cn/helper
Adrien Delorme 44616d3bff
refactor initialization out from packer configs + tests (#9627)
The initialization of packer core in JSON also validates that `null` variables were set, except in the case of `packer validate --syntax-only` , but after the refactor to allow to have all commands work with HCL2 and JSON this subtlety was lost.

This refactors the initialisation of the core in order to allow to have `packer validate --syntax-only` not error in case a variable is not set. Since these calls are refactored this works for HCL2 too.

fix #9478
2020-07-24 10:58:03 +02:00
..
builder/testing refactor initialization out from packer configs + tests (#9627) 2020-07-24 10:58:03 +02:00
common Replace file shared state by statebag (#9238) 2020-05-19 11:49:48 +02:00
communicator ci/tech-debt: Fix vmware acceptance tests (#9636) 2020-07-23 09:40:57 +02:00
config core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622) 2020-07-23 09:25:07 +02:00
enumflag Fail on unknown values of -on-error 2016-09-17 14:42:21 +00:00
flag-kv TestStringSlice_Set: check error even if none is returned 2020-03-12 18:01:20 +01:00
flag-slice Support -flag=var1,var2,var3 to fix #2332 2015-06-26 17:54:59 -07:00
multistep Add content_library_destination to import VM template to a Content Library (#9551) 2020-07-10 11:01:10 +02:00
ssh adding basic support for OpenSSH CertificateFile support 2020-07-10 16:54:08 -07:00
tests tests/provisioners: Add TestProvsionerPreCheck function 2020-04-06 16:52:24 -04:00
useragent Include arch and os 2018-04-05 14:28:50 -04:00
wrappedreadline golang 1.14 doesn't like calling NewFile on existing files. Port solution over from Terraform 2020-04-09 14:38:17 -07:00
wrappedstreams golang 1.14 doesn't like calling NewFile on existing files. Port solution over from Terraform 2020-04-09 14:38:17 -07:00