Skip to content

Commit e005ee0

Browse files
committed
use one image before that latest one
Signed-off-by: cpanato <[email protected]>
1 parent 5d01a48 commit e005ee0

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

scripts/ci-conformance.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ GCP_B64ENCODED_CREDENTIALS=$(base64 -w0 "$GOOGLE_APPLICATION_CREDENTIALS")
4646
export GCP_B64ENCODED_CREDENTIALS
4747
export KUBERNETES_MAJOR_VERSION="1"
4848
export KUBERNETES_MINOR_VERSION="25"
49-
export KUBERNETES_PATCH_VERSION="10"
49+
export KUBERNETES_PATCH_VERSION="7"
5050
export KUBERNETES_VERSION="v${KUBERNETES_MAJOR_VERSION}.${KUBERNETES_MINOR_VERSION}.${KUBERNETES_PATCH_VERSION}"
5151
# using prebuilt image from image-builder project the image is built everyday and the job is available here https://prow.k8s.io/?job=periodic-image-builder-gcp-all-nightly
5252
export IMAGE_ID="projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-${KUBERNETES_VERSION//[.+]/-}-nightly"
5353

5454
init_image() {
5555
if [[ "${REUSE_OLD_IMAGES:-false}" == "true" ]]; then
5656
image=$(gcloud compute images list --project "$GCP_PROJECT" \
57-
--no-standard-images --filter="family:capi-ubuntu-1804-k8s-v${KUBERNETES_MAJOR_VERSION}-${KUBERNETES_MINOR_VERSION}" --format="table[no-heading](name)")
57+
--no-standard-images --filter="family:capi-ubuntu-2004-k8s-v${KUBERNETES_MAJOR_VERSION}-${KUBERNETES_MINOR_VERSION}" --format="table[no-heading](name)")
5858
if [[ -n "$image" ]]; then
5959
return
6060
fi

scripts/ci-e2e.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ GCP_B64ENCODED_CREDENTIALS=$(base64 "$GOOGLE_APPLICATION_CREDENTIALS" | tr -d '\
4949
export GCP_B64ENCODED_CREDENTIALS
5050
export KUBERNETES_MAJOR_VERSION="1"
5151
export KUBERNETES_MINOR_VERSION="25"
52-
export KUBERNETES_PATCH_VERSION="10"
52+
export KUBERNETES_PATCH_VERSION="7"
5353
export KUBERNETES_VERSION="v${KUBERNETES_MAJOR_VERSION}.${KUBERNETES_MINOR_VERSION}.${KUBERNETES_PATCH_VERSION}"
5454
# using prebuilt image from image-builder project the image is built everyday and the job is available here https://prow.k8s.io/?job=periodic-image-builder-gcp-all-nightly
5555
export IMAGE_ID="projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-${KUBERNETES_VERSION//[.+]/-}-nightly"
5656

5757
init_image() {
5858
if [[ "${REUSE_OLD_IMAGES:-false}" == "true" ]]; then
5959
image=$(gcloud compute images list --project "$GCP_PROJECT" \
60-
--no-standard-images --filter="family:capi-ubuntu-1804-k8s-v${KUBERNETES_MAJOR_VERSION}-${KUBERNETES_MINOR_VERSION}" --format="table[no-heading](name)")
60+
--no-standard-images --filter="family:capi-ubuntu-2004-k8s-v${KUBERNETES_MAJOR_VERSION}-${KUBERNETES_MINOR_VERSION}" --format="table[no-heading](name)")
6161
if [[ -n "$image" ]]; then
6262
return
6363
fi

test/e2e/config/gcp-ci.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ providers:
7373
- sourcePath: "${PWD}/test/e2e/data/infrastructure-gcp/cluster-template-ci-gke-autopilot.yaml"
7474

7575
variables:
76-
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.25.10}"
76+
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.25.7}"
7777
ETCD_VERSION_UPGRADE_TO: "3.5.1-0"
7878
COREDNS_VERSION_UPGRADE_TO: "v1.8.6"
79-
KUBERNETES_IMAGE_UPGRADE_FROM: "projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-v1-24-14-nightly"
80-
KUBERNETES_IMAGE_UPGRADE_TO: "projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-v1-25-10-nightly"
79+
KUBERNETES_IMAGE_UPGRADE_FROM: "projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-v1-24-11-nightly"
80+
KUBERNETES_IMAGE_UPGRADE_TO: "projects/k8s-staging-cluster-api-gcp/global/images/cluster-api-ubuntu-2004-v1-25-7-nightly"
8181
CONTROL_PLANE_MACHINE_TEMPLATE_UPGRADE_TO: "cp-k8s-upgrade-and-conformance"
8282
WORKERS_MACHINE_TEMPLATE_UPGRADE_TO: "worker-k8s-upgrade-and-conformance"
83-
KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-v1.25.10}"
84-
KUBERNETES_VERSION_UPGRADE_FROM: "${KUBERNETES_VERSION_UPGRADE_FROM:-v1.24.14}"
83+
KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-v1.25.7}"
84+
KUBERNETES_VERSION_UPGRADE_FROM: "${KUBERNETES_VERSION_UPGRADE_FROM:-v1.24.11}"
8585
EXP_CLUSTER_RESOURCE_SET: "true"
8686
CLUSTER_TOPOLOGY: "true"
8787
# Cluster Addons

0 commit comments

Comments
 (0)