ci: use 'make run-e2e'

Instead of calling the functional tests script,
use 'make run-e2e' to run the tests.

Signed-off-by: Yug <yuggupta27@gmail.com>
This commit is contained in:
Yug 2020-09-22 20:03:50 +05:30 committed by mergify[bot]
parent e2e7ffa2d4
commit 69b2d1b478

View File

@ -106,7 +106,7 @@ node('cico-workspace') {
if ("${test_type}" == "cephfs"){ if ("${test_type}" == "cephfs"){
upgrade_args = "--test-cephfs=true --test-rbd=false --upgrade-testing=true" upgrade_args = "--test-cephfs=true --test-rbd=false --upgrade-testing=true"
} }
ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && source build.env && scripts/travis-functest.sh ${k8s_release} --upgrade-version=\${UPGRADE_VERSION} ${upgrade_args}" ssh "cd /opt/build/go/src/github.com/ceph/ceph-csi && make run-e2e E2E_ARGS=\"--upgrade-version=${csi_upgrade_version} ${upgrade_args}\""
} }
} }
} }