packer-cn/command/test-fixtures
Adrien Delorme 4bc16455b4
HCL2: add a packer block with a required_version input setting (#10149)
* add the possibility to set the packer.required_version field; to make sure the template file works with that version of Packer
* add tests
* add documentation on packer.required_version

Example:

packer {
  required_version = ">= 1.2.0, < 2.0.0"
}
2020-10-27 10:03:36 +01: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
hcl HCL2: when the type of a variable is not known evaluate setting as a litteral. (#9863) 2020-09-02 16:26:50 +02: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 Fix typos 2020-10-14 15:04:18 -04: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: add post-processors block to run multiple post-processor after a build (#9638) 2020-07-28 10:02:37 +02: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