Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Parameterize runners (#71077)

Ryan Laurie8255a879de72
diff --git a/.github/scripts/build-e2e-matrix.unit.spec.js b/.github/scripts/build-e2e-matrix.unit.spec.js
index 735e8590d86..f795758a998 100644
--- a/.github/scripts/build-e2e-matrix.unit.spec.js
+++ b/.github/scripts/build-e2e-matrix.unit.spec.js
@@ -3,7 +3,7 @@ const { buildMatrix } = require("./build-e2e-matrix");
describe("buildMatrix", () => {
const options = {
java: "11",
- defaultRunner: "ubuntu-22.04",
+ defaultRunner: "${{ vars.DEFAULT_RUNNER_KEY }}",
};
const testBuildMatrix = (entry, chunks) =>
buildMatrix(options, entry, chunks);
diff --git a/.github/workflows/app-db.yml b/.github/workflows/app-db.yml
index b7df370c83e..23e08a23da2 100644
--- a/.github/workflows/app-db.yml
+++ b/.github/workflows/app-db.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
be-tests-mariadb:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -128,7 +128,7 @@ jobs:
be-tests-mysql:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -252,7 +252,7 @@ jobs:
be-tests-postgres:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -366,7 +366,7 @@ jobs:
- be-tests-mariadb
- be-tests-mysql
- be-tests-postgres
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: app-db-tests-result
if: always() && !cancelled()
diff --git a/.github/workflows/athena.yml b/.github/workflows/athena.yml
index 965c25bc364..3b6845d3376 100644
--- a/.github/workflows/athena.yml
+++ b/.github/workflows/athena.yml
@@ -11,7 +11,7 @@ on:
jobs:
deploy:
name: Publish Athena JDBC Driver
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- name: Check out the code
diff --git a/.github/workflows/auto-assign.yml b/.github/workflows/auto-assign.yml
index 3f9e9619518..a967c9274ea 100644
--- a/.github/workflows/auto-assign.yml
+++ b/.github/workflows/auto-assign.yml
@@ -7,7 +7,7 @@ on:
jobs:
update_pr:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- uses: tibdex/[email protected]
diff --git a/.github/workflows/auto-backport.yml b/.github/workflows/auto-backport.yml
index 2cee0a83db0..afd3e902de8 100644
--- a/.github/workflows/auto-backport.yml
+++ b/.github/workflows/auto-backport.yml
@@ -20,7 +20,7 @@ jobs:
github.event.label.name == 'triple-backport'
)
)
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- uses: actions/checkout@v4
with:
diff --git a/.github/workflows/backend-cloverage.yml b/.github/workflows/backend-cloverage.yml
index 4eb23eb84cc..64bbcfb4e59 100644
--- a/.github/workflows/backend-cloverage.yml
+++ b/.github/workflows/backend-cloverage.yml
@@ -17,7 +17,7 @@ on:
jobs:
setup-oss:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
modules: ${{ steps.get-modules.outputs.modules }}
steps:
@@ -31,7 +31,7 @@ jobs:
needs: setup-oss
# don't run this workflow on a cron for forks
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
strategy:
fail-fast: false
@@ -64,7 +64,7 @@ jobs:
flags: back-end
setup-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
modules: ${{ steps.get-modules.outputs.modules }}
steps:
@@ -78,7 +78,7 @@ jobs:
needs: setup-ee
# don't run this workflow on a cron for forks
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
strategy:
fail-fast: false
diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index b48ce710203..b30606b57cf 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
be-linter-clj-kondo:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
name: Clj-Kondo
steps:
@@ -26,7 +26,7 @@ jobs:
be-linter-eastwood:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
name: Eastwood
steps:
@@ -38,7 +38,7 @@ jobs:
be-linter-eastwood-test:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
name: Eastwood (test)
steps:
@@ -50,7 +50,7 @@ jobs:
be-tests:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -167,7 +167,7 @@ jobs:
# as `:dev` dependencies). See #27009 for more context.
be-check:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
strategy:
matrix:
@@ -183,7 +183,7 @@ jobs:
be-cljfmt:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
name: Cljfmt
steps:
@@ -202,7 +202,7 @@ jobs:
- be-check
- be-tests
if: always() && !cancelled()
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
needs: ${{ toJson(needs) }}
diff --git a/.github/workflows/backport-reminder.yml b/.github/workflows/backport-reminder.yml
index b3a633b76ac..fad178057eb 100644
--- a/.github/workflows/backport-reminder.yml
+++ b/.github/workflows/backport-reminder.yml
@@ -10,7 +10,7 @@ on:
jobs:
backport-reminder:
name: Decide whether to backport or not
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: jesusvasquez333/[email protected]
diff --git a/.github/workflows/block-master-source-branch-prs.yml b/.github/workflows/block-master-source-branch-prs.yml
index 34afd145aaf..b6809ade08d 100644
--- a/.github/workflows/block-master-source-branch-prs.yml
+++ b/.github/workflows/block-master-source-branch-prs.yml
@@ -5,7 +5,7 @@ on:
jobs:
check-source-branch:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Block master branch PRs
if: github.head_ref == 'master'
diff --git a/.github/workflows/build-for-release.yml b/.github/workflows/build-for-release.yml
index e482f6cd1ed..19108ce20c0 100644
--- a/.github/workflows/build-for-release.yml
+++ b/.github/workflows/build-for-release.yml
@@ -14,7 +14,7 @@ on:
jobs:
start-message:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
}).catch(console.error);
trigger-milestone-check:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
needs: start-message
steps:
@@ -66,7 +66,7 @@ jobs:
check-version:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
outputs:
ee: ${{ fromJson(steps.canonical_version.outputs.result).ee }}
@@ -118,7 +118,7 @@ jobs:
return versions;
check-commit:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- name: Check out the code to verify the release branch
@@ -150,7 +150,7 @@ jobs:
git checkout -
get-build-requirements:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
outputs:
java_version: ${{ fromJson(steps.dependencies.outputs.result).java_version }}
@@ -185,7 +185,7 @@ jobs:
build-uberjar-for-release:
needs: [check-version, check-commit, get-build-requirements]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 50
strategy:
matrix:
diff --git a/.github/workflows/build-scripts.yml b/.github/workflows/build-scripts.yml
index 2d7dbca4e10..c318d5eca03 100644
--- a/.github/workflows/build-scripts.yml
+++ b/.github/workflows/build-scripts.yml
@@ -10,7 +10,7 @@ on:
jobs:
test-build-scripts:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- uses: actions/checkout@v4
- name: Prepare back-end environment
diff --git a/.github/workflows/cache-generator.yml b/.github/workflows/cache-generator.yml
index e318e0fe4f8..14c94a9191e 100644
--- a/.github/workflows/cache-generator.yml
+++ b/.github/workflows/cache-generator.yml
@@ -39,7 +39,7 @@ concurrency:
jobs:
get-cache-keys:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- uses: actions/checkout@v4
- name: Get cache keys
@@ -52,7 +52,7 @@ jobs:
cypress-cache-key: ${{ steps.get-cache-keys.outputs.cypress-cache-key }}
generate-caches:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
needs: get-cache-keys
env:
diff --git a/.github/workflows/check-backport-script.yml b/.github/workflows/check-backport-script.yml
index 2696398377b..00095c71422 100644
--- a/.github/workflows/check-backport-script.yml
+++ b/.github/workflows/check-backport-script.yml
@@ -7,7 +7,7 @@ on:
jobs:
check-backport-script:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
diff --git a/.github/workflows/check-milestone.yml b/.github/workflows/check-milestone.yml
index c9afdb18110..c3b3a592e7b 100644
--- a/.github/workflows/check-milestone.yml
+++ b/.github/workflows/check-milestone.yml
@@ -15,7 +15,7 @@ on:
jobs:
set-milestone:
name: Automatically set milestone
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
env:
isNewReleaseBranch: ${{ github.event_name == 'workflow_dispatch' }}
diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml
index afc2fd7e041..47bd9198b58 100644
--- a/.github/workflows/chromatic.yml
+++ b/.github/workflows/chromatic.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
frontend_all: ${{ steps.changes.outputs.frontend_all }}
@@ -30,7 +30,7 @@ jobs:
fe-chromatic:
needs: files-changed
if: contains(github.event.pull_request.labels.*.name, 'chromatic') || (github.ref_name == 'master' && needs.files-changed.outputs.frontend_all == 'true')
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/.github/workflows/claude-code-bug-fix.yml b/.github/workflows/claude-code-bug-fix.yml
index 4bfcc681e17..39c413b12fa 100644
--- a/.github/workflows/claude-code-bug-fix.yml
+++ b/.github/workflows/claude-code-bug-fix.yml
@@ -21,7 +21,7 @@ on:
jobs:
auto-fix-bug:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
permissions:
contents: write
diff --git a/.github/workflows/cljs.yml b/.github/workflows/cljs.yml
index ffde8ddac4e..edff8c58a47 100644
--- a/.github/workflows/cljs.yml
+++ b/.github/workflows/cljs.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
cljs: ${{ steps.changes.outputs.cljs }}
@@ -30,7 +30,7 @@ jobs:
shared-tests-cljs:
needs: files-changed
if: needs.files-changed.outputs.cljs == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index f6ff8ce0905..51ad20aad53 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -10,7 +10,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
codeql: ${{ steps.changes.outputs.codeql }}
@@ -25,7 +25,7 @@ jobs:
analyze:
needs: files-changed
if: needs.files-changed.outputs.codeql == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml
index d9b715695bf..8535b50a7a7 100644
--- a/.github/workflows/codespell.yml
+++ b/.github/workflows/codespell.yml
@@ -8,7 +8,7 @@ on:
jobs:
codespell:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
permissions:
contents: write
diff --git a/.github/workflows/containerize-jar.yml b/.github/workflows/containerize-jar.yml
index 67411ee130f..f4097fc12fd 100644
--- a/.github/workflows/containerize-jar.yml
+++ b/.github/workflows/containerize-jar.yml
@@ -48,7 +48,7 @@ on:
jobs:
containerize:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
outputs:
platforms: ${{ steps.platforms.outputs.result }}
@@ -117,7 +117,7 @@ jobs:
bin/docker/.
verify-docker-pull:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: containerize
timeout-minutes: 15
steps:
diff --git a/.github/workflows/containerize-uberjar.yml b/.github/workflows/containerize-uberjar.yml
index 3fa294c1653..215652c3268 100644
--- a/.github/workflows/containerize-uberjar.yml
+++ b/.github/workflows/containerize-uberjar.yml
@@ -6,7 +6,7 @@ on:
jobs:
get-container-info:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: Get container info
outputs:
@@ -68,7 +68,7 @@ jobs:
strategy:
matrix:
edition: ${{ fromJson(needs.get-container-info.outputs.editions) }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Run Trivy vulnerability scanner
steps:
- name: Check out the code
@@ -94,7 +94,7 @@ jobs:
post-comment:
needs: [get-container-info, containerize]
if: github.event_name == 'pull_request'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Post PR comment
steps:
- name: Check out the code
diff --git a/.github/workflows/conventional-commit-pr-title-reminder.yml b/.github/workflows/conventional-commit-pr-title-reminder.yml
index 024d628b3e9..94ad6761999 100644
--- a/.github/workflows/conventional-commit-pr-title-reminder.yml
+++ b/.github/workflows/conventional-commit-pr-title-reminder.yml
@@ -8,7 +8,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
frontend_embedding_sources: ${{ steps.changes.outputs.frontend_embedding_sources }}
@@ -22,7 +22,7 @@ jobs:
filters: .github/file-paths.yaml
pr-title-reminder:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
permissions:
pull-requests: write
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index 41e46be545b..1341f6be0a1 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -7,7 +7,7 @@ on:
jobs:
fe-test-coverage:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/cross-branch-migrations.yml b/.github/workflows/cross-branch-migrations.yml
index f84f900249b..6f1c24dc63d 100644
--- a/.github/workflows/cross-branch-migrations.yml
+++ b/.github/workflows/cross-branch-migrations.yml
@@ -25,7 +25,7 @@ concurrency:
jobs:
migrations-h2-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -39,7 +39,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-postgres-14-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -65,7 +65,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-postgres-latest-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -91,7 +91,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-mysql-8-4-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -116,7 +116,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-mysql-latest-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -142,7 +142,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-mariadb-10-6-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
@@ -168,7 +168,7 @@ jobs:
head-ref: ${{ env.HEAD_REF }}
migrations-mariadb-latest-ee:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
diff --git a/.github/workflows/cross-version.yml b/.github/workflows/cross-version.yml
index 17a1c05dc3d..0ca02c9ed76 100644
--- a/.github/workflows/cross-version.yml
+++ b/.github/workflows/cross-version.yml
@@ -26,7 +26,7 @@ jobs:
# Generate matrix for scheduled/PR runs
generate-matrix:
if: github.event_name != 'workflow_dispatch'
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
@@ -49,7 +49,7 @@ jobs:
test-matrix:
if: github.event_name != 'workflow_dispatch'
needs: generate-matrix
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
strategy:
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
@@ -78,7 +78,7 @@ jobs:
# Manual test for workflow_dispatch
test-manual:
if: github.event_name == 'workflow_dispatch'
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
steps:
diff --git a/.github/workflows/disabled-drivers-slack-notification.yml b/.github/workflows/disabled-drivers-slack-notification.yml
index 13966efcc2b..9910976ee50 100644
--- a/.github/workflows/disabled-drivers-slack-notification.yml
+++ b/.github/workflows/disabled-drivers-slack-notification.yml
@@ -7,7 +7,7 @@ on:
jobs:
notify-disabled-drivers:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/setup-node@v4
diff --git a/.github/workflows/docs-generate-base.yml b/.github/workflows/docs-generate-base.yml
index 61494084a79..392808ab9b8 100644
--- a/.github/workflows/docs-generate-base.yml
+++ b/.github/workflows/docs-generate-base.yml
@@ -21,7 +21,7 @@ permissions:
jobs:
update-docs:
name: Update documentation for ${{ inputs.target_branch }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
steps:
- name: Checkout code
diff --git a/.github/workflows/docs-links.yml b/.github/workflows/docs-links.yml
index 7ccb6e54653..bbeaeb75cf5 100644
--- a/.github/workflows/docs-links.yml
+++ b/.github/workflows/docs-links.yml
@@ -7,7 +7,7 @@ on:
jobs:
link-checker:
name: Check documentation links
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
permissions:
contents: read
diff --git a/.github/workflows/drivers-stress-test.yml b/.github/workflows/drivers-stress-test.yml
index 858dc3eef44..072540ad91e 100644
--- a/.github/workflows/drivers-stress-test.yml
+++ b/.github/workflows/drivers-stress-test.yml
@@ -49,7 +49,7 @@ jobs:
be-tests-athena-ee:
if: inputs.driver == 'Athena'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -68,7 +68,7 @@ jobs:
be-tests-bigquery-cloud-sdk-ee:
if: inputs.driver == 'BigQuery'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -89,7 +89,7 @@ jobs:
be-tests-druid-ee:
if: inputs.driver == 'Druid'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -111,7 +111,7 @@ jobs:
be-tests-mariadb-10-6-ee:
if: inputs.driver == 'Maria DB'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -140,7 +140,7 @@ jobs:
be-tests-mariadb-latest-ee:
if: inputs.driver == 'Maria DB (latest)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -169,7 +169,7 @@ jobs:
be-tests-mongo-4-4-ee:
if: inputs.driver == 'Mongo 4'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -191,7 +191,7 @@ jobs:
be-tests-mongo-4-4-ssl-ee:
if: inputs.driver == 'Mongo 4 (SSL)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -225,7 +225,7 @@ jobs:
be-tests-mongo-5-0-ee:
if: inputs.driver == 'Mongo 5'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -247,7 +247,7 @@ jobs:
be-tests-mongo-5-0-ssl-ee:
if: inputs.driver == 'Mongo 5 (SSL)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -281,7 +281,7 @@ jobs:
be-tests-mongo-latest-ee:
if: inputs.driver == 'Mongo (latest)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -306,7 +306,7 @@ jobs:
be-tests-mysql-8-4-ee:
if: inputs.driver == 'MySQL'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -335,7 +335,7 @@ jobs:
be-tests-mysql-latest-ee:
if: inputs.driver == 'MySQL (latest)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -373,7 +373,7 @@ jobs:
be-tests-oracle-18-4-ee:
if: inputs.driver == 'Oracle 18'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -399,7 +399,7 @@ jobs:
be-tests-oracle-21-3-ee:
if: inputs.driver == 'Oracle 21'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -434,7 +434,7 @@ jobs:
be-tests-postgres-ee:
if: inputs.driver == 'Postgres'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -464,7 +464,7 @@ jobs:
be-tests-postgres-latest-ee:
if: inputs.driver == 'Postgres (latest)'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -497,7 +497,7 @@ jobs:
be-tests-presto-jdbc-ee:
if: inputs.driver == 'Presto JDBC'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -546,7 +546,7 @@ jobs:
be-tests-redshift-ee:
if: inputs.driver == 'Redshift'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -565,7 +565,7 @@ jobs:
be-tests-snowflake-ee:
if: inputs.driver == 'Snowflake'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -586,7 +586,7 @@ jobs:
be-tests-sparksql-ee:
if: inputs.driver == 'SparkSQL'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -606,7 +606,7 @@ jobs:
be-tests-sqlite-ee:
if: inputs.driver == 'SQLite'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -621,7 +621,7 @@ jobs:
be-tests-sqlserver-2017-ee:
if: inputs.driver == 'SQL Server 2017'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -648,7 +648,7 @@ jobs:
be-tests-sqlserver-2022-ee:
if: inputs.driver == 'SQL Server 2022'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -675,7 +675,7 @@ jobs:
be-tests-starburst-ee:
if: inputs.driver == 'Starburst'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
env:
CI: 'true'
@@ -700,7 +700,7 @@ jobs:
login-to-ecr:
if: inputs.driver == 'Vertica'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
permissions:
id-token: write
@@ -729,7 +729,7 @@ jobs:
be-tests-vertica-ee:
if: inputs.driver == 'Vertica'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: login-to-ecr
timeout-minutes: 90
env:
diff --git a/.github/workflows/drivers.yml b/.github/workflows/drivers.yml
index 32528c56b51..12c422738a4 100644
--- a/.github/workflows/drivers.yml
+++ b/.github/workflows/drivers.yml
@@ -15,7 +15,7 @@ jobs:
# This job determines which driver tests should run based on PR context.
# All decision logic is consolidated in mage driver-decisions.
determine-driver-skips:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
# All driver run decisions (from mage driver-decisions)
h2-should-run: ${{ steps.driver-decisions.outputs.h2-should-run }}
@@ -89,7 +89,7 @@ jobs:
be-tests-athena-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.athena-should-run == 'true' || needs.determine-driver-skips.outputs.athena-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -140,7 +140,7 @@ jobs:
be-tests-bigquery-cloud-sdk-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.bigquery-should-run == 'true' || needs.determine-driver-skips.outputs.bigquery-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
strategy:
fail-fast: false
@@ -212,7 +212,7 @@ jobs:
be-tests-clickhouse-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.clickhouse-should-run == 'true' || needs.determine-driver-skips.outputs.clickhouse-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -295,7 +295,7 @@ jobs:
be-tests-druid-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.druid-should-run == 'true' || needs.determine-driver-skips.outputs.druid-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -344,7 +344,7 @@ jobs:
be-tests-druid-jdbc-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.druid-jdbc-should-run == 'true' || needs.determine-driver-skips.outputs.druid-jdbc-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -393,7 +393,7 @@ jobs:
be-tests-databricks-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.databricks-should-run == 'true' || needs.determine-driver-skips.outputs.databricks-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -442,7 +442,7 @@ jobs:
be-tests-databricks-multi-catalog-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.databricks-should-run == 'true' || needs.determine-driver-skips.outputs.databricks-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -492,7 +492,7 @@ jobs:
be-tests-h2:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.h2-should-run == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -523,7 +523,7 @@ jobs:
be-tests-h2-oss:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.h2-should-run == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -555,7 +555,7 @@ jobs:
be-tests-mysql-mariadb:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.mysql-mariadb-should-run == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -692,7 +692,7 @@ jobs:
be-tests-mongo:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.mongo-should-run == 'true' || needs.determine-driver-skips.outputs.mongo-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -773,7 +773,7 @@ jobs:
be-tests-mongo-ssl:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.mongo-ssl-should-run == 'true' || needs.determine-driver-skips.outputs.mongo-ssl-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -850,7 +850,7 @@ jobs:
be-tests-mongo-sharded-cluster-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.mongo-sharded-cluster-should-run == 'true' || needs.determine-driver-skips.outputs.mongo-sharded-cluster-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -896,7 +896,7 @@ jobs:
be-tests-oracle:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.oracle-should-run == 'true' || needs.determine-driver-skips.outputs.oracle-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -982,7 +982,7 @@ jobs:
be-tests-postgres:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.postgres-should-run == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -1093,7 +1093,7 @@ jobs:
be-tests-presto-jdbc-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.presto-jdbc-should-run == 'true' || needs.determine-driver-skips.outputs.presto-jdbc-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -1175,7 +1175,7 @@ jobs:
be-tests-redshift-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.redshift-should-run == 'true' || needs.determine-driver-skips.outputs.redshift-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -1266,7 +1266,7 @@ jobs:
be-tests-snowflake-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.snowflake-should-run == 'true' || needs.determine-driver-skips.outputs.snowflake-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
strategy:
fail-fast: false
@@ -1347,7 +1347,7 @@ jobs:
be-tests-sparksql-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.sparksql-should-run == 'true' || needs.determine-driver-skips.outputs.sparksql-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -1394,7 +1394,7 @@ jobs:
be-tests-sqlite-ee:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.sqlite-should-run == 'true' || needs.determine-driver-skips.outputs.sqlite-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -1436,7 +1436,7 @@ jobs:
be-tests-sqlserver:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.sqlserver-should-run == 'true' || needs.determine-driver-skips.outputs.sqlserver-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
strategy:
fail-fast: false
@@ -1520,7 +1520,7 @@ jobs:
# be-tests-starburst-ee:
# needs: determine-driver-skips
# if: ${{ !inputs.skip && !(needs.determine-driver-skips.outputs.skip == 'true') }}
- # runs-on: ubuntu-latest
+ # runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
# timeout-minutes: 40
# env:
# CI: 'true'
@@ -1558,7 +1558,7 @@ jobs:
login-to-ecr:
needs: determine-driver-skips
if: ${{ needs.determine-driver-skips.outputs.vertica-should-run == 'true' || needs.determine-driver-skips.outputs.vertica-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
permissions:
id-token: write
@@ -1588,7 +1588,7 @@ jobs:
be-tests-vertica-ee:
needs: [determine-driver-skips, login-to-ecr]
if: ${{ needs.determine-driver-skips.outputs.vertica-should-run == 'true' || needs.determine-driver-skips.outputs.vertica-quarantine-conflict == 'true' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: 'true'
@@ -1662,7 +1662,7 @@ jobs:
# TODO(rileythomp, 2025-08-20): Re-enable vertica tests once the docker image is updated
# - be-tests-vertica-ee
- be-tests-clickhouse-ee
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: drivers-tests-result
if: always() && !cancelled()
diff --git a/.github/workflows/e2e-matrix-builder.yml b/.github/workflows/e2e-matrix-builder.yml
index dfc7f0ceb4f..3014484a8a4 100644
--- a/.github/workflows/e2e-matrix-builder.yml
+++ b/.github/workflows/e2e-matrix-builder.yml
@@ -21,7 +21,7 @@ on:
jobs:
build-matrix:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
matrix: ${{ steps.matrix.outputs.config }}
@@ -47,7 +47,7 @@ jobs:
const inputSpecs = "${{ inputs.specs }}";
const inputChunks = Number(process.env.chunks);
const java = 21;
- const defaultRunner = "ubuntu-22.04";
+ const defaultRunner = "${{ vars.DEFAULT_RUNNER_KEY }}";
const options = {
java,
defaultRunner,
diff --git a/.github/workflows/e2e-stress-test-flake-fix.yml b/.github/workflows/e2e-stress-test-flake-fix.yml
index ecf70c17cff..91432fe7c9a 100644
--- a/.github/workflows/e2e-stress-test-flake-fix.yml
+++ b/.github/workflows/e2e-stress-test-flake-fix.yml
@@ -35,7 +35,7 @@ on:
jobs:
determine-test-type:
name: Determine test type
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
type: ${{ steps.detect.outputs.type }}
@@ -53,7 +53,7 @@ jobs:
workflow-summary:
name: Stress test inputs
needs: [determine-test-type]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Generate workflow summary
@@ -72,7 +72,7 @@ jobs:
stress-test-flake-fix:
needs: [determine-test-type]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
name: Stress test E2E flake fix
env:
diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml
index 06e1fa8c842..a06254dde05 100644
--- a/.github/workflows/e2e-test.yml
+++ b/.github/workflows/e2e-test.yml
@@ -21,7 +21,7 @@ on:
runner:
required: false
type: string
- default: ubuntu-22.04
+ default: ${{ vars.DEFAULT_RUNNER_KEY }}
total_chunks: # number of chunks
required: false
type: number
diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml
index 623e7e70181..9e1e717552d 100644
--- a/.github/workflows/e2e-tests.yml
+++ b/.github/workflows/e2e-tests.yml
@@ -24,7 +24,7 @@ jobs:
reset-e2e-test-comment:
if: ${{ github.event_name == 'pull_request' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Remove test results comment
@@ -75,7 +75,7 @@ jobs:
collect-timings:
name: Collect E2E Timings
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
needs: e2e-tests
if: always() && !cancelled() && github.ref == 'refs/heads/master'
@@ -138,7 +138,7 @@ jobs:
e2e-tests-result:
needs:
- e2e-tests
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: e2e-tests-result
if: always() && !cancelled()
diff --git a/.github/workflows/embedding-sdk-component-tests.yml b/.github/workflows/embedding-sdk-component-tests.yml
index ad05c279c65..ffb93568ac1 100644
--- a/.github/workflows/embedding-sdk-component-tests.yml
+++ b/.github/workflows/embedding-sdk-component-tests.yml
@@ -12,7 +12,7 @@ env:
jobs:
sdk-component-tests:
name: "SDK component tests (React ${{ matrix.react-version }})"
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
strategy:
matrix:
@@ -128,7 +128,7 @@ jobs:
await core.summary.addRaw(summary).write();
decide-target-ref:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
target-ref: ${{ steps.get-target-ref.outputs.value }}
steps:
@@ -151,7 +151,7 @@ jobs:
sdk-component-tests-backward-compatibility:
name: "SDK component tests (Backward compatibility)"
needs: [decide-target-ref]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
env:
MB_RUN_MODE: "e2e"
diff --git a/.github/workflows/embedding-sdk-host-sample-apps-tests.yml b/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
index bd1c35c1c08..bf17701a514 100644
--- a/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
+++ b/.github/workflows/embedding-sdk-host-sample-apps-tests.yml
@@ -12,7 +12,7 @@ env:
MB_EDITION: ee
jobs:
get-sample-apps-data:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
# we must support the last two stable releases
@@ -94,7 +94,7 @@ jobs:
environment: ["production", "development"]
if: |
!cancelled() && needs.get-sample-apps-data.result == 'success'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
name: e2e-sample-app-${{ matrix.test_suite }}-tests-${{ matrix.environment }}-bundle
env:
@@ -201,7 +201,7 @@ jobs:
if: |
!cancelled() && needs.get-sample-apps-data.result == 'success' &&
(github.ref == 'refs/heads/master' || github.base_ref == 'master')
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
name: e2e-sample-app-shoppy-e2e-tests-${{ matrix.environment }}-bundle
env:
@@ -264,7 +264,7 @@ jobs:
!cancelled() && needs.get-sample-apps-data.result == 'success' &&
github.event_name == 'push' &&
github.ref == 'refs/heads/master'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
name: e2e-shoppy-synthetic-monitoring-tests
env:
@@ -354,7 +354,7 @@ jobs:
"angular-20-host-app-e2e",
]
environment: ["production", "development"]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 45
name: e2e-host-app-${{ matrix.test_suite }}-tests-${{ matrix.environment }}-bundle
env:
diff --git a/.github/workflows/embedding-sdk-labels-reminder.yml b/.github/workflows/embedding-sdk-labels-reminder.yml
index b580ea39727..1ea2c346924 100644
--- a/.github/workflows/embedding-sdk-labels-reminder.yml
+++ b/.github/workflows/embedding-sdk-labels-reminder.yml
@@ -10,7 +10,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
frontend_embedding_sdk_package_sources: ${{ steps.changes.outputs.frontend_embedding_sdk_package_sources }}
@@ -29,7 +29,7 @@ jobs:
!cancelled() &&
(needs.files-changed.outputs.frontend_embedding_sdk_package_sources == 'true')
name: Embedding SDK package release-notes/no-release-notes label reminder
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/embedding-sdk-package-build.yml b/.github/workflows/embedding-sdk-package-build.yml
index 0da4e369857..bd95848ee33 100644
--- a/.github/workflows/embedding-sdk-package-build.yml
+++ b/.github/workflows/embedding-sdk-package-build.yml
@@ -10,7 +10,7 @@ concurrency:
jobs:
build-sdk-package:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 25
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/embedding-sdk.yml b/.github/workflows/embedding-sdk.yml
index 627fb94a775..bea7bff9f57 100644
--- a/.github/workflows/embedding-sdk.yml
+++ b/.github/workflows/embedding-sdk.yml
@@ -39,7 +39,7 @@ concurrency:
jobs:
embedding-sdk-cli-snippets-type-check:
if: inputs.cli-snippets-type-check && !inputs.skip
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -55,7 +55,7 @@ jobs:
embedding-sdk-docs-snippets-type-check:
if: inputs.docs-snippets-type-check && !inputs.skip
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -71,7 +71,7 @@ jobs:
embedding-sdk-api-documentation-generation-validation:
if: inputs.documentation-validation && !inputs.skip
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -131,7 +131,7 @@ jobs:
embedding-sdk-bundle-size-check:
if: inputs.bundle-size-check
continue-on-error: true
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
env:
BUNDLE_SIZE_THRESHOLD_PERCENT: 2
@@ -186,7 +186,7 @@ jobs:
- embedding-sdk-api-documentation-generation-validation
- embedding-sdk-component-tests
if: always() && !cancelled()
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
needs: ${{ toJson(needs) }}
diff --git a/.github/workflows/escalation-slack-notification.yml b/.github/workflows/escalation-slack-notification.yml
index eca48970a25..50b2b4c843c 100644
--- a/.github/workflows/escalation-slack-notification.yml
+++ b/.github/workflows/escalation-slack-notification.yml
@@ -7,7 +7,7 @@ on:
jobs:
on-escalation-label:
if: github.event.label.name == '.Escalation'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- name: Format issue title (escape quotes)
diff --git a/.github/workflows/frontend-unit-test-stress-test-flake-fix.yml b/.github/workflows/frontend-unit-test-stress-test-flake-fix.yml
index 58222f730e8..91b46312e89 100644
--- a/.github/workflows/frontend-unit-test-stress-test-flake-fix.yml
+++ b/.github/workflows/frontend-unit-test-stress-test-flake-fix.yml
@@ -19,7 +19,7 @@ on:
jobs:
workflow-summary:
name: Stress test inputs
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Generate workflow summary
@@ -34,7 +34,7 @@ jobs:
echo 'triggered by: @${{ github.event.sender.login }}' >> $GITHUB_STEP_SUMMARY
frontend-unit-test-stress-test-flake-fix:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
name: Stress test frontend unit test flake fix
steps:
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 85cea071c73..219eaaf11d7 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -27,7 +27,7 @@ concurrency:
jobs:
fe-lint:
if: ${{ !inputs.skip-lint }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -58,7 +58,7 @@ jobs:
fe-type-check:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
@@ -73,7 +73,7 @@ jobs:
fe-tests-unit:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
strategy:
fail-fast: false
@@ -111,7 +111,7 @@ jobs:
fe-tests-timezones:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
@@ -129,7 +129,7 @@ jobs:
- fe-tests-unit
- fe-tests-timezones
if: always() && !cancelled()
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
needs: ${{ toJson(needs) }}
diff --git a/.github/workflows/generative-query-test.yml b/.github/workflows/generative-query-test.yml
index f41deda9ff2..b5293ef3002 100644
--- a/.github/workflows/generative-query-test.yml
+++ b/.github/workflows/generative-query-test.yml
@@ -24,7 +24,7 @@ on:
# TODO: Consider renaming the job in next milestones
jobs:
generative-query-test:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 90
name: Generative Query Test
env:
diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml
index 30edd3f3153..7df1117601d 100644
--- a/.github/workflows/i18n.yml
+++ b/.github/workflows/i18n.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
i18n: ${{ steps.changes.outputs.i18n }}
@@ -30,7 +30,7 @@ jobs:
verify-i18n-files:
needs: files-changed
if: needs.files-changed.outputs.i18n == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/js-stats-update.yml b/.github/workflows/js-stats-update.yml
index 55dcd82dc10..44678c98c3e 100644
--- a/.github/workflows/js-stats-update.yml
+++ b/.github/workflows/js-stats-update.yml
@@ -7,7 +7,7 @@ on:
jobs:
js-stats:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/linear-pr-links.yml b/.github/workflows/linear-pr-links.yml
index 83405aadc9b..c58f21a879f 100644
--- a/.github/workflows/linear-pr-links.yml
+++ b/.github/workflows/linear-pr-links.yml
@@ -6,7 +6,7 @@ on:
jobs:
add-issue-references:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v4
diff --git a/.github/workflows/loki-stress-test-flake-fix.yml b/.github/workflows/loki-stress-test-flake-fix.yml
index e4ed22f66a8..5c8a49a02db 100644
--- a/.github/workflows/loki-stress-test-flake-fix.yml
+++ b/.github/workflows/loki-stress-test-flake-fix.yml
@@ -21,7 +21,7 @@ on:
jobs:
detect-changed-stories:
name: Detect changed stories
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
story_files: ${{ steps.detect.outputs.story_files }}
@@ -84,7 +84,7 @@ jobs:
name: Summary
needs: detect-changed-stories
if: needs.detect-changed-stories.outputs.should_run == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Generate workflow summary
@@ -109,7 +109,7 @@ jobs:
stress-test-loki:
needs: detect-changed-stories
if: needs.detect-changed-stories.outputs.should_run == 'true'
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
name: Stress test Loki visual tests
services:
diff --git a/.github/workflows/loki-update.yml b/.github/workflows/loki-update.yml
index 2929482042d..b9ed5af0540 100644
--- a/.github/workflows/loki-update.yml
+++ b/.github/workflows/loki-update.yml
@@ -7,7 +7,7 @@ on:
jobs:
check-label-and-update-snapshot:
if: contains(github.event.pull_request.labels.*.name, 'loki-update')
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
diff --git a/.github/workflows/loki.yml b/.github/workflows/loki.yml
index 1c6a929f203..e703fc8f6d5 100644
--- a/.github/workflows/loki.yml
+++ b/.github/workflows/loki.yml
@@ -7,7 +7,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
frontend_ci: ${{ steps.changes.outputs.frontend_ci }}
@@ -25,7 +25,7 @@ jobs:
visual-test:
needs: files-changed
if: needs.files-changed.outputs.frontend_ci == 'true' || needs.files-changed.outputs.frontend_sources == 'true' || needs.files-changed.outputs.frontend_loki_ci == 'true'
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
services:
docker:
image: docker:19.03.12
diff --git a/.github/workflows/mage.yml b/.github/workflows/mage.yml
index 3024fcdb836..bad458c4d07 100644
--- a/.github/workflows/mage.yml
+++ b/.github/workflows/mage.yml
@@ -6,7 +6,7 @@ on:
jobs:
# run mage tests even if the rest of be isnt needed
mage-tests:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Mage
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index a440b0f6dd8..b0fa714fc24 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -6,7 +6,7 @@ on:
- labeled
jobs:
on-issue-labeled:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
if: |
contains(github.event.issue.labels.*.name, 'Type:New Feature')
diff --git a/.github/workflows/mbql-library-changelog.yml b/.github/workflows/mbql-library-changelog.yml
index 76ea9218732..8156a6330db 100644
--- a/.github/workflows/mbql-library-changelog.yml
+++ b/.github/workflows/mbql-library-changelog.yml
@@ -11,7 +11,7 @@ on:
- src/metabase/lib/js.cljs
jobs:
mbql-library-changelog-check:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
if: ${{ !contains( github.event.pull_request.labels.*.name, '.metabase-lib/no-change' ) }}
steps:
# - uses: jesusvasquez333/[email protected]
diff --git a/.github/workflows/migrations.yml b/.github/workflows/migrations.yml
index 952cc40e0d1..e3cca6463ec 100644
--- a/.github/workflows/migrations.yml
+++ b/.github/workflows/migrations.yml
@@ -10,7 +10,7 @@ on:
jobs:
lint-migrations:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/minimal-tests.yml b/.github/workflows/minimal-tests.yml
index 0f776f3095e..4c56bae2f8d 100644
--- a/.github/workflows/minimal-tests.yml
+++ b/.github/workflows/minimal-tests.yml
@@ -11,7 +11,7 @@ concurrency:
jobs:
# Only run if the PR has the minimal-tests label
check-label:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 1
outputs:
should-run: ${{ steps.check.outputs.result }}
@@ -29,7 +29,7 @@ jobs:
postgres-app-db-test:
needs: check-label
if: needs.check-label.outputs.should-run == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: "true"
@@ -80,7 +80,7 @@ jobs:
postgres-driver-test:
needs: check-label
if: needs.check-label.outputs.should-run == 'true'
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: "true"
@@ -128,7 +128,7 @@ jobs:
frontend-unit-tests:
needs: check-label
if: needs.check-label.outputs.should-run == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
env:
JEST_JUNIT_OUTPUT_DIR: ./target/junit
@@ -163,7 +163,7 @@ jobs:
- postgres-app-db-test
- postgres-driver-test
- frontend-unit-tests
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: minimal-tests-result
if: always() && !cancelled()
diff --git a/.github/workflows/module-boundaries-stats.yml b/.github/workflows/module-boundaries-stats.yml
index 65d170c8762..3c8b0685b38 100644
--- a/.github/workflows/module-boundaries-stats.yml
+++ b/.github/workflows/module-boundaries-stats.yml
@@ -7,7 +7,7 @@ on:
jobs:
module-boundaries-stats:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/openapi-check.yml b/.github/workflows/openapi-check.yml
index 2d8c816abb5..6e35ab5a1c1 100644
--- a/.github/workflows/openapi-check.yml
+++ b/.github/workflows/openapi-check.yml
@@ -10,7 +10,7 @@ concurrency:
jobs:
check-openapi-specs:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
if: contains(github.event.pull_request.labels.*.name, 'openapi-self-healing')
steps:
diff --git a/.github/workflows/openapi.yml b/.github/workflows/openapi.yml
index f797b41eaf2..9d7b76f5f58 100644
--- a/.github/workflows/openapi.yml
+++ b/.github/workflows/openapi.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
openapi: ${{ steps.changes.outputs.openapi }}
@@ -30,7 +30,7 @@ jobs:
validate-openapi:
needs: files-changed
if: needs.files-changed.outputs.openapi == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/optimize-images.yml b/.github/workflows/optimize-images.yml
index 74c9cce6b5c..b296d0bc003 100644
--- a/.github/workflows/optimize-images.yml
+++ b/.github/workflows/optimize-images.yml
@@ -7,7 +7,7 @@ on:
jobs:
optimize-images:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
if: ${{ contains(github.event.pull_request.labels.*.name,'Type:Documentation') }}
steps:
- name: Checkout repository
diff --git a/.github/workflows/perf-test.yml b/.github/workflows/perf-test.yml
index 655b3f17b22..ef0eebf2001 100644
--- a/.github/workflows/perf-test.yml
+++ b/.github/workflows/perf-test.yml
@@ -5,7 +5,7 @@ on:
workflow_call:
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
if: github.event.pull_request.head.repo.full_name == github.repository
name: Build Metabase Docker image
timeout-minutes: 60
@@ -47,7 +47,7 @@ jobs:
push: true
launch_perf_test:
needs: [ build ]
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Launch Perf Test
permissions:
id-token: write
diff --git a/.github/workflows/pr-env-destroy-manual.yml b/.github/workflows/pr-env-destroy-manual.yml
index 9deec0a2645..a4be1c6c4bd 100644
--- a/.github/workflows/pr-env-destroy-manual.yml
+++ b/.github/workflows/pr-env-destroy-manual.yml
@@ -14,7 +14,7 @@ on:
jobs:
approve:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
environment: pr-env-admin
steps:
- name: Approved
diff --git a/.github/workflows/pr-env-destroy.yml b/.github/workflows/pr-env-destroy.yml
index e88d9aaca43..ce1b7fe86f6 100644
--- a/.github/workflows/pr-env-destroy.yml
+++ b/.github/workflows/pr-env-destroy.yml
@@ -19,7 +19,7 @@ env:
jobs:
destroy_pr:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: PR Review ENV Destroy
permissions:
id-token: write
diff --git a/.github/workflows/pr-env.yml b/.github/workflows/pr-env.yml
index d5cbe7ae192..eedcd620da5 100644
--- a/.github/workflows/pr-env.yml
+++ b/.github/workflows/pr-env.yml
@@ -16,7 +16,7 @@ on:
default: false
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
if: github.event.pull_request.head.repo.full_name == github.repository
name: Build Metabase Docker image
timeout-minutes: 60
@@ -58,7 +58,7 @@ jobs:
push: true
deploy_pr:
needs: [build]
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: PR Review ENV
permissions:
id-token: write
@@ -188,7 +188,7 @@ jobs:
--atomic \
--timeout 10m
preview_links:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: [deploy_pr]
steps:
- uses: marocchino/sticky-pull-request-comment@v2
diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml
index 8c465d027d2..c76183dbbbf 100644
--- a/.github/workflows/pre-release.yml
+++ b/.github/workflows/pre-release.yml
@@ -25,7 +25,7 @@ on:
jobs:
test-mode-config:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
run_mode: ${{ fromJson(steps.config.outputs.result).runMode }}
@@ -65,7 +65,7 @@ jobs:
});
release-artifact:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
strategy:
matrix:
@@ -110,7 +110,7 @@ jobs:
check-uberjar-health:
needs: [release-artifact]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Is ${{ matrix.edition }} (java ${{ matrix.java-version }}) healthy?
timeout-minutes: 10
strategy:
@@ -136,7 +136,7 @@ jobs:
run: while ! curl -s 'http://localhost:3000/api/health' | grep '{"status":"ok"}'; do sleep 1; done
run-sanity-check:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
needs: [test-mode-config, release-artifact]
strategy:
@@ -258,14 +258,8 @@ jobs:
tests-complete-message:
if: always()
- runs-on: ubuntu-22.04
- needs:
- [
- run-sanity-check,
- check-uberjar-health,
- containerize-ee,
- containerize-oss,
- ]
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
+ needs: [run-sanity-check, check-uberjar-health, containerize-ee, containerize-oss]
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/presto-kerberos-integration-test.yml b/.github/workflows/presto-kerberos-integration-test.yml
index 1c75b8f98d2..ce901885156 100644
--- a/.github/workflows/presto-kerberos-integration-test.yml
+++ b/.github/workflows/presto-kerberos-integration-test.yml
@@ -18,7 +18,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
backend_presto_kerberos: ${{ steps.changes.outputs.backend_presto_kerberos }}
@@ -34,7 +34,7 @@ jobs:
run-presto-kerberos-test:
needs: files-changed
if: needs.files-changed.outputs.backend_presto_kerberos == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
steps:
- name: Install babashka
diff --git a/.github/workflows/pull-request-reminders.yml b/.github/workflows/pull-request-reminders.yml
index ff65312be9d..00f040e7637 100644
--- a/.github/workflows/pull-request-reminders.yml
+++ b/.github/workflows/pull-request-reminders.yml
@@ -10,7 +10,7 @@ jobs:
external-reminder:
name: External PR Helper
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
permissions:
pull-requests: write
diff --git a/.github/workflows/querying-team-pagerduty.yml b/.github/workflows/querying-team-pagerduty.yml
index 67b039fdb77..6bb17502400 100644
--- a/.github/workflows/querying-team-pagerduty.yml
+++ b/.github/workflows/querying-team-pagerduty.yml
@@ -7,7 +7,7 @@ on:
jobs:
notify-querying-on-call:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
if: |
(github.event.label.name == 'Priority:P0' || github.event.label.name == 'Priority:P1' || github.event.label.name == '.Escalation') &&
diff --git a/.github/workflows/release-embedding-sdk.yml b/.github/workflows/release-embedding-sdk.yml
index 139616ad3bf..dfe0fc0d11a 100644
--- a/.github/workflows/release-embedding-sdk.yml
+++ b/.github/workflows/release-embedding-sdk.yml
@@ -21,7 +21,7 @@ concurrency:
jobs:
workflow-summary:
name: Log inputs
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Generate workflow summary
@@ -37,7 +37,7 @@ jobs:
send-slack-notification-start:
name: "Send Slack notification: SDK release started"
needs: determine-sdk-version
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
slackMessageId: ${{ steps.send-slack-message-start.outputs.result }}
@@ -96,7 +96,7 @@ jobs:
"publish-npm",
"git-tag",
]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
slackMessageId: ${{ needs.send-slack-notification-start.outputs.slackMessageId }}
@@ -134,7 +134,7 @@ jobs:
name: "Send Slack notification: SDK release successful"
needs:
["determine-sdk-version", "send-slack-notification-start", "publish-npm"]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
slackMessageId: ${{ needs.send-slack-notification-start.outputs.slackMessageId }}
@@ -168,7 +168,7 @@ jobs:
});
determine-sdk-version:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
outputs:
sdk_version: ${{ fromJson(steps.new-sdk-version.outputs.result).version }}
@@ -219,7 +219,7 @@ jobs:
check-git-tag:
needs: determine-sdk-version
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
env:
tag: embedding-sdk-${{ needs.determine-sdk-version.outputs.sdk_version }}
@@ -243,7 +243,7 @@ jobs:
test:
needs: check-git-tag
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- name: Check out the code using the provided branch
@@ -262,7 +262,7 @@ jobs:
build-sdk:
needs: [test, determine-sdk-version]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- name: Check out the code using the provided branch
@@ -297,7 +297,7 @@ jobs:
publish-npm:
needs: [build-sdk, determine-sdk-version]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
env:
sdk_version: ${{ needs.determine-sdk-version.outputs.sdk_version }}
@@ -398,7 +398,7 @@ jobs:
git-tag:
needs: [publish-npm, determine-sdk-version]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
env:
tag: embedding-sdk-${{ needs.determine-sdk-version.outputs.sdk_version }}
diff --git a/.github/workflows/release-log.yml b/.github/workflows/release-log.yml
index e49c622a279..be8fbdc0852 100644
--- a/.github/workflows/release-log.yml
+++ b/.github/workflows/release-log.yml
@@ -23,7 +23,7 @@ on:
jobs:
update-release-log:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
# don't run this workflow for forks
if: ${{ github.event_name != 'push' || github.repository == 'metabase/metabase' }}
diff --git a/.github/workflows/release-milestone-check.yml b/.github/workflows/release-milestone-check.yml
index 35ccb47cd29..c955cda3086 100644
--- a/.github/workflows/release-milestone-check.yml
+++ b/.github/workflows/release-milestone-check.yml
@@ -15,7 +15,7 @@ on:
jobs:
check-milestone:
permissions: write-all
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/release-notes-preview.yml b/.github/workflows/release-notes-preview.yml
index 4151e723edd..5dcac45a5c5 100644
--- a/.github/workflows/release-notes-preview.yml
+++ b/.github/workflows/release-notes-preview.yml
@@ -11,7 +11,7 @@ on:
jobs:
preview-release-notes:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- name: Fail early on the incorrect version format
diff --git a/.github/workflows/release-patch.yml b/.github/workflows/release-patch.yml
index 58e722bb9d6..fe4468bdf65 100644
--- a/.github/workflows/release-patch.yml
+++ b/.github/workflows/release-patch.yml
@@ -20,7 +20,7 @@ jobs:
auto-patch-trigger:
# don't run this workflow on a cron for forks
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/release-status.yml b/.github/workflows/release-status.yml
index 5fb8808de3e..88e675a6958 100644
--- a/.github/workflows/release-status.yml
+++ b/.github/workflows/release-status.yml
@@ -9,7 +9,7 @@ jobs:
check-release-status:
# don't run this workflow on a cron for forks
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
@@ -44,7 +44,7 @@ jobs:
});
open-backport-reminder:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml
index 9b26354c7ce..82150e04d41 100644
--- a/.github/workflows/release-tag.yml
+++ b/.github/workflows/release-tag.yml
@@ -55,7 +55,7 @@ on:
jobs:
green-check-stub:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 2
steps:
- name: Stub
@@ -63,7 +63,7 @@ jobs:
check-version:
# skips everything if the tag_name is 'none' because all later jobs depend on this job
if: ${{ inputs.tag_name != 'none' }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
ee: ${{ fromJson(steps.canonical_version.outputs.result).ee }}
@@ -138,7 +138,7 @@ jobs:
throw new Error("No edition selected to tag");
copy-to-s3:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: check-version
timeout-minutes: 5
strategy:
@@ -221,7 +221,7 @@ jobs:
fi
tag-docker-image:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: check-version
timeout-minutes: 5
strategy:
@@ -257,7 +257,7 @@ jobs:
push-git-tags:
permissions: write-all
needs: check-version
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
env:
GH_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
@@ -288,7 +288,7 @@ jobs:
update-version-info:
if: ${{ !inputs.dot-x-tag }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: check-version
timeout-minutes: 5
strategy:
diff --git a/.github/workflows/release-tests.yml b/.github/workflows/release-tests.yml
index 40530dec69a..835d5e3d669 100644
--- a/.github/workflows/release-tests.yml
+++ b/.github/workflows/release-tests.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
release_source: ${{ steps.changes.outputs.release_source }}
@@ -30,7 +30,7 @@ jobs:
release-type-check:
needs: files-changed
if: needs.files-changed.outputs.release_source == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
@@ -49,7 +49,7 @@ jobs:
release-tests-unit:
needs: files-changed
if: needs.files-changed.outputs.release_source == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
@@ -68,7 +68,7 @@ jobs:
release-test-build:
needs: files-changed
if: needs.files-changed.outputs.release_source == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 2242164ab19..875a628429b 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -48,7 +48,7 @@ on:
jobs:
check-version:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
outputs:
ee: ${{ fromJson(steps.canonical_version.outputs.result).ee }}
@@ -104,7 +104,7 @@ jobs:
return versions
publish-start-message:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: [check-version]
timeout-minutes: 5
steps:
@@ -135,7 +135,7 @@ jobs:
download-uberjar:
needs: check-version
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
strategy:
matrix:
@@ -178,7 +178,7 @@ jobs:
./version.properties
upload-to-s3:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: download-uberjar
timeout-minutes: 15
strategy:
@@ -230,7 +230,7 @@ jobs:
--paths "/${{ steps.version_path.outputs.result }}/*"
verify-s3-download:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: upload-to-s3
timeout-minutes: 15
strategy:
@@ -287,7 +287,7 @@ jobs:
push-tags:
permissions: write-all
needs: [verify-s3-download, containerize-oss, containerize-ee, check-version]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
@@ -320,7 +320,7 @@ jobs:
get-extra-tags:
needs: [ check-version ]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
outputs:
extra_tags: ${{ steps.taglist.outputs.extra_tags }}
steps:
@@ -371,7 +371,7 @@ jobs:
trigger-cloud-issues:
if: ${{ !inputs.auto }}
needs: push-tags
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
@@ -423,7 +423,7 @@ jobs:
needs:
- containerize-ee
- verify-s3-download
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- uses: actions/github-script@v7
@@ -446,7 +446,7 @@ jobs:
draft-release-notes:
if: ${{ !inputs.auto }}
needs: add-extra-tags
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
permissions: write-all
env:
@@ -514,7 +514,7 @@ jobs:
}).catch(console.warn);
publish-version-info:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: [push-tags, check-version]
timeout-minutes: 15
strategy:
@@ -590,7 +590,7 @@ jobs:
tag_oss: true
publish-complete-message:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: [set-release-channel, add-extra-tags]
timeout-minutes: 5
steps:
@@ -623,7 +623,7 @@ jobs:
manage-milestones:
if: ${{ !inputs.auto }}
permissions: write-all
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
needs: [draft-release-notes, publish-version-info] # this will ensure that the milestone stays open until the release notes are published
timeout-minutes: 15
steps:
diff --git a/.github/workflows/repro-bot.yml b/.github/workflows/repro-bot.yml
index ed25b4b6114..a4c08c8f79f 100644
--- a/.github/workflows/repro-bot.yml
+++ b/.github/workflows/repro-bot.yml
@@ -18,7 +18,7 @@ on:
jobs:
repro-bot:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
permissions:
contents: read
diff --git a/.github/workflows/rerun-workflows.yml b/.github/workflows/rerun-workflows.yml
index 81fb1663a28..ba071ec082a 100644
--- a/.github/workflows/rerun-workflows.yml
+++ b/.github/workflows/rerun-workflows.yml
@@ -9,7 +9,7 @@ on:
jobs:
rerun-on-failure:
name: 'Re-run ''${{ github.event.workflow_run.name }}'' workflow'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
# Do not re-run scheduled workflow runs
if: github.event.workflow_run.conclusion == 'failure' && github.event.workflow_run.event != 'schedule'
env:
diff --git a/.github/workflows/reset-cloud-test-dataset.yml b/.github/workflows/reset-cloud-test-dataset.yml
index 48911ce707a..fba903d7bbd 100644
--- a/.github/workflows/reset-cloud-test-dataset.yml
+++ b/.github/workflows/reset-cloud-test-dataset.yml
@@ -21,7 +21,7 @@ on:
jobs:
reset-dataset:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
env:
CI: 'true'
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
index 04a4b736675..be690436fe0 100644
--- a/.github/workflows/run-tests.yml
+++ b/.github/workflows/run-tests.yml
@@ -14,7 +14,7 @@ jobs:
files-changed:
if: ${{ !contains(github.event.pull_request.labels.*.name,'ci skip') && !contains(github.event.pull_request.labels.*.name,'minimal-tests') }}
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
e2e_all: ${{ steps.changes.outputs.e2e_all }}
diff --git a/.github/workflows/security-slack-notification.yml b/.github/workflows/security-slack-notification.yml
index b3f77518613..08ba95efbfb 100644
--- a/.github/workflows/security-slack-notification.yml
+++ b/.github/workflows/security-slack-notification.yml
@@ -7,7 +7,7 @@ on:
jobs:
on-issue-opened:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
if: github.event.label.name == 'SECURITY'
steps:
diff --git a/.github/workflows/semantic-search.yml b/.github/workflows/semantic-search.yml
index 5af14b110b6..8d1c9026ce6 100644
--- a/.github/workflows/semantic-search.yml
+++ b/.github/workflows/semantic-search.yml
@@ -14,7 +14,7 @@ concurrency:
jobs:
semantic-search-tests-h2:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -69,7 +69,7 @@ jobs:
semantic-search-tests-mariadb:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -143,7 +143,7 @@ jobs:
semantic-search-tests-mysql:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -217,7 +217,7 @@ jobs:
semantic-search-tests-postgres:
if: ${{ !inputs.skip }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
strategy:
fail-fast: false
@@ -296,7 +296,7 @@ jobs:
- semantic-search-tests-mariadb
- semantic-search-tests-mysql
- semantic-search-tests-postgres
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: semantic-search-tests-result
if: always() && !cancelled()
diff --git a/.github/workflows/set-announce-url.yml b/.github/workflows/set-announce-url.yml
index e23f4e75368..429efd9295f 100644
--- a/.github/workflows/set-announce-url.yml
+++ b/.github/workflows/set-announce-url.yml
@@ -11,7 +11,7 @@ on:
jobs:
set-announce-url:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
steps:
- name: Validate input
diff --git a/.github/workflows/snowplow.yml b/.github/workflows/snowplow.yml
index ae0e9b72f19..0104f6273db 100644
--- a/.github/workflows/snowplow.yml
+++ b/.github/workflows/snowplow.yml
@@ -8,7 +8,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
snowplow: ${{ steps.changes.outputs.snowplow }}
@@ -24,7 +24,7 @@ jobs:
lint:
needs: files-changed
if: needs.files-changed.outputs.snowplow == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml
index 68d8c79f7f0..50cd6bfc75d 100644
--- a/.github/workflows/snyk.yml
+++ b/.github/workflows/snyk.yml
@@ -18,7 +18,7 @@ jobs:
generate-poms:
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
name: Generate pom.xml files
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
steps:
- uses: actions/checkout@v4
- name: Prepare back-end environment
@@ -37,7 +37,7 @@ jobs:
frontend-projects:
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
name: ${{ matrix.project.name }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
strategy:
matrix:
project:
@@ -88,7 +88,7 @@ jobs:
needs: generate-poms
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
name: ${{ matrix.project.name }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
strategy:
matrix:
project:
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 6c42995f440..cc65c35cc12 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -12,7 +12,7 @@ jobs:
close-stale-prs:
# don't run this workflow on a cron for forks
if: ${{ github.event_name != 'schedule' || github.repository == 'metabase/metabase' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/stale@v9
diff --git a/.github/workflows/tag-for-release.yml b/.github/workflows/tag-for-release.yml
index 0ff412cb8c1..1d5e4afe3d5 100644
--- a/.github/workflows/tag-for-release.yml
+++ b/.github/workflows/tag-for-release.yml
@@ -18,7 +18,7 @@ on:
jobs:
start-message:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
@@ -49,7 +49,7 @@ jobs:
}).catch(console.error);
check-version:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
outputs:
ee: ${{ fromJson(steps.canonical_version.outputs.result).ee }}
@@ -101,7 +101,7 @@ jobs:
return versions;
check-commit:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
steps:
- name: Check out the code to verify the release branch
@@ -134,7 +134,7 @@ jobs:
tag-uberjar-for-release:
needs: [check-version, check-commit]
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
strategy:
matrix:
diff --git a/.github/workflows/team-issues-slack-notification.yml b/.github/workflows/team-issues-slack-notification.yml
index e3309a65693..55231f2661d 100644
--- a/.github/workflows/team-issues-slack-notification.yml
+++ b/.github/workflows/team-issues-slack-notification.yml
@@ -7,7 +7,7 @@ on:
jobs:
on-team-label-added:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
if: |
contains(github.event.label.name, '.Team/') &&
diff --git a/.github/workflows/transforms-python-stress-test.yml b/.github/workflows/transforms-python-stress-test.yml
index 38b0402711a..532b567cfe6 100644
--- a/.github/workflows/transforms-python-stress-test.yml
+++ b/.github/workflows/transforms-python-stress-test.yml
@@ -29,7 +29,7 @@ jobs:
be-tests-bigquery-transforms:
# inputs.driver is empty on push triggers, so treat '' as 'all'
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'bigquery' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -77,7 +77,7 @@ jobs:
be-tests-clickhouse-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'clickhouse' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -137,7 +137,7 @@ jobs:
be-tests-mongo-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'mongo' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -188,7 +188,7 @@ jobs:
be-tests-mysql-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'mysql' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
services:
mysql:
@@ -243,7 +243,7 @@ jobs:
be-tests-postgres-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'postgres' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -299,7 +299,7 @@ jobs:
be-tests-redshift-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'redshift' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -345,7 +345,7 @@ jobs:
be-tests-snowflake-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'snowflake' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -400,7 +400,7 @@ jobs:
be-tests-sqlserver-transforms:
if: ${{ inputs.driver == 'all' || inputs.driver == '' || inputs.driver == 'sqlserver' }}
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 60
env:
CI: 'true'
@@ -461,7 +461,7 @@ jobs:
- be-tests-redshift-transforms
- be-tests-snowflake-transforms
- be-tests-sqlserver-transforms
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
name: transforms-stress-test-result
if: always() && !cancelled()
diff --git a/.github/workflows/translation-context.yml b/.github/workflows/translation-context.yml
index d67ac5d78cc..bd520e0e200 100644
--- a/.github/workflows/translation-context.yml
+++ b/.github/workflows/translation-context.yml
@@ -7,7 +7,7 @@ on:
jobs:
harvest:
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
permissions:
contents: read
steps:
diff --git a/.github/workflows/translation-update.yml b/.github/workflows/translation-update.yml
index e448ff8df21..370572d8472 100644
--- a/.github/workflows/translation-update.yml
+++ b/.github/workflows/translation-update.yml
@@ -17,7 +17,7 @@ jobs:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_TOKEN }}
GITHUB_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
GH_TOKEN: ${{ secrets.METABASE_AUTOMATION_USER_TOKEN }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- name: Checkout code
diff --git a/.github/workflows/uberjar.yml b/.github/workflows/uberjar.yml
index 9b381fbef16..07e5f986c6d 100644
--- a/.github/workflows/uberjar.yml
+++ b/.github/workflows/uberjar.yml
@@ -31,7 +31,7 @@ on:
jobs:
check-existing-artifacts:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
outputs:
ee_exists: ${{ steps.check-ee.outcome == 'success' }}
@@ -84,7 +84,7 @@ jobs:
if: |
!cancelled() &&
contains(github.ref, 'release-x')
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 10
outputs:
java_version: ${{ fromJson(steps.dependencies.outputs.result).java_version }}
@@ -118,7 +118,7 @@ jobs:
[check-existing-artifacts, get-build-requirements]
if: always() && !cancelled() && needs.check-existing-artifacts.outputs.should_build == 'true' && (needs.get-build-requirements.result == 'success' || needs.get-build-requirements.result == 'skipped')
name: Build MB ${{ matrix.edition }}
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 15
strategy:
matrix:
@@ -148,7 +148,7 @@ jobs:
edition: ${{ matrix.edition }}
check-jar-health:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
name: Is ${{ matrix.edition }} (java ${{ matrix.java-version }}) healthy?
needs: [build, check-existing-artifacts]
# We only care about the explicit JAR health check on push to `master` and the `release-` branches.
diff --git a/.github/workflows/update-e2e-timings.yml b/.github/workflows/update-e2e-timings.yml
index 69633acb3ad..a4a87798e83 100644
--- a/.github/workflows/update-e2e-timings.yml
+++ b/.github/workflows/update-e2e-timings.yml
@@ -18,7 +18,7 @@ on:
jobs:
collect-and-average-timings:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 30
env:
DAYS_BACK: ${{ inputs.days_back || 7 }}
diff --git a/.github/workflows/upgrade-deps.yml b/.github/workflows/upgrade-deps.yml
index 12a00be1ba2..5a84c5f33a6 100644
--- a/.github/workflows/upgrade-deps.yml
+++ b/.github/workflows/upgrade-deps.yml
@@ -18,7 +18,7 @@ permissions:
jobs:
bump-deps:
name: Open PRs to Bump Backend Deps
- runs-on: ubuntu-latest
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/whitespace.yml b/.github/workflows/whitespace.yml
index 191c5344f9b..814289978ba 100644
--- a/.github/workflows/whitespace.yml
+++ b/.github/workflows/whitespace.yml
@@ -10,7 +10,7 @@ on:
jobs:
whitespace-linter:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
diff --git a/.github/workflows/yaml.yml b/.github/workflows/yaml.yml
index 21245feaf1f..3d4646be880 100644
--- a/.github/workflows/yaml.yml
+++ b/.github/workflows/yaml.yml
@@ -10,7 +10,7 @@ on:
jobs:
files-changed:
name: Check which files changed
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 3
outputs:
yaml: ${{ steps.changes.outputs.yaml }}
@@ -24,7 +24,7 @@ jobs:
filters: .github/file-paths.yaml
yaml-linter:
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
if: needs.files-changed.outputs.yaml == 'true'
timeout-minutes: 10
steps:
diff --git a/docs/developers-guide/drivers/driver-tests.md b/docs/developers-guide/drivers/driver-tests.md
index 49ebaae4c6d..0bfb7134ce0 100644
--- a/docs/developers-guide/drivers/driver-tests.md
+++ b/docs/developers-guide/drivers/driver-tests.md
@@ -204,7 +204,7 @@ Here is an example configuration for PostgreSQL.
be-tests-postgres-latest-ee:
needs: files-changed
if: github.event.pull_request.draft == false && needs.files-changed.outputs.backend_all == 'true'
- runs-on: ubuntu-22.04
+ runs-on: ${{ vars.DEFAULT_RUNNER_KEY }}
timeout-minutes: 40
env:
CI: "true"