mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-10-07 08:08:55 +00:00
ci(workflows): prefer seahaven-ubuntu when the runner pool is up
This commit is contained in:
parent
ee6102f52f
commit
f6009a1bcc
14 changed files with 38 additions and 19 deletions
|
|
@ -14,7 +14,8 @@ permissions:
|
||||||
contents: read
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
dependency-review:
|
dependency-review:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
|
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
|
||||||
|
|
|
||||||
3
.github/workflows/callable-labeler.yaml
vendored
3
.github/workflows/callable-labeler.yaml
vendored
|
|
@ -35,7 +35,8 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
steps:
|
steps:
|
||||||
- name: Write central label rules
|
- name: Write central label rules
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
3
.github/workflows/ci-autofix.yaml
vendored
3
.github/workflows/ci-autofix.yaml
vendored
|
|
@ -88,7 +88,8 @@ jobs:
|
||||||
autofix:
|
autofix:
|
||||||
name: autofix
|
name: autofix
|
||||||
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }}
|
if: ${{ github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork }}
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-autofix-${{ github.workflow }}-${{ github.ref }}
|
group: ci-autofix-${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
|
||||||
3
.github/workflows/ci-docker.yaml
vendored
3
.github/workflows/ci-docker.yaml
vendored
|
|
@ -48,7 +48,8 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
name: docker
|
name: docker
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-docker-${{ github.workflow }}-${{ github.ref }}-${{ inputs.context }}-${{ inputs.dockerfile }}-docker
|
group: ci-docker-${{ github.workflow }}-${{ github.ref }}-${{ inputs.context }}-${{ inputs.dockerfile }}-docker
|
||||||
|
|
|
||||||
3
.github/workflows/ci-dotnet.yaml
vendored
3
.github/workflows/ci-dotnet.yaml
vendored
|
|
@ -25,7 +25,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-dotnet-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
group: ci-dotnet-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
||||||
|
|
|
||||||
15
.github/workflows/ci-frontend.yaml
vendored
15
.github/workflows/ci-frontend.yaml
vendored
|
|
@ -47,7 +47,8 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
guard:
|
guard:
|
||||||
name: guard
|
name: guard
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-guard
|
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-guard
|
||||||
|
|
@ -152,7 +153,8 @@ jobs:
|
||||||
|
|
||||||
static:
|
static:
|
||||||
name: static
|
name: static
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-static
|
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-static
|
||||||
|
|
@ -177,7 +179,8 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: build
|
name: build
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-build
|
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-build
|
||||||
|
|
@ -201,7 +204,8 @@ jobs:
|
||||||
|
|
||||||
unit:
|
unit:
|
||||||
name: unit (${{ matrix.shard }})
|
name: unit (${{ matrix.shard }})
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-unit-${{ matrix.shard }}
|
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-unit-${{ matrix.shard }}
|
||||||
|
|
@ -234,7 +238,8 @@ jobs:
|
||||||
browser-smoke:
|
browser-smoke:
|
||||||
name: browser-smoke
|
name: browser-smoke
|
||||||
if: ${{ inputs.run-e2e }}
|
if: ${{ inputs.run-e2e }}
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 20
|
timeout-minutes: 20
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-browser-smoke
|
group: ci-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}-browser-smoke
|
||||||
|
|
|
||||||
3
.github/workflows/ci-mobile-ios.yaml
vendored
3
.github/workflows/ci-mobile-ios.yaml
vendored
|
|
@ -119,7 +119,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
js:
|
js:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: ${{ inputs.js-timeout-minutes }}
|
timeout-minutes: ${{ inputs.js-timeout-minutes }}
|
||||||
# cancel-in-progress is TRUE: superseding a push should abandon the older
|
# cancel-in-progress is TRUE: superseding a push should abandon the older
|
||||||
# CI run, which produces no external side effects.
|
# CI run, which produces no external side effects.
|
||||||
|
|
|
||||||
3
.github/workflows/ci-python-app.yaml
vendored
3
.github/workflows/ci-python-app.yaml
vendored
|
|
@ -31,7 +31,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
# The trailing segment of every group in this file is the job id written
|
# The trailing segment of every group in this file is the job id written
|
||||||
# out literally, NOT `${{ github.job }}`. In a called workflow that
|
# out literally, NOT `${{ github.job }}`. In a called workflow that
|
||||||
|
|
|
||||||
3
.github/workflows/ci-python-sam.yaml
vendored
3
.github/workflows/ci-python-sam.yaml
vendored
|
|
@ -49,7 +49,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-python-sam-${{ github.workflow }}-${{ github.ref }}-${{ inputs.source-dirs }}
|
group: ci-python-sam-${{ github.workflow }}-${{ github.ref }}-${{ inputs.source-dirs }}
|
||||||
|
|
|
||||||
3
.github/workflows/ci-static.yaml
vendored
3
.github/workflows/ci-static.yaml
vendored
|
|
@ -61,7 +61,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-static-${{ github.workflow }}-${{ github.ref }}
|
group: ci-static-${{ github.workflow }}-${{ github.ref }}
|
||||||
|
|
|
||||||
3
.github/workflows/ci-terraform.yaml
vendored
3
.github/workflows/ci-terraform.yaml
vendored
|
|
@ -48,7 +48,8 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
terraform:
|
terraform:
|
||||||
name: terraform
|
name: terraform
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-terraform-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
group: ci-terraform-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
||||||
|
|
|
||||||
3
.github/workflows/ci-typescript-cdk.yaml
vendored
3
.github/workflows/ci-typescript-cdk.yaml
vendored
|
|
@ -61,7 +61,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-typescript-cdk-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
group: ci-typescript-cdk-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,8 @@ permissions:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-typescript-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
group: ci-typescript-frontend-${{ github.workflow }}-${{ github.ref }}-${{ inputs.working-directory }}
|
||||||
|
|
|
||||||
6
.github/workflows/ci.yaml
vendored
6
.github/workflows/ci.yaml
vendored
|
|
@ -51,7 +51,8 @@ permissions:
|
||||||
jobs:
|
jobs:
|
||||||
isolation-tests:
|
isolation-tests:
|
||||||
name: isolation-tests
|
name: isolation-tests
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
@ -66,7 +67,8 @@ jobs:
|
||||||
|
|
||||||
actionlint:
|
actionlint:
|
||||||
name: actionlint
|
name: actionlint
|
||||||
runs-on: ubuntu-latest
|
# Org variable RUNNER_UBUNTU. seahaven-ubuntu when the pool can start a job, otherwise ubuntu-latest.
|
||||||
|
runs-on: "${{ vars.RUNNER_UBUNTU == 'seahaven-ubuntu' && 'seahaven-ubuntu' || 'ubuntu-latest' }}"
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue