Skip to content

Commit

Permalink
tests.e2e.ansible: Fix to increase github rate limiting for kustomize
Browse files Browse the repository at this point in the history
This PR authenticates for github to increase the threshold for rate
limiting while installing kustomize and avoid the random failures
that are impacting several CIs.

Signed-off-by: Gabriela Cervantes <[email protected]>
  • Loading branch information
GabyCT committed Jul 23, 2024
1 parent 23aeb68 commit 5dc2ff9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ccruntime_e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ jobs:
./run-local.sh -t -r "${{ matrix.runtimeclass }}" "${args}"
env:
RUNNING_INSTANCE: ${{ matrix.instance }}
GITHUB_TOKEN: ${{ github.token }}

- name: Take a post-action
if: always()
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/ansible/install_test_deps.yaml
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 --retry 3 --retry-delay 10 "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
curl -s --retry 3 --retry-delay 10 -u ${USER}:${GITHUB_TOKEN} "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 5dc2ff9

Please sign in to comment.