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
#
# ============LICENSE_START=======================================================
# Copyright (C) 2024 Nordix Foundation.
#
# ============LICENSE_START=======================================================
# Copyright (C) 2024 Nordix Foundation.
name: KUBERNETES_VERSION_UPGRADE_TO
default: '{k8s_version_upgrade_to}'
description: 'Kubernetes version upgrade to'
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:
properties:
- build-discarder:
url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True
#
# ============LICENSE_START=======================================================
# Copyright (C) 2024 Nordix Foundation.
#
# ============LICENSE_START=======================================================
# Copyright (C) 2024 Nordix Foundation.
name: KUBERNETES_VERSION_UPGRADE_TO
default: '{k8s_version_upgrade_to}'
description: 'Kubernetes version upgrade to'
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:
properties:
- build-discarder:
artifact-num-to-keep: -1
triggers:
artifact-num-to-keep: -1
triggers:
url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
url: "{ci_github_repo}"
credentials-id: "{ci_github_jenkins_credentials_id}"
branches:
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True
name: 'origin'
refspec: '+refs/heads/*:refs/remotes/origin/*'
wipe-workspace: True
# 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.
# 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'
- job-template:
id: node_image_building
name: '{job_prefix}_periodic_node_image_building'
name: KUBERNETES_VERSION
default: "v1.30.0"
description: 'Kubernetes version'
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"
- string:
name: CRICTL_VERSION
default: "v1.30.0"