ci: Moving the runs-on parameter in some Github workflows to use Buildjet (#12399)

This commit is contained in:
Arpit Mohan 2022-03-30 17:09:34 +02:00 committed by GitHub
parent 17a206c3dd
commit 6dcc00a9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 9 deletions

View File

@ -24,7 +24,7 @@ defaults:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: buildjet-8vcpu-ubuntu-2004
# Only run for internal PRs or commits to release or master # Only run for internal PRs or commits to release or master
if: | if: |
github.event.pull_request.head.repo.full_name == github.repository || github.event.pull_request.head.repo.full_name == github.repository ||

View File

@ -23,7 +23,7 @@ jobs:
(github.event_name == 'pull_request_review' && (github.event_name == 'pull_request_review' &&
github.event.review.state == 'approved' && github.event.review.state == 'approved' &&
github.event.pull_request.head.repo.full_name == github.repository) github.event.pull_request.head.repo.full_name == github.repository)
runs-on: ubuntu-latest runs-on: buildjet-8vcpu-ubuntu-2004
defaults: defaults:
run: run:
working-directory: app/client working-directory: app/client
@ -763,7 +763,33 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
job: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] job:
[
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
]
# Service containers to run with this job. Required for running tests # Service containers to run with this job. Required for running tests
services: services: