No point validating every combination of template/platform in a
merge job that is only interested in building a single combo.
Change-Id: I0ad760b3247ac18aba79a9bca25d887e09b987fa
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
#####################
builders:
- - lf-infra-packer-validate:
- packer-cloud-settings: '{packer-cloud-settings}'
- packer-version: '{packer-version}'
- lf-infra-packer-build:
packer-cloud-settings: '{packer-cloud-settings}'
packer-version: '{packer-version}'
export PACKER_LOG="yes"
export PACKER_LOG_PATH="$PACKER_BUILD_LOG"
+packer.io validate \
+ -var-file="$CLOUDENV" \
+ -var-file="$platform_file" \
+ "templates/$PACKER_TEMPLATE.json"
packer.io build -color=false \
-var-file="$CLOUDENV" \
-var-file="$platform_file" \