Set the performance job to run every two hours
[infra/cicd.git] / jjb / metal3 / job_capm3_e2e_integration_tests.yml
index ea70edef82e47b442a2a100cd19d507d48bf0ef7..995dbb49b7435a35dc46bd1a306aa4c65bbbd706 100644 (file)
@@ -26,8 +26,8 @@
 
 - job-template:
     id: capm3_e2e_integration_tests
-    name: '{job_prefix}_{proj}_e2e_integration_test_{image_os}'
-    description: "CAPM3 e2e integration tests for {org}/{repo} on {image_os}."
+    name: '{job_prefix}_{proj}_{capm3_target_branch}_e2e_integration_test_{image_os}'
+    description: "CAPM3 {capm3_version} e2e integration tests for {org}/{repo} on {image_os}."
     project-type: pipeline
     defaults: global
     disabled: False
         description: 'Distribution to use for the target host as well as source and target cluster. Can be ubuntu or centos'
     - string:
         name: capm3_release_branch
-        default: 'main'
+        default: '{capm3_release_branch}'
         description: 'The target branch of CAPM3 to be used for this test'
+    - string:
+        name: bmo_release_branch
+        default: '{bmo_release_branch}'
+        description: 'The target branch of BMO to be used for this test'
     - string:
         name: CAPI_VERSION
-        default: 'v1beta1'
+        default: '{capi_version}'
         description: 'Cluster API version. E.g. v1beta1.'
     - string:
         name: CAPM3_VERSION
-        default: 'v1beta1'
+        default: '{capm3_version}'
         description: 'Cluster API provider Metal3 version. E.g. v1beta1.'
     - string:
         name: TARGET_NODE_MEMORY
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-{image_os}-integration-e2e-main(\s(.|\n)*)?'
+        trigger-phrase: '.*?/test-{image_os}-e2e-integration-{capm3_target_branch}.*?'
         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'
-        status-context: "test-{image_os}-integration-e2e-main"
+        white-list-target-branches: "{target_branches}"
+        status-context: "test-{image_os}-e2e-integration-{capm3_target_branch}"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"