migrate GHA workflows to using single runner labels (#20581)

This commit is contained in:
Dianne Laguerta
2024-05-16 05:35:10 -07:00
committed by GitHub
parent 898dddc5db
commit cabdd7eddb
3 changed files with 6 additions and 10 deletions

View File

@@ -4,11 +4,7 @@
self-hosted-runner:
# Labels of self-hosted runner in array of string
labels:
- custom
- xl
- 22.04
- linux
- xxl
- 20.04
- custom-windows-medium
- windows-2019-16core
- custom-linux-xxl-nomad-20.04
- custom-linux-xl-nomad-22.04

View File

@@ -76,7 +76,7 @@ jobs:
build-other:
needs: [get-go-version, get-product-version]
runs-on: [ custom, linux, xxl, 20.04 ]
runs-on: custom-linux-xxl-nomad-20.04
strategy:
matrix:
goos: [windows]
@@ -128,7 +128,7 @@ jobs:
build-linux:
needs: [get-go-version, get-product-version]
runs-on: [ custom, linux, xxl, 20.04 ]
runs-on: custom-linux-xxl-nomad-20.04
strategy:
matrix:
goos: [linux]
@@ -304,7 +304,7 @@ jobs:
needs:
- get-product-version
- build-linux
runs-on: [ custom, linux, xxl, 20.04 ]
runs-on: custom-linux-xxl-nomad-20.04
strategy:
matrix:
arch: ["arm64", "amd64"]

View File

@@ -85,7 +85,7 @@ jobs:
make dev
tests-api:
needs: [mods]
runs-on: [custom, xl, 22.04]
runs-on: custom-linux-xl-nomad-22.04
timeout-minutes: 8
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1