Add KUBERNETES_VERSION in integration and image building jobs
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a4_integration_tests_centos.yml
index 9efb67e97b972cd90270c2a273a5fae42176ef9c..4fe1c682d65cd2213bb9bfe4d4a3c613481041bc 100644 (file)
@@ -27,7 +27,7 @@
 - job-template:
     id: capi_bm_v1a4_integration_tests_centos
     name: '{job_prefix}_{name}_v1a4_integration_test_centos'
-    description: "K8s CAPI baremetal v1alpha4 integration tests for {repo[org]}/{repo[name]} on CentOS. "
+    description: "K8s CAPI metal3 v1alpha4 integration tests for {repo[org]}/{repo[name]} on CentOS. "
     project-type: pipeline
     defaults: global
     disabled: False
@@ -64,7 +64,7 @@
     - string:
         name: CAPM3_VERSION
         default: 'v1alpha4'
-        description: 'Cluster API provider Metal3 version. Can be v1alpha4.'
+        description: 'Cluster API provider Metal3 version. Can be v1alpha4 or v1alpha5.'
     - string:
         name: TARGET_NODE_OS
         default: 'Centos'
         name: TARGET_NODE_MEMORY
         default: 4096
         description: 'RAM size of the target host.'
-
+    - string:
+        name: KUBERNETES_VERSION
+        default: "v1.21.2"
+        description: 'Kubernetes version'
+        
     properties:
     - build-discarder:
         days-to-keep: 30
@@ -90,7 +94,7 @@
         org-list: "{ci_github_whitelist_org}"
         cron: 'H/5 * * * *'
         auth-id: "{ci_ghprb_auth_id}"
-        trigger-phrase: '((.|\n)*\s)?/test-centos-integration(\s(.|\n)*)?'
+        trigger-phrase: '((.|\n)*\s)?/test-v1a4-centos-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'
-          - 'release-0.3'
-        status-context: "test-centos-integration"
+          - 'release-0.4'
+          - 'release-0.0'
+        status-context: "test-v1a4-centos-integration"
         success-status: "Passed"
         failure-status: "Failed"
         error-status: "Error"