ci: Add jobs for upgrade testing

Added two jobs for upgrade testing of
cephfs and rbd, with default as upgrade
version as v2.1.2

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-07-25 22:07:40 +05:30 committed by mergify[bot]
parent 6df6cbd9e0
commit def44cac90
2 changed files with 21 additions and 0 deletions

View File

@ -29,6 +29,8 @@ before_install:
- gimme ${GOLANG_VERSION}
- source ~/.gimme/envs/go${GOLANG_VERSION}.env
- mkdir -p $GOPATH/bin
# csi release to use for upgrade testing
- export UPGRADE_VERSION=$(source build.env ; echo ${UPGRADE_VERSION})
before_script:
- export CV=$(source build.env ; echo ${CEPH_VERSION})
@ -143,6 +145,24 @@ jobs:
- scripts/travis-helmtest.sh v1.18.5 --test-cephfs=false
--test-rbd=true || travis_terminate 1;
- stage: upgrade testing
name: CephFS upgrade tesing with CSI v2.1.2
script:
- scripts/skip-doc-change.sh || travis_terminate 0;
- make image-cephcsi || travis_terminate 1;
- scripts/travis-functest.sh v1.18.5 --test-cephfs=true
--test-rbd=false --upgrade-testing=true
--upgrade-version="${UPGRADE_VERSION}" || travis_terminate 1;
- stage: upgrade testing
name: RBD upgrade tesing with CSI v2.1.2
script:
- scripts/skip-doc-change.sh || travis_terminate 0;
- make image-cephcsi || travis_terminate 1;
- scripts/travis-functest.sh v1.18.5 --test-cephfs=false
--test-rbd=true --upgrade-testing=true
--upgrade-version="${UPGRADE_VERSION}" || travis_terminate 1;
- stage: deploy
name: push artifacts to repositories
script: ./deploy.sh

View File

@ -40,3 +40,4 @@ CHANGE_MINIKUBE_NONE_USER=true
#CEPH_CSI_RUN_ALL_TESTS=true
E2E_TIMEOUT=60m
DEPLOY_TIMEOUT=10
UPGRADE_VERSION=v2.1.2