packer-cn/command/test-fixtures
Wilken Rivera 4e58987026
command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377)
Before change
```
⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
Error: Cannot tell whether /tmp/unformatted.pkrvars.hcl contains HCL2 configuration data

⇶  echo $?
1
```

After fix
```
⇶  packer fmt -check /tmp/unformatted.pkrvars.hcl
/tmp/unformatted.pkrvars.hcl

⇶  echo $?
3

⇶  packer fmt -check command/test-fixtures/fmt
command/test-fixtures/fmt/unformatted.pkr.hcl
command/test-fixtures/fmt/unformatted.auto.pkrvars.hcl
command/test-fixtures/fmt/unformatted.pkrvars.hcl

```
2020-12-14 10:29:58 -05:00
..
build-name-and-type add build.name to hcl code (#10114) 2020-10-16 10:57:42 +02:00
build-only add an hcl2-json test 2020-09-18 16:38:04 +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
fmt command/fmt: Ensure all variable files ending in `.pkrvars.hcl` get formatted (#10377) 2020-12-14 10:29:58 -05:00
hcl HCL2: allow calling env as input var default value (#10240) 2020-11-11 11:27:32 +01:00
hcl-inspect-with-sensitive-vars add tests 2020-10-02 10:49:21 +02:00
hcl-only-except hcl work on only/except (#9454) 2020-06-23 10:53:16 +02:00
hcl2_upgrade_basic move plugin and rpc code into sdk; other minor tweaks (#10359) 2020-12-09 12:39:54 +01:00
inspect add tests for unknown values 2020-09-01 15:28:16 +02:00
parallel add tests for cancellation while building 2019-05-06 15:07:57 +02:00
provisioners add tests and update override example 2020-08-14 11:22:51 +02:00
timeout test provisionning timeout 2019-04-08 20:09:21 +02:00
validate HCL2: version block: test validation & document version/availability (#10298) 2020-11-23 10:27:26 -05:00
validate-invalid command/validate: Add support for HCL2 configuration files 2020-06-05 14:24:39 -04:00
var-arg test unknown variables and locals 2020-09-01 11:59:07 +02:00
version_req HCL2: add a packer block with a required_version input setting (#10149) 2020-10-27 10:03:36 +01:00