Enable image building pipelines and disable periodic builds
[infra/cicd.git] / jjb / metal3 / job_openstack_node_image_building.yml
index 6c3cc5c495eec43723fff2b91e8b53eda8249542..1da9ad30ff65fa3badb68fc027775ea9dc8c9b01 100644 (file)
@@ -24,6 +24,8 @@
 # This job can be triggered manually or through a Github pull request. It creates a
 # pipeline job. The pipeline scripts are maintained in Nordix/metal3-dev-tools repository.
 
+# NOTE: KUBERNETES_VERSION and KUBECTL_SHA256 are changed as a pair
+
 - job-template:
     id: openstack_node_image_building
     name: '{job_prefix}_openstack_node_image_building'
     parameters:
     - string:
         name: KUBERNETES_VERSION
-        default: "v1.23.3"
+        default: "v1.28.1"
         description: 'Kubernetes version'
+    - string:
+        name: KUBECTL_SHA256
+        default: 'e7a7d6f9d06fab38b4128785aa80f65c54f6675a0d2abef655259ddd852274e1'  # v1.28.1
+        description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION'
+    - string:
+        name: CRICTL_VERSION
+        default: "v1.28.0"
+        description: 'CRICTL VERSION'
+    - string:
+        name: CRIO_VERSION
+        default: "v1.28.0"
+        description: 'CRI-O VERSION'
 
     properties:
     - build-discarder:
         artifact-days-to-keep: -1
         artifact-num-to-keep: -1
 
-    triggers:
-      - timed: "0 5 */15 * *"
-      - github
-
     pipeline-scm:
       scm:
       - git:
           url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - 'master'
+            - 'main'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True