From b190ee5443cba450e5519768805ef1561f0e7e76 Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Thu, 19 Mar 2026 09:03:11 +0100 Subject: [PATCH] fix: pin osc to 1.23.0 in k8s-cloud-builder osc 1.25.0 changed the config file lookup order to prefer XDG paths over ~/.oscrc, causing OBS stage/release Cloud Build jobs to fail with HTTP 401 on osc whois. Pin to 1.23.0 which is the last known working version and track it in dependencies.yaml. Signed-off-by: Sascha Grunert --- dependencies.yaml | 6 ++++++ images/k8s-cloud-builder/Dockerfile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dependencies.yaml b/dependencies.yaml index 54a84fe6c3a..56880bbee5e 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -274,6 +274,12 @@ dependencies: - path: images/build/cross/variants.yaml match: REVISION:\ '\d+' + # osc (k8s-cloud-builder) + - name: "osc" + version: 1.23.0 + refPaths: + - path: images/k8s-cloud-builder/Dockerfile + match: "osc==((([0-9]+)\\.([0-9]+)\\.([0-9]+)))" # kube-cross dependents (i.e. k8s-cloud-builder) # To be updated after kubernetes/kubernetes update) - name: "registry.k8s.io/build-image/kube-cross: dependents k8s-cloud-builder (v1.36-cross1.26)" diff --git a/images/k8s-cloud-builder/Dockerfile b/images/k8s-cloud-builder/Dockerfile index d50c87dbc96..086dfd8305a 100644 --- a/images/k8s-cloud-builder/Dockerfile +++ b/images/k8s-cloud-builder/Dockerfile @@ -64,7 +64,7 @@ RUN apt-get -qqy purge ".*python2.*" \ RUN pip3 install --no-cache-dir \ # for gcloud https://cloud.google.com/storage/docs/gsutil/addlhelp/CRC32CandInstallingcrcmod crcmod \ - osc \ + osc==1.23.0 \ yq # common::set_cloud_binaries() looks for it in this path