From c2a61cb8d8e13ca346b4cabc591b48f9d6081248 Mon Sep 17 00:00:00 2001 From: Huy Mai Date: Tue, 23 Apr 2024 10:17:28 +0300 Subject: [PATCH] Add periodic bmo tests for release-0.6 Signed-off-by: Huy Mai Change-Id: I344342564c2194b2466e51d59a61409ba9c034f4 --- .../baremetal-operator/jjb-bmo-e2e.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml b/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml index 02b203cf..96a6b7ee 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 -- 2.25.1