Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
use Github API token to avoid rate limiting in CI
Browse files Browse the repository at this point in the history
(cherry picked from commit b99de67)
  • Loading branch information
banzo authored and dmitrii-dmnk committed Jan 30, 2023
1 parent 50eb06b commit 90b01ab
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test-ldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/test-oidc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
Expand Down Expand Up @@ -63,14 +64,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Minikube
uses: manusa/[email protected]
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test-persistence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down Expand Up @@ -85,8 +86,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-safetyvalve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
#github token: ${{ secrets.GITHUB_TOKEN }}
github token: ${{ secrets.GITHUB_TOKEN }}
#- run: minikube addons list
#- name: Interact with the cluster
# run: kubectl get nodes
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-singleuser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-site-to-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-startup-probe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
github token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get install -y jq
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
with:
minikube version: 'v1.28.0'
kubernetes version: 'v1.25.4'
#github token: ${{ secrets.GITHUB_TOKEN }}
github token: ${{ secrets.GITHUB_TOKEN }}
#- run: minikube addons list
#- name: Interact with the cluster
# run: kubectl get nodes
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3
- name: Install dependencies
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
Expand Down

0 comments on commit 90b01ab

Please sign in to comment.