remove KUBECTL_SHA256 passthru 72/21672/1 master
authorTuomo Tanskanen <tuomo.tanskanen@est.tech>
Mon, 1 Jul 2024 12:51:16 +0000 (15:51 +0300)
committerTuomo Tanskanen <tuomo.tanskanen@est.tech>
Mon, 1 Jul 2024 12:51:16 +0000 (15:51 +0300)
We verify the checksum via downloaded sha now, we don't need to pass
it all the way from JJB anymore.

Signed-off-by: Tuomo Tanskanen <tuomo.tanskanen@est.tech>
Change-Id: I036032982ea1d7bc222016e06f118f1ba04eda27

jjb/metal3/job_capm3_e2e_k8s_upgrade_tests_prow.yml
jjb/metal3/job_capm3_periodic_e2e_k8s_upgrade_tests_prow.yml
jjb/metal3/job_node_image_building.yml

index e901daab882a97bbc63c8af6713e75a908b6343e..8e1d67a003be0160f3e1de6a5371e52ae4dea574 100644 (file)
@@ -1,4 +1,3 @@
----
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2024 Nordix Foundation.
         name: KUBERNETES_VERSION_UPGRADE_TO
         default: '{k8s_version_upgrade_to}'
         description: 'Kubernetes version upgrade to'
-    - string:
-        name: KUBECTL_SHA256
-        default: '{kubectl_sha256}'
-        description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION_UPGRADE_FROM'
 
     properties:
     - build-discarder:
           url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - '{branch|main}'
+          - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True
index d49d5acf5e72658e9266ddb417212a9381a2ee51..206e7909fc1c6fe999070264a3f41d29fc88a102 100644 (file)
@@ -1,4 +1,3 @@
----
 #
 # ============LICENSE_START=======================================================
 #  Copyright (C) 2024 Nordix Foundation.
         name: KUBERNETES_VERSION_UPGRADE_TO
         default: '{k8s_version_upgrade_to}'
         description: 'Kubernetes version upgrade to'
-    - string:
-        name: KUBECTL_SHA256
-        default: '{kubectl_sha256}'
-        description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION_UPGRADE_FROM'
 
     properties:
     - build-discarder:
         artifact-num-to-keep: -1
 
     triggers:
-      - timed: "{schedule}"
+    - timed: "{schedule}"
 
     pipeline-scm:
       scm:
           url: "{ci_github_repo}"
           credentials-id: "{ci_github_jenkins_credentials_id}"
           branches:
-            - '{branch|main}'
+          - '{branch|main}'
           name: 'origin'
           refspec: '+refs/heads/*:refs/remotes/origin/*'
           wipe-workspace: True
index 45388232483e056e4ff567c62df26263171ab351..35eba07773c2eec1cd1c0b61b8fedf2ba3733654 100644 (file)
@@ -23,8 +23,6 @@
 # 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: node_image_building
     name: '{job_prefix}_periodic_node_image_building'
         name: KUBERNETES_VERSION
         default: "v1.30.0"
         description: 'Kubernetes version'
-    - string:
-        name: KUBECTL_SHA256
-        default: '7c3807c0f5c1b30110a2ff1e55da1d112a6d0096201f1beb81b269f582b5d1c5' # v1.30.0
-        description: 'Kubectl SHA256 digest matching KUBERNETES_VERSION'
     - string:
         name: CRICTL_VERSION
         default: "v1.30.0"