From bdc3292daddf0817068864943395d423924d658c Mon Sep 17 00:00:00 2001 From: ShyamsundarR Date: Tue, 7 May 2019 07:25:36 -0400 Subject: [PATCH] Update deploy.sh to use the right ENV vars deploy.sh was using ENV vars to set the image versions incorrectly. This causes the images to be pushed using versions already in the Makefile, rather than the overrides in the deploy script. This is now fixed by updating the right ENV variables. Signed-off-by: ShyamsundarR --- deploy.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy.sh b/deploy.sh index 02b6f94c1..ccca27d0e 100755 --- a/deploy.sh +++ b/deploy.sh @@ -25,11 +25,11 @@ push_helm_charts() { } if [ "${TRAVIS_BRANCH}" == 'csi-v0.3' ]; then - export RBD_IMAGE_VERSION='v0.3-canary' - export CEPHFS_IMAGE_VERSION='v0.3-canary' + export ENV_RBD_IMAGE_VERSION='v0.3-canary' + export ENV_CEPHFS_IMAGE_VERSION='v0.3-canary' elif [ "${TRAVIS_BRANCH}" == 'master' ]; then - export RBD_IMAGE_VERSION='canary' - export CEPHFS_IMAGE_VERSION='canary' + export ENV_RBD_IMAGE_VERSION='canary' + export ENV_CEPHFS_IMAGE_VERSION='canary' else echo "!!! Branch ${TRAVIS_BRANCH} is not a deployable branch; exiting" exit 0 # Exiting 0 so that this isn't marked as failing