Skip to content

Commit

Permalink
tests.e2e.ansible: Allow curl to retry download
Browse files Browse the repository at this point in the history
as network tends to be flaky, allow curl to retry in case it fails to
fetch the kustomize.

Signed-off-by: Lukáš Doktor <[email protected]>
  • Loading branch information
ldoktor committed Jan 31, 2024
1 parent 3ae8419 commit 84610be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/ansible/install_test_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84610be

Please sign in to comment.