Skip to content

Commit

Permalink
update travis.yml and deploy.sh
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Madhu-1 authored and ShyamsundarR committed Apr 25, 2019
1 parent 06f9e0c commit a6bb48e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6bb48e

Please sign in to comment.