From 3fa07603de91c1e9d75f56d524c109e405ddb4e0 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 21 Jul 2020 11:15:45 +0000 Subject: [PATCH] ceph-api-nightly: Enable recording of E2E runs Signed-off-by: Tiago Melo --- .../config/definitions/ceph-api-nightly.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/ceph-api-nightly/config/definitions/ceph-api-nightly.yml b/ceph-api-nightly/config/definitions/ceph-api-nightly.yml index 3260e2fa..bfc559a2 100644 --- a/ceph-api-nightly/config/definitions/ceph-api-nightly.yml +++ b/ceph-api-nightly/config/definitions/ceph-api-nightly.yml @@ -57,7 +57,19 @@ - shell: !include-raw: - ../../../scripts/dashboard/{test_deps_script} - - shell: "cd src/pybind/mgr/dashboard; timeout 2h ./{test_suite_script}" + - shell: | + export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $JOB_NAME" COMMIT_INFO_MESSAGE="$JOB_NAME" + cd src/pybind/mgr/dashboard; timeout 2h ./{test_suite_script} + + wrappers: + - inject-passwords: + global: true + mask-password-params: true + - credentials-binding: + - text: + credential-id: cd-cypress-record-key + variable: CYPRESS_RECORD_KEY + - ansicolor publishers: - email: -- 2.39.5