From b42909786220e18e26e3b1db30e6ab01c96bf467 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 14 Feb 2025 21:24:47 +0100 Subject: [PATCH] more private repo config Signed-off-by: Tim Vaillancourt --- .github/workflows/check_make_vtadmin_authz_testgen.yml | 4 ++++ .github/workflows/check_make_vtadmin_web_proto.yml | 4 ++++ .github/workflows/codeql_analysis.yml | 4 ++++ .github/workflows/create_release.yml | 4 ++++ .github/workflows/docker_test_cluster.yml | 3 +++ .github/workflows/e2e_race.yml | 3 +++ .github/workflows/endtoend.yml | 3 +++ .github/workflows/java_docker_test.yml | 3 +++ .github/workflows/local_example.yml | 3 +++ .github/workflows/region_example.yml | 3 +++ .github/workflows/static_checks_etc.yml | 4 +++- .github/workflows/unit_race.yml | 2 ++ .github/workflows/unit_race_evalengine.yml | 2 ++ .github/workflows/update_golang_dependencies.yml | 4 +++- .github/workflows/update_golang_version.yml | 4 +++- .github/workflows/upgrade_downgrade_test_backups_e2e.yml | 4 +++- .../upgrade_downgrade_test_backups_e2e_next_release.yml | 4 +++- .github/workflows/upgrade_downgrade_test_backups_manual.yml | 4 +++- .../upgrade_downgrade_test_backups_manual_next_release.yml | 4 +++- .github/workflows/upgrade_downgrade_test_onlineddl_flow.yml | 4 ++++ .../upgrade_downgrade_test_query_serving_queries.yml | 4 ++++ .../upgrade_downgrade_test_query_serving_queries_2.yml | 4 ++++ ...de_downgrade_test_query_serving_queries_2_next_release.yml | 4 ++++ ...rade_downgrade_test_query_serving_queries_next_release.yml | 4 ++++ .../workflows/upgrade_downgrade_test_query_serving_schema.yml | 4 ++++ ...grade_downgrade_test_query_serving_schema_next_release.yml | 4 ++++ .../workflows/upgrade_downgrade_test_reparent_new_vtctl.yml | 4 ++++ .../upgrade_downgrade_test_reparent_new_vttablet.yml | 4 ++++ .../workflows/upgrade_downgrade_test_reparent_old_vtctl.yml | 4 ++++ .../upgrade_downgrade_test_reparent_old_vttablet.yml | 4 ++++ .github/workflows/upgrade_downgrade_test_semi_sync.yml | 4 +++- 31 files changed, 106 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check_make_vtadmin_authz_testgen.yml b/.github/workflows/check_make_vtadmin_authz_testgen.yml index 8321c9512d7..d9906516a32 100644 --- a/.github/workflows/check_make_vtadmin_authz_testgen.yml +++ b/.github/workflows/check_make_vtadmin_authz_testgen.yml @@ -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 diff --git a/.github/workflows/check_make_vtadmin_web_proto.yml b/.github/workflows/check_make_vtadmin_web_proto.yml index c3f7e3ada1e..3213f45bce5 100644 --- a/.github/workflows/check_make_vtadmin_web_proto.yml +++ b/.github/workflows/check_make_vtadmin_web_proto.yml @@ -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 diff --git a/.github/workflows/codeql_analysis.yml b/.github/workflows/codeql_analysis.yml index 163f389e24f..0c9a4f685d8 100644 --- a/.github/workflows/codeql_analysis.yml +++ b/.github/workflows/codeql_analysis.yml @@ -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 diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 91b967b3adb..aea02b7fcfc 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -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 diff --git a/.github/workflows/docker_test_cluster.yml b/.github/workflows/docker_test_cluster.yml index 1d98439cbd8..cb2eb55775d 100644 --- a/.github/workflows/docker_test_cluster.yml +++ b/.github/workflows/docker_test_cluster.yml @@ -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: diff --git a/.github/workflows/e2e_race.yml b/.github/workflows/e2e_race.yml index 50945ee5696..a2700103c2b 100644 --- a/.github/workflows/e2e_race.yml +++ b/.github/workflows/e2e_race.yml @@ -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: diff --git a/.github/workflows/endtoend.yml b/.github/workflows/endtoend.yml index 31e45cbf318..9f898d47832 100644 --- a/.github/workflows/endtoend.yml +++ b/.github/workflows/endtoend.yml @@ -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: diff --git a/.github/workflows/java_docker_test.yml b/.github/workflows/java_docker_test.yml index 89ef9c78f1a..c637384aa39 100644 --- a/.github/workflows/java_docker_test.yml +++ b/.github/workflows/java_docker_test.yml @@ -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: diff --git a/.github/workflows/local_example.yml b/.github/workflows/local_example.yml index a405de67e8b..0d69822f501 100644 --- a/.github/workflows/local_example.yml +++ b/.github/workflows/local_example.yml @@ -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: diff --git a/.github/workflows/region_example.yml b/.github/workflows/region_example.yml index 9b84806294f..016cc999cd7 100644 --- a/.github/workflows/region_example.yml +++ b/.github/workflows/region_example.yml @@ -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: diff --git a/.github/workflows/static_checks_etc.yml b/.github/workflows/static_checks_etc.yml index 773e4b1cf25..6ec68c6c856 100644 --- a/.github/workflows/static_checks_etc.yml +++ b/.github/workflows/static_checks_etc.yml @@ -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 diff --git a/.github/workflows/unit_race.yml b/.github/workflows/unit_race.yml index 5d99de24086..001358037cf 100644 --- a/.github/workflows/unit_race.yml +++ b/.github/workflows/unit_race.yml @@ -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: diff --git a/.github/workflows/unit_race_evalengine.yml b/.github/workflows/unit_race_evalengine.yml index d66fc39400e..cd2557eaa44 100644 --- a/.github/workflows/unit_race_evalengine.yml +++ b/.github/workflows/unit_race_evalengine.yml @@ -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: diff --git a/.github/workflows/update_golang_dependencies.yml b/.github/workflows/update_golang_dependencies.yml index 16d7e5dcda6..b24234b91a5 100644 --- a/.github/workflows/update_golang_dependencies.yml +++ b/.github/workflows/update_golang_dependencies.yml @@ -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' diff --git a/.github/workflows/update_golang_version.yml b/.github/workflows/update_golang_version.yml index 128bc0c8fc7..017908114fe 100644 --- a/.github/workflows/update_golang_version.yml +++ b/.github/workflows/update_golang_version.yml @@ -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' diff --git a/.github/workflows/upgrade_downgrade_test_backups_e2e.yml b/.github/workflows/upgrade_downgrade_test_backups_e2e.yml index 866497caf52..b41e6f3d506 100644 --- a/.github/workflows/upgrade_downgrade_test_backups_e2e.yml +++ b/.github/workflows/upgrade_downgrade_test_backups_e2e.yml @@ -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 diff --git a/.github/workflows/upgrade_downgrade_test_backups_e2e_next_release.yml b/.github/workflows/upgrade_downgrade_test_backups_e2e_next_release.yml index 247e2cbf8e7..448c7374462 100644 --- a/.github/workflows/upgrade_downgrade_test_backups_e2e_next_release.yml +++ b/.github/workflows/upgrade_downgrade_test_backups_e2e_next_release.yml @@ -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: diff --git a/.github/workflows/upgrade_downgrade_test_backups_manual.yml b/.github/workflows/upgrade_downgrade_test_backups_manual.yml index 8cb12a75635..4fa7376609d 100644 --- a/.github/workflows/upgrade_downgrade_test_backups_manual.yml +++ b/.github/workflows/upgrade_downgrade_test_backups_manual.yml @@ -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 diff --git a/.github/workflows/upgrade_downgrade_test_backups_manual_next_release.yml b/.github/workflows/upgrade_downgrade_test_backups_manual_next_release.yml index d9bf9b7d073..84eb50ab04f 100644 --- a/.github/workflows/upgrade_downgrade_test_backups_manual_next_release.yml +++ b/.github/workflows/upgrade_downgrade_test_backups_manual_next_release.yml @@ -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 diff --git a/.github/workflows/upgrade_downgrade_test_onlineddl_flow.yml b/.github/workflows/upgrade_downgrade_test_onlineddl_flow.yml index 71489f40ca9..2728dfe7165 100644 --- a/.github/workflows/upgrade_downgrade_test_onlineddl_flow.yml +++ b/.github/workflows/upgrade_downgrade_test_onlineddl_flow.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_queries.yml b/.github/workflows/upgrade_downgrade_test_query_serving_queries.yml index 34946510543..0f12622632f 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_queries.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_queries.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_queries_2.yml b/.github/workflows/upgrade_downgrade_test_query_serving_queries_2.yml index 6423cf7c1b3..982dbad6817 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_queries_2.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_queries_2.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_queries_2_next_release.yml b/.github/workflows/upgrade_downgrade_test_query_serving_queries_2_next_release.yml index efc44567cee..695f878c1f1 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_queries_2_next_release.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_queries_2_next_release.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_queries_next_release.yml b/.github/workflows/upgrade_downgrade_test_query_serving_queries_next_release.yml index 8825f93a73e..1c2d8ddf422 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_queries_next_release.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_queries_next_release.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_schema.yml b/.github/workflows/upgrade_downgrade_test_query_serving_schema.yml index 00de8826dc1..6a219a2f254 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_schema.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_schema.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_query_serving_schema_next_release.yml b/.github/workflows/upgrade_downgrade_test_query_serving_schema_next_release.yml index 26862fa8dac..9223cd221ad 100644 --- a/.github/workflows/upgrade_downgrade_test_query_serving_schema_next_release.yml +++ b/.github/workflows/upgrade_downgrade_test_query_serving_schema_next_release.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_reparent_new_vtctl.yml b/.github/workflows/upgrade_downgrade_test_reparent_new_vtctl.yml index 8317db63e78..cc3b59e9f18 100644 --- a/.github/workflows/upgrade_downgrade_test_reparent_new_vtctl.yml +++ b/.github/workflows/upgrade_downgrade_test_reparent_new_vtctl.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_reparent_new_vttablet.yml b/.github/workflows/upgrade_downgrade_test_reparent_new_vttablet.yml index 13f6e655b45..6557ae3c7a9 100644 --- a/.github/workflows/upgrade_downgrade_test_reparent_new_vttablet.yml +++ b/.github/workflows/upgrade_downgrade_test_reparent_new_vttablet.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_reparent_old_vtctl.yml b/.github/workflows/upgrade_downgrade_test_reparent_old_vtctl.yml index 5a809822c1d..22f00211025 100644 --- a/.github/workflows/upgrade_downgrade_test_reparent_old_vtctl.yml +++ b/.github/workflows/upgrade_downgrade_test_reparent_old_vtctl.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_reparent_old_vttablet.yml b/.github/workflows/upgrade_downgrade_test_reparent_old_vttablet.yml index 6eb013895db..1d9c2a7f268 100644 --- a/.github/workflows/upgrade_downgrade_test_reparent_old_vttablet.yml +++ b/.github/workflows/upgrade_downgrade_test_reparent_old_vttablet.yml @@ -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. diff --git a/.github/workflows/upgrade_downgrade_test_semi_sync.yml b/.github/workflows/upgrade_downgrade_test_semi_sync.yml index acff0e1f225..503e1d1ea4e 100644 --- a/.github/workflows/upgrade_downgrade_test_semi_sync.yml +++ b/.github/workflows/upgrade_downgrade_test_semi_sync.yml @@ -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