Skip to content

Commit

Permalink
Fix reparent old tests
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed May 31, 2024
1 parent a15511f commit c719465
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
name: Run Upgrade Downgrade Test - Reparent Old Vtctl
runs-on:
group: vitess-ubuntu20
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

steps:
- name: Skip CI
Expand Down Expand Up @@ -78,6 +81,9 @@ jobs:
with:
go-version: 1.22.3

- name: Setup github.com/slackhq/vitess-additions access token
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 @@ -18,6 +18,9 @@ jobs:
name: Run Upgrade Downgrade Test - Reparent Old VTTablet
runs-on:
group: vitess-ubuntu20
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}

steps:
- name: Skip CI
Expand Down Expand Up @@ -78,6 +81,9 @@ jobs:
with:
go-version: 1.22.3

- name: Setup github.com/slackhq/vitess-additions access token
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
1 change: 1 addition & 0 deletions build.env
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ export EXTRA_BIN=$PWD/test/bin

# support private github.com/slackhq/vitess-addons repo
if [[ -n "${GH_ACCESS_TOKEN}" ]]; then
export GOPRIVATE=github.com/slackhq/vitess-addons
git config --global url.https://${GH_ACCESS_TOKEN}@github.com/.insteadOf https://github.com/
fi

0 comments on commit c719465

Please sign in to comment.