mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
ci: add "make run-e2e"
The keeps the standard arguments for e2e testing in a single location instead of spread over multiple files and CI jobs. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
ff94ba282c
commit
74ba85f87b
@ -39,7 +39,7 @@ if [[ "${KUBE_MAJOR}" -ge 1 ]] && [[ "${KUBE_MINOR}" -ge 17 ]]; then
|
||||
fi
|
||||
|
||||
# functional tests
|
||||
go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e --deploy-timeout="${DEPLOY_TIMEOUT}" -timeout="${E2E_TIMEOUT}" --cephcsi-namespace=cephcsi-e2e-$RANDOM -v -mod=vendor "${@}"
|
||||
make run-e2e E2E_ARGS="${*}"
|
||||
|
||||
if [[ "${KUBE_MAJOR}" -ge 1 ]] && [[ "${KUBE_MINOR}" -ge 17 ]]; then
|
||||
# delete snapshot CRD
|
||||
|
@ -50,7 +50,7 @@ scripts/install-helm.sh up
|
||||
# install cephcsi helm charts
|
||||
scripts/install-helm.sh install-cephcsi ${NAMESPACE}
|
||||
# functional tests
|
||||
go test "${GO_TAGS}" github.com/ceph/ceph-csi/e2e -mod=vendor --deploy-timeout="${DEPLOY_TIMEOUT}" -timeout="${E2E_TIMEOUT}" --cephcsi-namespace=${NAMESPACE} --deploy-cephfs=false --deploy-rbd=false -v "${@}"
|
||||
make run-e2e NAMESPACE="${NAMESPACE}" E2E_ARGS="--deploy-cephfs=false --deploy-rbd=false ${*}"
|
||||
|
||||
#cleanup
|
||||
# skip snapshot operation if kube version is less than 1.17.0
|
||||
|
Reference in New Issue
Block a user