consolidate container deploy

Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
Huamin Chen 2018-07-19 14:01:05 -04:00
parent 9294d6f259
commit 9d9afc1093
3 changed files with 2 additions and 9 deletions

View File

@ -21,5 +21,4 @@ script:
deploy: deploy:
- provider: script - provider: script
script: script:
- ./deploy-rbd.sh - ./deploy.sh
- ./deploy-cephfs.sh

View File

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

View File

@ -2,5 +2,5 @@
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${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-cephfs-container make push-rbdplugin-container push-cephfsplugin-container
fi fi