Additionally: cleanup packer-merge steps for the validate as it
no-longer does a specific validation against one template but all
Change-Id: Ie906dbcb110c6c19c731a5e3d66ec596c0273676
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
for t in $templates; do
export PACKER_LOG="yes" && \
export PACKER_LOG_PATH="packer-validate-${{v##*/}}-${{t##*/}}.log" && \
- packer.io validate -var-file=$CLOUDENV -color=false \
+ packer.io validate -var-file=$CLOUDENV \
-var-file=$v $t
if [ $? -ne 0 ]; then
break
files: 'packer/**'
builders:
- - packer-validate:
- platform: '{platforms}'
- template: '{templates}'
+ - packer-validate
- packer-build:
platform: '{platforms}'
template: '{templates}'