Skip to content

Commit

Permalink
more private repo config
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 b8ba919 commit b429097
Show file tree
Hide file tree
Showing 31 changed files with 106 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check_make_vtadmin_authz_testgen.yml
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: Check Make vtadmin_authz_testgen
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check_make_vtadmin_web_proto.yml
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: Check Make VTAdmin Web Proto
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/codeql_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ on:

permissions: read-all

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

jobs:
analyze:
name: Analyze
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ permissions:
contents: write
actions: read

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

jobs:
build:
name: Create Release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docker_test_cluster.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: docker_test_cluster
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/e2e_race.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: e2e_race
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/endtoend.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: endtoend
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/java_docker_test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: java_docker_test
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/local_example.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: local_example
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/region_example.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: region_example
on: [push, pull_request]
permissions: read-all
env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:

build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/static_checks_etc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
- push

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:
build:
name: Static Code Checks Etc
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_race.yml
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:

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit_race_evalengine.yml
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:

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update_golang_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
workflow_dispatch:

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:
update_golang_deps:
if: github.repository == 'vitessio/vitess'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/update_golang_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ on:
workflow_dispatch:

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:
update_golang_version:
if: github.repository == 'vitessio/vitess'
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upgrade_downgrade_test_backups_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ concurrency:
cancel-in-progress: true

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:
upgrade_downgrade_test_e2e:
timeout-minutes: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ concurrency:
cancel-in-progress: true

permissions: read-all

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

upgrade_downgrade_test_e2e:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upgrade_downgrade_test_backups_manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ concurrency:
cancel-in-progress: true

permissions: read-all

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

# This job usually execute in ± 20 minutes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ concurrency:
cancel-in-progress: true

permissions: read-all

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

# This job usually execute in ± 20 minutes
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/upgrade_downgrade_test_onlineddl_flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our Online DDL + VReplication + throttler components
# work using primary and replica vttablets built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtgate, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtctl, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtctl, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtctl, vttablet, etc) built on different versions.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ concurrency:

permissions: read-all

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

# This test ensures that our end-to-end tests work using Vitess components
# (vtctl, vttablet, etc) built on different versions.

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upgrade_downgrade_test_semi_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ concurrency:
cancel-in-progress: true

permissions: read-all

env:
GOPRIVATE: github.com/slackhq/vitess-addons
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"
jobs:
upgrade_downgrade_test_e2e:
timeout-minutes: 60
Expand Down

0 comments on commit b429097

Please sign in to comment.