diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4eca9853267170e8d51c6b36a2f06dd9e6b70777..3b6f4465b6e2b52fe090e50adddb78d0a698577b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -138,3 +138,21 @@ archiveretrieve: tags: - kubernetes - mhvtl + + +nightlytests: + stage: test + only: + - schedules + script: + echo "Running nightly tests" + - export NAMESPACE="archiveretrieve-${CTA_BUILD_ID}-$(cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 4 | head -n 1)" + - cd continuousintegration/orchestration/; ./run_systemtest.sh -n ${NAMESPACE} -p ${CI_PIPELINE_ID} -s tests/archive_retrieve.sh -O -D + artifacts: + when: always + expire_in: 30 days + paths: + - pod_logs + tags: + - kubernetes + - mhvtl