From a0408596ad4ad5929a8128ff5989dfd852a4e5a0 Mon Sep 17 00:00:00 2001 From: Andrew Collins Date: Thu, 9 May 2024 15:51:41 -0500 Subject: [PATCH] Fixes client artifact path to explicitly download rhel8 --- dags/openshift_nightlies/util/manifest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dags/openshift_nightlies/util/manifest.py b/dags/openshift_nightlies/util/manifest.py index eea92ff3..5f5364ad 100644 --- a/dags/openshift_nightlies/util/manifest.py +++ b/dags/openshift_nightlies/util/manifest.py @@ -28,14 +28,14 @@ def get_latest_releases(self): latest_accepted_release,latest_accepted_release_url = self.request_for_payload(f"{base_url_arm}/{stream_arm}/latest") self.latest_releases[stream_arm] = { # Appending "-amd64" seems counterintuitive, but it is correct. Believe me :-) - "openshift_client_location": f"{latest_accepted_release_url}/openshift-client-linux-{self.AMD64}-{latest_accepted_release}.tar.gz", + "openshift_client_location": f"{latest_accepted_release_url}/openshift-client-linux-{self.AMD64}-rhel8-{latest_accepted_release}.tar.gz", "openshift_install_binary_url": f"{latest_accepted_release_url}/openshift-install-linux-{self.AMD64}-{latest_accepted_release}.tar.gz" } # All other binaries under the "plain" ci URLs url = f"{self.release_stream_base_url}/{stream}/latest" latest_accepted_release,latest_accepted_release_url = self.request_for_payload(url) self.latest_releases[stream] = { - "openshift_client_location": f"{latest_accepted_release_url}/openshift-client-linux-{latest_accepted_release}.tar.gz", + "openshift_client_location": f"{latest_accepted_release_url}/openshift-client-linux-amd64-rhel8-{latest_accepted_release}.tar.gz", "openshift_install_binary_url": f"{latest_accepted_release_url}/openshift-install-linux-{latest_accepted_release}.tar.gz" }