Packer validate does not support -color=false
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 1 Feb 2017 15:16:37 +0000 (07:16 -0800)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 1 Feb 2017 15:18:32 +0000 (07:18 -0800)
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>
jjb/ci-management/ci-management-macros.yaml
jjb/ci-management/ci-management.yaml

index c4eef5d..6481773 100644 (file)
@@ -18,7 +18,7 @@
               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
index f78323e..5bdd7a5 100644 (file)
           files: 'packer/**'
 
     builders:
-      - packer-validate:
-          platform: '{platforms}'
-          template: '{templates}'
+      - packer-validate
       - packer-build:
           platform: '{platforms}'
           template: '{templates}'