From ca144397fb381d70f82380af4d570b0c6308a544 Mon Sep 17 00:00:00 2001 From: Lennart Jern Date: Fri, 19 Jan 2024 13:47:57 +0200 Subject: [PATCH] Metal3: Remove ghprb triggers from BMO e2e This finally removes the ghprb triggers now that we can trigger them through prow instead. Signed-off-by: Lennart Jern Change-Id: I19875fea8c5745bd28626654bc6ff8ba8fca0149 --- .../baremetal-operator/jjb-bmo-e2e.yaml | 49 ++----------------- 1 file changed, 4 insertions(+), 45 deletions(-) diff --git a/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml b/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml index 154f2b1a..1c72c847 100644 --- a/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml +++ b/jjb/metal3/baremetal-operator/jjb-bmo-e2e.yaml @@ -1,31 +1,11 @@ - project: name: bmo - # Default "type" of job is "pull", as in pull request with the default set (all tests required in BMO PRs) the default trigger is then also for PR comments, - # and the default GINKGO_FOCUS is empty + # Default "type" of job is "pull", as in pull request, + # and the default GINKGO_FOCUS is empty (all tests required in BMO PRs) type: pull GINKGO_FOCUS: " " - triggers: - # Trigger the job based on comments on a GH pull request. - - github-pull-request: - admin-list: - - "{ci_github_admin_user}" - org-list: "{ci_github_whitelist_org}" - auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '((.|\n)*\s)?/{job_prefix}-{name}-e2e-test(\s(.|\n)*)?' - skip-build-phrase: '/skip-test' - only-trigger-phrase: True - github-hooks: True - permit-all: False - auto-close-on-fail: False - allow-whitelist-orgs-as-admins: True - white-list-target-branches: - - 'main' - - 'release-0.5' - status-context: "{job_prefix}-{name}-e2e-test" - success-status: "Passed" - failure-status: "Failed" - error-status: "Error" - cancel-builds-on-update: True + # These jobs are triggered by prow for PRs (empty trigger here) or by timer (see below) + triggers: [] jobs: - "{job_prefix}-{name}-e2e-test-{type}" @@ -33,27 +13,6 @@ - "{job_prefix}-{name}-e2e-test-{type}": type: optional-pull GINKGO_FOCUS: "upgrade" - triggers: - - github-pull-request: - admin-list: - - "{ci_github_admin_user}" - org-list: "{ci_github_whitelist_org}" - auth-id: "{ci_ghprb_auth_id}" - trigger-phrase: '((.|\n)*\s)?/{job_prefix}-{name}-e2e-optional-test(\s(.|\n)*)?' - skip-build-phrase: '/skip-test' - only-trigger-phrase: True - github-hooks: True - permit-all: False - auto-close-on-fail: False - allow-whitelist-orgs-as-admins: True - white-list-target-branches: - - 'main' - - 'release-0.5' - status-context: "{job_prefix}-{name}-e2e-optional-test" - success-status: "Passed" - failure-status: "Failed" - error-status: "Error" - cancel-builds-on-update: True - "{job_prefix}-{name}-e2e-test-{type}": type: periodic triggers: -- 2.25.1