From 84610be9c243a50f83602b52e25a3313ccfb1abd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Wed, 31 Jan 2024 11:41:33 +0100 Subject: [PATCH] tests.e2e.ansible: Allow curl to retry download MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit as network tends to be flaky, allow curl to retry in case it fails to fetch the kustomize. Signed-off-by: Lukáš Doktor --- tests/e2e/ansible/install_test_deps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/ansible/install_test_deps.yml b/tests/e2e/ansible/install_test_deps.yml index f66edae1..769245ac 100644 --- a/tests/e2e/ansible/install_test_deps.yml +++ b/tests/e2e/ansible/install_test_deps.yml @@ -37,7 +37,7 @@ ignore_errors: yes - name: Install kustomize shell: | - curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash + curl -s --retry 3 --retry-delay 10 "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash cp -f ./kustomize /usr/local/bin args: creates: /usr/local/bin/kustomize