Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/mirror_release_to_s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
mirror:
name: Mirror ${{ inputs.tags }}
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 120
permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/promote_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:
jobs:
promote:
name: Promote ${{ inputs.version }}
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
permissions:
contents: write
id-token: write
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# pull_request -- push (main), tags and dispatch run everything outright.
dynamic-ci-filter:
name: Dynamic CI Filter
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
if: github.event_name == 'pull_request'
# Per-job outputs are set at runtime, so they are re-exported here by name.
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:

trunk_check_runner:
name: Trunk Check runner [linux]
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
if: >-
!cancelled() &&
Expand Down Expand Up @@ -337,7 +337,7 @@ jobs:

build_pyo3:
name: Build context-py
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
if: >-
!cancelled() &&
Expand All @@ -355,7 +355,7 @@ jobs:

build_wasm:
name: Build context-js (WASM)
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
if: >-
!cancelled() &&
Expand All @@ -373,7 +373,7 @@ jobs:

gate:
name: PR Gate
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
# Branch-protection fan-in: one stable required context for this whole workflow.
# A matrix job skipped by its job-level `if:` reports a single check run under the
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pyo3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
# pull_request -- push (main), tags and dispatch run everything outright.
dynamic-ci-filter:
name: Dynamic CI Filter
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
if: github.event_name == 'pull_request'
# Per-job outputs are set at runtime, so they are re-exported here by name.
Expand All @@ -42,7 +42,7 @@ jobs:
token: ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }}

get-date-sha:
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
outputs:
date: ${{ steps.get-date-sha.outputs.date }}
sha: ${{ steps.get-date-sha.outputs.sha }}
Expand Down Expand Up @@ -309,7 +309,7 @@ jobs:
needs.get-date-sha.result == 'success' &&
(github.event_name != 'pull_request' ||
needs.dynamic-ci-filter.outputs.sdist != 'false')
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
steps:
- uses: actions/checkout@v4
- name: Setup Rust & Cargo
Expand Down Expand Up @@ -339,15 +339,15 @@ jobs:
publish-annotation:
needs: [get-date-sha, linux, macos, sdist]
if: always() && github.event_name != 'pull_request' && needs.linux.result == 'success' && needs.macos.result == 'success' && needs.sdist.result == 'success'
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
steps:
- name: Annotate workflow with S3 reference
run: |
echo "::notice title=Published bindings::context-py bindings published to S3 at ${{ needs.get-date-sha.outputs.reference }}"

gate:
name: context-py Gate
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
# Branch-protection fan-in: one stable required context for this whole workflow.
# A matrix job skipped by its job-level `if:` reports a single check run under the
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ jobs:

tag_and_release:
name: Tag and Release [ ${{ github.event.inputs.release_tag || inputs.release_tag }} ]
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [build_release, perform_smoke_test]
permissions:
contents: write
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_ruby_gem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions:

jobs:
ci-data:
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
outputs:
result: ${{ steps.fetch.outputs.result }}
steps:
Expand All @@ -43,7 +43,7 @@ jobs:
exclude: [head]
cross-gem:
name: ${{ matrix.platform == 'ruby' && 'Validate ruby platform gem' || format('Build gem for {0}', matrix.platform) }}
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: ci-data
strategy:
matrix:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
knapsack-pro-test-suite-token-rspec: ${{ secrets.KNAPSACK_PRO_TEST_SUITE_TOKEN_RSPEC }}

publish_ruby_gem:
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [test-ruby-gem, test-musl-gem]
steps:
- uses: actions/checkout@v4
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# pull_request -- push (main), tags and dispatch run everything outright.
dynamic-ci-filter:
name: Dynamic CI Filter
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
if: github.event_name == 'pull_request'
# Per-job outputs are set at runtime, so they are re-exported here by name.
Expand All @@ -36,7 +36,7 @@ jobs:
token: ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }}

build:
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
if: >-
!cancelled() &&
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:

build-ruby-gem:
name: Build Ruby gem
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
# Also runs when `test-ruby-gem-uploads` is wanted: it consumes this gem.
if: >-
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:

test-ruby-gem-uploads:
name: Test Ruby gem uploads
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [build-ruby-gem, dynamic-ci-filter]
if: >-
!cancelled() &&
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:

gate:
name: rspec Gate
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
# Branch-protection fan-in: one stable required context for this whole workflow.
# A matrix job skipped by its job-level `if:` reports a single check run under the
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/smoke_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
jobs:
determine_releases:
name: Determine Release Versions
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
outputs:
release: ${{ steps.set-releases.outputs.release }}
rspec_release: ${{ steps.set-releases.outputs.rspec_release }}
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:

download_ruby_gem:
name: Download Ruby gem from release
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: determine_releases
steps:
- name: Checkout
Expand All @@ -154,7 +154,7 @@ jobs:

test_ruby_gem_staging:
name: Test Ruby gem on staging
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: download_ruby_gem
steps:
- name: Checkout
Expand All @@ -181,7 +181,7 @@ jobs:

test_ruby_gem_production:
name: Test Ruby gem on production
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: download_ruby_gem
steps:
- name: Checkout
Expand Down Expand Up @@ -213,7 +213,7 @@ jobs:
- build_cli
- test_ruby_gem_production
- determine_releases
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
permissions:
actions: read
env:
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
- build_cli
- test_ruby_gem_staging
- determine_releases
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
permissions:
actions: read
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/smoke_test_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:

build_ruby_gem:
name: Build Ruby gem from main
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
outputs:
version-with-sha: ${{ steps.get-sha.outputs.version-with-sha }}
steps:
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:

test_ruby_gem_staging:
name: Test Ruby gem on staging
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: build_ruby_gem
steps:
- name: Checkout
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:

test_ruby_gem_production:
name: Test Ruby gem on production
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: build_ruby_gem
steps:
- name: Checkout
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
- build_cli
- test_cli
- test_ruby_gem_production
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
permissions:
actions: read
env:
Expand Down Expand Up @@ -302,7 +302,7 @@ jobs:
- build_cli
- test_cli
- test_ruby_gem_staging
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
permissions:
actions: read
env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# pull_request -- push (main), tags and dispatch run everything outright.
dynamic-ci-filter:
name: Dynamic CI Filter
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
if: github.event_name == 'pull_request'
# Per-job outputs are set at runtime, so they are re-exported here by name.
Expand All @@ -34,7 +34,7 @@ jobs:
token: ${{ secrets.TRUNK_PROD_ORG_API_TOKEN }}

build:
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
needs: [dynamic-ci-filter]
if: >-
!cancelled() &&
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:

gate:
name: context-js Gate
runs-on: ubuntu-latest
runs-on: "${{ vars.CI_RUNNER_OVERRIDE == 'hosted' && 'ubuntu-latest' || format('trunk-staging={0}-{1}..size=medium..memory=high', github.run_id, github.run_attempt) }}"
timeout-minutes: 5
# Branch-protection fan-in: one stable required context for this whole workflow.
# A matrix job skipped by its job-level `if:` reports a single check run under the
Expand Down
Loading