X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fpacker-build.sh;h=1caca8e32f66aed37253ca6eab17acc924313a0f;hb=40baa00e9dfc838fd7f8b47b5906158a7c6f4d85;hp=34c4014aa2ae35efcd7267be5fe245a51b0fa26d;hpb=f7b9e699258b3dd2dcfca8d09629aee8bccbb6da;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" \