Add KUBERNETES_VERSION in integration and image building jobs
[infra/cicd.git] / jjb / airship / job_capi_bm_v1a4_master_integration_tests_centos.yml
index 56f713c3565d96932423527c02c833a0b70d23b9..0ba9bb44d5dd141a3baa11fb678cd50152783ec7 100644 (file)
@@ -27,7 +27,7 @@
 - job-template:
     id: capi_bm_v1a4_master_integration_tests_centos
     name: '{job_prefix}_master_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
         description: 'Distribution to use for the tests.'
     - string:
         name: CAPI_VERSION
+        default: 'v1alpha3'
+        description: 'Cluster API version. Can be v1alpha3.'
+    - string:
+        name: CAPM3_VERSION
         default: 'v1alpha4'
-        description: 'Cluster API version. Can be v1alpha1, v1alpha2, v1alpha3 or v1alpha4.'
+        description: 'Cluster API provider Metal3 version. Can be v1alpha4 or v1alpha5.'
     - string:
         name: TARGET_NODE_OS
         default: 'Centos'
         description: 'Distribution to use for the target host.'
     - string:
         name: TARGET_NODE_MEMORY
-        default: 8192
+        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
@@ -78,7 +86,7 @@
         artifact-num-to-keep: -1
 
     triggers:
-      - timed: "@midnight"
+      - timed: "H 4 * * *"
 
     pipeline-scm:
       scm: