Skip to content

Commit

Permalink
update templates
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Feb 14, 2025
1 parent b429097 commit ecd32db
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/templates/cluster_endtoend_test.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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
4 changes: 4 additions & 0 deletions test/templates/cluster_endtoend_test_docker.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on: [push, pull_request]

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{`{{ secrets.GH_ACCESS_TOKEN }}`}}"

jobs:
build:
name: Run endtoend tests on {{.Name}}
Expand Down
2 changes: 2 additions & 0 deletions test/templates/cluster_endtoend_test_mysql57.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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 }}`}}"
{{if .InstallXtraBackup}}
# This is used if we need to pin the xtrabackup version used in tests.
# If this is NOT set then the latest version available will be used.
Expand Down
2 changes: 2 additions & 0 deletions test/templates/cluster_vitess_tester.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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
2 changes: 2 additions & 0 deletions test/templates/unit_test.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,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:
test:
Expand Down

0 comments on commit ecd32db

Please sign in to comment.