Skip to content

Commit 9152539

Browse files
committed
Move to buildjet
1 parent 7c932c2 commit 9152539

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.github/workflows/ci.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ env:
3131

3232
jobs:
3333
lint:
34-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
34+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
3535
steps:
3636
- name: Checkout
3737
uses: actions/checkout@v3
@@ -132,7 +132,7 @@ jobs:
132132
133133
gen:
134134
timeout-minutes: 8
135-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
135+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
136136
needs: changes
137137
if: needs.changes.outputs.docs-only == 'false'
138138
steps:
@@ -244,7 +244,7 @@ jobs:
244244
run: ./scripts/check_unstaged.sh
245245

246246
test-go:
247-
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || matrix.os == 'windows-2019' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }}
247+
runs-on: ${{ matrix.os == 'ubuntu-latest' && github.repository_owner == 'coder' && 'buildjet-4vcpu-ubuntu-2204' || matrix.os == 'windows-2019' && github.repository_owner == 'coder' && 'windows-latest-8-cores'|| matrix.os }}
248248
timeout-minutes: 20
249249
strategy:
250250
matrix:
@@ -335,7 +335,7 @@ jobs:
335335
flags: unittest-go-${{ matrix.os }}
336336

337337
test-go-psql:
338-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
338+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
339339
# This timeout must be greater than the timeout set by `go test` in
340340
# `make test-postgres` to ensure we receive a trace of running
341341
# goroutines. Setting this to the timeout +5m should work quite well
@@ -413,7 +413,7 @@ jobs:
413413

414414
deploy:
415415
name: "deploy"
416-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
416+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
417417
timeout-minutes: 30
418418
needs: changes
419419
if: |
@@ -532,7 +532,7 @@ jobs:
532532
retention-days: 7
533533

534534
test-js:
535-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
535+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
536536
timeout-minutes: 20
537537
steps:
538538
- uses: actions/checkout@v3
@@ -574,7 +574,7 @@ jobs:
574574
needs:
575575
- changes
576576
if: needs.changes.outputs.docs-only == 'false'
577-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
577+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
578578
timeout-minutes: 20
579579
steps:
580580
- uses: actions/checkout@v3

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ env:
4040
jobs:
4141
release:
4242
name: Build and publish
43-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
43+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
4444
env:
4545
# Necessary for Docker manifest
4646
DOCKER_CLI_EXPERIMENTAL: "enabled"

.github/workflows/security.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323

2424
jobs:
2525
codeql:
26-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
26+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
2727
steps:
2828
- uses: actions/checkout@v3
2929

@@ -57,7 +57,7 @@ jobs:
5757
"${{ secrets.SLACK_SECURITY_FAILURE_WEBHOOK_URL }}"
5858
5959
trivy:
60-
runs-on: ${{ github.repository_owner == 'coder' && 'ubuntu-latest-8-cores' || 'ubuntu-latest' }}
60+
runs-on: ${{ github.repository_owner == 'coder' && 'buildjet-8vcpu-ubuntu-2204' || 'ubuntu-latest' }}
6161
steps:
6262
- uses: actions/checkout@v3
6363
with:

0 commit comments

Comments
 (0)