packer-cn/command/test-fixtures
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
..
build-name-and-type HCL2: pass on builder type and name (#8956) 2020-04-09 11:14:37 +02:00
build-only Add complete HCL2 examples + allow to name a singular build.source blocks (#9490) 2020-07-02 11:07:59 +02:00
build-variable-sharing Revert "Share build info with Provisioner and Post-Processor via HCL2 variables (#9444)" 2020-07-02 15:07:29 +02:00
cleanup-script rename option to error-cleanup-privisoner, which I think is clearer 2019-09-25 13:43:29 -07:00
fix command/fix: validate resulting template [GH-2075] 2015-06-13 13:56:09 -04:00
fix-invalid command/fix: validate resulting template [GH-2075] 2015-06-13 13:56:09 -04:00
hcl core: Decode: when in HCL2 decoding mode; reset the whole struct before preparing it. (#9622) 2020-07-23 09:25:07 +02:00
hcl-only-except hcl work on only/except (#9454) 2020-06-23 10:53:16 +02:00
parallel add tests for cancellation while building 2019-05-06 15:07:57 +02:00
timeout test provisionning timeout 2019-04-08 20:09:21 +02:00
validate refactor initialization out from packer configs + tests (#9627) 2020-07-24 10:58:03 +02:00
validate-invalid command/validate: Add support for HCL2 configuration files 2020-06-05 14:24:39 -04:00
var-arg packer console for HCL2 (#9359) 2020-06-05 17:23:54 +02:00