]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-api-nightly: Enable recording of E2E runs 1627/head
authorTiago Melo <tmelo@suse.com>
Tue, 21 Jul 2020 11:15:45 +0000 (11:15 +0000)
committerTiago Melo <tmelo@suse.com>
Tue, 21 Jul 2020 11:15:45 +0000 (11:15 +0000)
Signed-off-by: Tiago Melo <tmelo@suse.com>
ceph-api-nightly/config/definitions/ceph-api-nightly.yml

index 3260e2fac9c390e9d70aa93823c6702c7b9a3bcb..bfc559a25927e7ce9c0ee68c81e9918b42f2bec5 100644 (file)
       - 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: