Skip to content

Commit e06d82b

Browse files
authored
ci: use Depot Ubuntu runners for faster CI (#271)
## Summary - Switch CI, release, and design-token sync workflows to the Depot Ubuntu 24.04 8-core runner - Update runner-specific workflow comments to match the new execution environment - Add a changeset for the workflow infrastructure update - This brings CI from 20min to 7min ## Testing - Not run (not requested)
1 parent 17edaf8 commit e06d82b

5 files changed

Lines changed: 21 additions & 17 deletions

File tree

.changeset/try-depot-runners.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
---
3+
4+
Try Depot Ubuntu 24.04 runners for GitHub Actions workflows.

.github/workflows/ci.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
openapi-lint:
18-
runs-on: ubuntu-latest
18+
runs-on: depot-ubuntu-24.04-4
1919
timeout-minutes: 5
2020
steps:
2121
- uses: actions/checkout@v6
@@ -27,7 +27,7 @@ jobs:
2727
run: npx --yes @redocly/cli@2.31.5 lint api/openapi/openapi-spec.yaml --format=github-actions
2828

2929
go-unit-test:
30-
runs-on: ubuntu-latest
30+
runs-on: depot-ubuntu-24.04-8
3131
timeout-minutes: 15
3232
steps:
3333
- uses: actions/checkout@v6
@@ -54,7 +54,7 @@ jobs:
5454
- run: go test -v -timeout=10m ./...
5555

5656
go-integration-test-postgres:
57-
runs-on: ubuntu-latest
57+
runs-on: depot-ubuntu-24.04-4
5858
timeout-minutes: 15
5959
steps:
6060
- uses: actions/checkout@v6
@@ -63,7 +63,7 @@ jobs:
6363
go-version-file: go.mod
6464
cache: true
6565
# Postgres integration tests run against a Docker testcontainer (mirroring
66-
# the spanner job); ubuntu-latest ships Docker, so no embedded-postgres
66+
# the spanner job); the Depot Ubuntu runner ships Docker, so no embedded-postgres
6767
# runtime deps or Maven binary cache are needed here.
6868
- name: Postgres integration tests
6969
run: |
@@ -80,7 +80,7 @@ jobs:
8080
retention-days: 7
8181

8282
go-integration-test-spanner:
83-
runs-on: ubuntu-latest
83+
runs-on: depot-ubuntu-24.04-4
8484
timeout-minutes: 15
8585
steps:
8686
- uses: actions/checkout@v6
@@ -93,7 +93,7 @@ jobs:
9393
- run: go test -v -tags spanner_integration -timeout=10m ./...
9494

9595
goreleaser-snapshot:
96-
runs-on: ubuntu-latest
96+
runs-on: depot-ubuntu-24.04-8
9797
timeout-minutes: 20
9898
needs: [go-unit-test, go-integration-test-postgres, go-integration-test-spanner, node-check]
9999
steps:
@@ -145,7 +145,7 @@ jobs:
145145
- name: Export Docker image for smoke tests
146146
run: |
147147
# Goreleaser builds linux/amd64 and linux/arm64 with the same tag; pin amd64
148-
# for ubuntu-latest smoke jobs (see quickstart-smoke).
148+
# for the linux/amd64 smoke jobs (see quickstart-smoke).
149149
IMAGE_ID=""
150150
IMAGE_REF=""
151151
for id in $(docker images ghcr.io/zitadel/nextgen --format '{{.ID}}' | sort -u); do
@@ -178,7 +178,7 @@ jobs:
178178
retention-days: 7
179179

180180
go-smoke-test-embedded-postgres:
181-
runs-on: ubuntu-latest
181+
runs-on: depot-ubuntu-24.04-4
182182
timeout-minutes: 15
183183
needs: [goreleaser-snapshot]
184184
steps:
@@ -233,7 +233,7 @@ jobs:
233233
234234
235235
node-check:
236-
runs-on: ubuntu-latest
236+
runs-on: depot-ubuntu-24.04-8
237237
timeout-minutes: 15
238238
steps:
239239
- uses: actions/checkout@v6
@@ -270,7 +270,7 @@ jobs:
270270
# package manifests/changelogs and *removes* changesets (consuming them),
271271
# which would otherwise trip this gate.
272272
if: github.event_name == 'pull_request' && github.head_ref != 'changeset-release/main'
273-
runs-on: ubuntu-latest
273+
runs-on: depot-ubuntu-24.04-4
274274
timeout-minutes: 5
275275
steps:
276276
- uses: actions/checkout@v6
@@ -284,7 +284,7 @@ jobs:
284284
node scripts/check-changeset-required.mjs --base "origin/${{ github.base_ref }}"
285285
286286
quickstart-smoke:
287-
runs-on: ubuntu-latest
287+
runs-on: depot-ubuntu-24.04-4
288288
timeout-minutes: 20
289289
needs: [goreleaser-snapshot]
290290
env:
@@ -440,7 +440,7 @@ jobs:
440440
fi
441441
442442
node-e2e:
443-
runs-on: ubuntu-latest
443+
runs-on: depot-ubuntu-24.04-4
444444
timeout-minutes: 15
445445
steps:
446446
- uses: actions/checkout@v6
@@ -511,7 +511,7 @@ jobs:
511511
retention-days: 7
512512

513513
npm-pack-smoke:
514-
runs-on: ubuntu-latest
514+
runs-on: depot-ubuntu-24.04-4
515515
timeout-minutes: 15
516516
needs: node-check
517517
steps:
@@ -565,7 +565,7 @@ jobs:
565565
retention-days: 7
566566

567567
consumer-journey-e2e:
568-
runs-on: ubuntu-latest
568+
runs-on: depot-ubuntu-24.04-4
569569
timeout-minutes: 35
570570
needs: [goreleaser-snapshot, npm-pack-smoke]
571571
steps:

.github/workflows/release-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ concurrency:
4949

5050
jobs:
5151
release:
52-
runs-on: ubuntu-latest
52+
runs-on: depot-ubuntu-24.04-8
5353
steps:
5454
# Mint a short-lived installation token for the release GitHub App so the
5555
# changesets PR/commits trigger CI (GITHUB_TOKEN-authored ones do not).

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
jobs:
2222
goreleaser:
23-
runs-on: ubuntu-latest
23+
runs-on: depot-ubuntu-24.04-8
2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v6

.github/workflows/sync-design-tokens.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ permissions:
2626

2727
jobs:
2828
sync:
29-
runs-on: ubuntu-latest
29+
runs-on: depot-ubuntu-24.04-4
3030
steps:
3131
- uses: actions/checkout@v6
3232

0 commit comments

Comments
 (0)