Add periodic bmo tests for release-0.6
Signed-off-by: Huy Mai <huy.mai@est.tech>
Change-Id: I344342564c2194b2466e51d59a61409ba9c034f4
diff --git a/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml b/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml
index 02b203c..96a6b7e 100644
--- a/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml
+++ b/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml
@@ -4,6 +4,8 @@
# and the default GINKGO_FOCUS is empty (all tests required in BMO PRs)
type: pull
GINKGO_FOCUS: " "
+ # Default BMO branch to trigger the test in is "main"
+ BRANCH_NAME: "main"
# These jobs are triggered by prow for PRs (empty trigger here) or by timer (see below)
triggers: []
@@ -25,6 +27,21 @@
# Run at 03:45 (UTC) every day
- timed: "45 3 * * *"
+ # Pediodic jobs for release-0.6 branch
+ - "{job_prefix}-{name}-e2e-test-{type}":
+ type: periodic-release-0.6
+ BRANCH_NAME: "release-0.6"
+ triggers:
+ # Run at 01:45 (UTC) every day
+ - timed: "45 1 * * *"
+ - "{job_prefix}-{name}-e2e-test-{type}":
+ type: optional-periodic-release-0.6
+ BRANCH_NAME: "release-0.6"
+ GINKGO_FOCUS: "upgrade"
+ triggers:
+ # Run at 01:45 (UTC) every day
+ - timed: "45 1 * * *"
+
- job-template:
name: "{job_prefix}-{name}-e2e-test-{type}"
project-type: pipeline
@@ -48,7 +65,7 @@
description: 'Project github repo name'
- string:
name: PULL_BASE_REF
- default: 'main'
+ default: '{BRANCH_NAME}'
description: 'Ref name of the base branch'
- string:
name: PULL_PULL_SHA