Skip to content

Commit

Permalink
Fix new test
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 30, 2024
1 parent 59a8012 commit b1eb3e8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/vitess_tester_vtgate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ 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:
name: Run endtoend tests on Vitess Tester (vtgate)
runs-on: gh-hosted-runners-4cores-1
runs-on:
group: vitess-ubuntu20

steps:
- name: Skip CI
Expand Down Expand Up @@ -75,6 +78,10 @@ jobs:
with:
go-version: 1.22.5

- name: Setup github.com/slackhq/vitess-additions 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
4 changes: 0 additions & 4 deletions test/templates/cluster_endtoend_test_mysql57.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ jobs:
wget "https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb"
sudo apt-get install -y gnupg2
sudo dpkg -i "percona-release_latest.$(lsb_release -sc)_all.deb"
<<<<<<< HEAD
sudo percona-release enable-only pxb-24
=======
sudo percona-release enable-only tools
>>>>>>> v19.0.5
sudo apt-get update
if [[ -n $XTRABACKUP_VERSION ]]; then
debfile="percona-xtrabackup-24_$XTRABACKUP_VERSION.$(lsb_release -sc)_amd64.deb"
Expand Down
9 changes: 8 additions & 1 deletion test/templates/cluster_vitess_tester.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ 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:
name: Run endtoend tests on {{.Name}}
runs-on: gh-hosted-runners-4cores-1
runs-on:
group: vitess-ubuntu20

steps:
- name: Skip CI
Expand Down Expand Up @@ -73,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

0 comments on commit b1eb3e8

Please sign in to comment.