Skip to content

Commit

Permalink
add github private token to CI
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Jul 17, 2024
1 parent e067397 commit 0b4a33d
Show file tree
Hide file tree
Showing 70 changed files with 419 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_backup_pitr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_backup_pitr_xtrabackup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_mysql80.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_mysql_server_vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_ghost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_revert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl_stress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_schemadiff_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -74,6 +76,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cluster_endtoend_tabletmanager_consul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
LAUNCHABLE_ORGANIZATION: "vitess"
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -73,6 +75,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-addons access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
uses: actions/setup-python@v5
Expand Down
Loading

0 comments on commit 0b4a33d

Please sign in to comment.