From: Tiago Melo Date: Tue, 28 Apr 2020 12:49:48 +0000 (+0000) Subject: ceph-dashboard-pull-requests: Add Cypress key credential X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1559%2Fhead;p=ceph-build.git 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 --- 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