Skip to content

Commit 5544a60

Browse files
authored
ci: yeet depot runners in favour of GitHub runners (#23508)
Depot runners are running out of disk space and blocking builds. Temporarily switch the build and release jobs from depot runners to GitHub-hosted runners: - `ci.yaml` build job: `depot-ubuntu-22.04-8` → `ubuntu-latest` - `release.yaml` check-perms + release jobs: `depot-ubuntu-22.04-8` → `ubuntu-latest` **This is intended to be reverted once depot resolves their disk space issues.** > 🤖 This PR was created with the help of Coder Agents, and will be reviewed by my human. 🧑‍💻
1 parent 0a5b28c commit 5544a60

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ jobs:
10811081
needs:
10821082
- changes
10831083
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) && needs.changes.outputs.docs-only == 'false' && !github.event.pull_request.head.repo.fork
1084-
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-22.04' }}
1084+
runs-on: ubuntu-latest
10851085
permissions:
10861086
# Necessary to push docker images to ghcr.io.
10871087
packages: write

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ env:
3434
jobs:
3535
# Only allow maintainers/admins to release.
3636
check-perms:
37-
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
37+
runs-on: ubuntu-latest
3838
steps:
3939
- name: Allow only maintainers/admins
4040
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
@@ -61,7 +61,7 @@ jobs:
6161
release:
6262
name: Build and publish
6363
needs: [check-perms]
64-
runs-on: ${{ github.repository_owner == 'coder' && 'depot-ubuntu-22.04-8' || 'ubuntu-latest' }}
64+
runs-on: ubuntu-latest
6565
permissions:
6666
# Required to publish a release
6767
contents: write

0 commit comments

Comments
 (0)