From b1df3eb86fc5a434392f2d9d7ea05ed144b92329 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Tue, 28 Apr 2020 12:49:48 +0000 Subject: [PATCH] ceph-dashboard-pull-requests: Add Cypress key credential We need to have access to this key, to be able to record our e2e runs. Signed-off-by: Tiago Melo --- .../definitions/ceph-dashboard-pull-requests.yml | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml index eddebe9fe..28cae3da4 100644 --- a/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml +++ b/ceph-dashboard-pull-requests/config/definitions/ceph-dashboard-pull-requests.yml @@ -30,7 +30,7 @@ allow-whitelist-orgs-as-admins: true org-list: - ceph - white-list-labels: + white-list-labels: - dashboard black-list-target-branches: - luminous @@ -62,4 +62,15 @@ - shell: !include-raw: - ../../../scripts/dashboard/install-e2e-test-deps.sh - - shell: "cd src/pybind/mgr/dashboard; timeout 7200 ./run-frontend-e2e-tests.sh" + - shell: | + export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $ghprbTargetBranch" COMMIT_INFO_MESSAGE="$ghprbPullTitle" + cd src/pybind/mgr/dashboard; timeout 7200 ./run-frontend-e2e-tests.sh + + wrappers: + - inject-passwords: + global: true + mask-password-params: true + - credentials-binding: + - text: + credential-id: cd-cypress-record-key + variable: CYPRESS_RECORD_KEY -- 2.47.3