Update deploy to build canary images for 1.0

and hence stop updating the same 1.0.0 image for every PR.

At some point we would need to decide how to release, 1.0.1.

Signed-off-by: ShyamsundarR <srangana@redhat.com>
This commit is contained in:
ShyamsundarR 2019-05-02 20:51:27 -04:00 committed by mergify[bot]
parent 0166bd356a
commit 2623bce761

View File

@ -25,11 +25,11 @@ push_helm_charts() {
}
if [ "${TRAVIS_BRANCH}" == 'csi-v0.3' ]; then
export RBD_IMAGE_VERSION='v0.3.0'
export CEPHFS_IMAGE_VERSION='v0.3.0'
export ENV_RBD_IMAGE_VERSION='v0.3.0'
export ENV_CEPHFS_IMAGE_VERSION='v0.3.0'
elif [ "${TRAVIS_BRANCH}" == 'csi-v1.0' ]; then
export RBD_IMAGE_VERSION='v1.0.0'
export CEPHFS_IMAGE_VERSION='v1.0.0'
export ENV_RBD_IMAGE_VERSION='v1.0-canary'
export ENV_CEPHFS_IMAGE_VERSION='v1.0-canary'
else
echo "!!! Branch ${TRAVIS_BRANCH} is not a deployable branch; exiting"
exit 0 # Exiting 0 so that this isn't marked as failing