mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 20:00:23 +00:00
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:
parent
6df6cbd9e0
commit
def44cac90
20
.travis.yml
20
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user