From: Anil Belur Date: Fri, 15 Jun 2018 00:26:44 +0000 (+1000) Subject: Set minimal packer version to 1.2.3 X-Git-Tag: v0.21.0~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=22db11280929c69ead3f0911a550780420646de0;p=releng%2Fglobal-jjb.git Set minimal packer version to 1.2.3 Patch Ia195bd99d55f23b4f39acf590520637e54fc006a introduced `instance_name` which requires a minimum Packer version of 1.2.3 in order to be used. ref: https://github.com/hashicorp/packer/blob/v1.2.3/CHANGELOG.md Change-Id: I6219855f8de35519f1ea07cc04385acf91bf90f1 Signed-off-by: Anil Belur --- diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index a5f77223..a7fd30a6 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -79,7 +79,7 @@ stream: master submodule-recursive: true packer-cloud-settings: packer-cloud-env - packer-version: 1.2.2 + packer-version: 1.2.3 ##################### # Job Configuration # diff --git a/shell/packer-install.sh b/shell/packer-install.sh index d59ce2ac..86ddf82e 100644 --- a/shell/packer-install.sh +++ b/shell/packer-install.sh @@ -16,7 +16,7 @@ echo "---> packer-install.sh" set -eu -o pipefail # $PACKER_VERSION : Define a packer version passed as job paramter -PACKER_VERSION="${PACKER_VERSION:-1.2.2}" +PACKER_VERSION="${PACKER_VERSION:-1.2.3}" export PATH="${WORKSPACE}/bin:$PATH" packer_install() {