update travis.yml and deploy.sh

updated travis and deploy to have new branch
name

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2019-03-21 11:26:49 +05:30 committed by mergify[bot]
parent 76a647d20e
commit 96bb1cc625
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ sudo: true
language: go language: go
branches: branches:
only: only:
- master - csi-v0.3
go: 1.9.x go: 1.9.x

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then if [ "${TRAVIS_BRANCH}" == "csi-v0.3" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
docker login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io docker login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io
make push-image-rbdplugin push-image-cephfsplugin make push-image-rbdplugin push-image-cephfsplugin
fi fi