X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpacker-build.sh;h=1caca8e32f66aed37253ca6eab17acc924313a0f;hb=2a10c83b2d506008cc6c01c134515fb6328e1f3a;hp=34c4014aa2ae35efcd7267be5fe245a51b0fa26d;hpb=d38f363f0ebb7246b9481900a5f1fa2ef0bab3e8;p=releng%2Fglobal-jjb.git diff --git a/shell/packer-build.sh b/shell/packer-build.sh index 34c4014a..1caca8e3 100644 --- a/shell/packer-build.sh +++ b/shell/packer-build.sh @@ -32,6 +32,10 @@ fi 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" \