Skip to content

Commit

Permalink
use Github API token to avoid rate limiting in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
banzo authored Jan 7, 2023
1 parent a9467aa commit b99de67
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/actions-setup-minikube@v2.7.2
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 b99de67

Please sign in to comment.