From 666655ced124fdfa28101d98c370b71a88ca707c Mon Sep 17 00:00:00 2001 From: Derek Roberts Date: Thu, 18 Jul 2024 10:25:30 -0700 Subject: [PATCH] feat(ci): make oc update more resilient (#1419) --- .github/workflows/sync-job.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-job.yml b/.github/workflows/sync-job.yml index 68295fe1d..29e7ff12d 100644 --- a/.github/workflows/sync-job.yml +++ b/.github/workflows/sync-job.yml @@ -18,7 +18,8 @@ jobs: env: OC: https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable-4.13/openshift-client-linux.tar.gz run: | - curl --silent ${{ env.OC }} | tar -xzvf - oc + # Download and extract with retry, continuing on error + (wget ${{ env.OC }} -qcO - | tar -xzvf - oc)|| !! || true oc version working-directory: /usr/local/bin/