From bae89b16fe862e1aa492e03420c92c867293b1c7 Mon Sep 17 00:00:00 2001 From: Stephen Benjamin Date: Tue, 1 Dec 2020 21:46:47 -0500 Subject: [PATCH] baremetalds: update url for oc util For whatever reason, after this URL has been working for ages, https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.4/linux/oc.tar.gz just no longer exists. A lot of jobs in this repo rely on it. For baremetal, we rely on it to bootstrap extracting the client from the release payload. This PR updates the URL to grab the latest stable release from mirror.openshift.com. I don't know if it's temporary or not, but it happened sometime near the end of business today. It's blocking a ton of work. --- .../devscripts/setup/baremetalds-devscripts-setup-commands.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/step-registry/baremetalds/devscripts/setup/baremetalds-devscripts-setup-commands.sh b/ci-operator/step-registry/baremetalds/devscripts/setup/baremetalds-devscripts-setup-commands.sh index 2d61c056564e5..1c49369f1eb0a 100644 --- a/ci-operator/step-registry/baremetalds/devscripts/setup/baremetalds-devscripts-setup-commands.sh +++ b/ci-operator/step-registry/baremetalds/devscripts/setup/baremetalds-devscripts-setup-commands.sh @@ -89,7 +89,7 @@ cd dev-scripts cp /root/pull-secret /root/dev-scripts/pull_secret.json -curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.4/linux/oc.tar.gz | tar -C /usr/bin -xzf - +curl https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable/openshift-client-linux.tar.gz | tar -C /usr/bin -xzf - echo "export OPENSHIFT_RELEASE_IMAGE=${OPENSHIFT_INSTALL_RELEASE_IMAGE}" >> /root/dev-scripts/config_root.sh echo "export ADDN_DNS=\$(awk '/nameserver/ { print \$2;exit; }' /etc/resolv.conf)" >> /root/dev-scripts/config_root.sh