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 Feb 7, 2024
1 parent d2637fe commit ae565d4
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 @@ -39,7 +39,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 ae565d4

Please sign in to comment.