update travis.yml and deploy.sh

update travis.yaml and deploy.sh
to build v0.3.0 images from csi-v0.3
branch instead of master.

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-03-26 11:35:47 +05:30
parent ff7d649c9d
commit 205be90d74
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ addons:
language: go
branches:
only:
- csi-v0.3
- master
- csi-v1.0
- csi-v1.0 # remove this once csi-v1.0 becomes master
go: 1.11.x

View File

@ -24,7 +24,7 @@ push_helm_chats() {
fi
}
if [ "${TRAVIS_BRANCH}" == 'master' ]; then
if [ "${TRAVIS_BRANCH}" == 'csi-v0.3' ]; then
export RBD_IMAGE_VERSION='v0.3.0'
export CEPHFS_IMAGE_VERSION='v0.3.0'
elif [ "${TRAVIS_BRANCH}" == 'csi-v1.0' ]; then