Add main branch reference for project infra
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a5_integration_tests_ubuntu.yml
index 8cc6b960c6c7dcc83502e7bb906c19fb19b1d86f..035111b918a8bc288197f3af9b56a8e3711bd141 100644 (file)
     - string:
         name: CAPI_VERSION
         default: 'v1alpha4'
-        description: 'Cluster API version. Can be v1alpha4.'
+        description: 'Cluster API version.'
     - string:
         name: CAPM3_VERSION
         default: 'v1alpha5'
-        description: 'Cluster API provider Metal3 version. Can be v1alpha5 or v1alpha4.'
+        description: 'Cluster API provider Metal3 version.'
     - string:
         name: TARGET_NODE_OS
         default: 'Ubuntu'
         name: TARGET_NODE_MEMORY
         default: 4096
         description: 'RAM size of the target host.'
-    - string:
-        name: KUBERNETES_VERSION
-        default: "v1.22.0"
-        description: 'Kubernetes version'
-        
+
     properties:
     - build-discarder:
         days-to-keep: 30
@@ -94,7 +90,7 @@
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-integration(\s(.|\n)*)?'
+        trigger-phrase: '((.|\n)*\s)?/test-v1a5-integration(\s(.|\n)*)?'
         skip-build-phrase: '/skip-test'
         only-trigger-phrase: True
         github-hooks: True
         allow-whitelist-orgs-as-admins: True
         white-list-target-branches:
           - 'master'
-        status-context: "test-integration"
+          - 'main'
+          - 'release-0.5'
+          - 'release-0.1'
+        status-context: "test-v1a5-integration"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"
           url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - '{branch|master}'
+            - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True