Merge pull request #283 from Madhu-1/CI-for-v0.3

update travis.yml and deploy.sh
This commit is contained in:
Róbert Vašek 2019-04-02 08:37:39 +02:00 committed by GitHub
commit 7b4bdd8a2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

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

View File

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