]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
project config: ceph-dashboard-cephadm-e2e-nightly 1936/head
authorNizamudeen A <nia@redhat.com>
Fri, 26 Nov 2021 07:38:50 +0000 (13:08 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 14 Dec 2021 08:55:12 +0000 (14:25 +0530)
Project: run the ceph dashboard cephadm e2e tests against master,
pacific and octopus
Signed-off-by: Nizamudeen A <nia@redhat.com>
ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml [new file with mode: 0644]

diff --git a/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml b/ceph-dashboard-cephadm-e2e-nightly/config/definitions/ceph-dashboard-cephadm-e2e-nightly.yml
new file mode 100644 (file)
index 0000000..b7dd885
--- /dev/null
@@ -0,0 +1,72 @@
+- project:
+    name: ceph-dashboard-cephadm-e2e-nightly
+    ceph_branch:
+      - master
+      - pacific
+      - octopus
+    jobs:
+      - '{name}-{ceph_branch}'
+
+- job-template:
+    name: '{name}-{ceph_branch}'
+    display-name: '{name}-{ceph_branch}'
+    project-type: freestyle
+    defaults: global
+    concurrent: true
+    node: huge && focal && x86_64
+    quiet-period: 5
+    block-downstream: false
+    block-upstream: false
+    retry-count: 3
+    properties:
+      - build-discarder:
+          days-to-keep: 15
+          num-to-keep: 300
+          artifact-days-to-keep: -1
+          artifact-num-to-keep: -1
+      - github:
+          url: https://github.com/ceph/ceph/
+      - rebuild:
+          auto-rebuild: true
+      - inject:
+          properties-content: |
+            TERM=xterm
+
+    triggers:
+      - timed: '@midnight'
+
+    scm:
+      - git:
+          url: https://github.com/ceph/ceph.git
+          branches:
+            - '{ceph_branch}'
+          browser: auto
+          basedir: "ceph"
+          timeout: 20
+          skip-tag: true
+          shallow-clone: true
+          wipe-workspace: true
+
+    builders:
+      - shell:
+          !include-raw-escape:
+            - ../../../scripts/dashboard/install-e2e-test-deps.sh
+            - ../../../scripts/dashboard/install-cephadm-e2e-deps.sh
+      - shell: |
+          cd ceph
+          export CYPRESS_ARGS="--record --key $CYPRESS_RECORD_KEY --tag $JOB_NAME" COMMIT_INFO_MESSAGE="$JOB_NAME"
+          timeout 7200 ./src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-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
+      - ansicolor
+
+    publishers:
+      - email:
+          recipients: ceph-qa@ceph.io