History

ci: Switch to Namespace (#35835)

Follow-up to: - https://github.com/zed-industries/zed/pull/35826 Release Notes: - N/A

Peter Tripp committed 1 year agov0.199.1-pre

Commit 6dbd4981 parent da8da0810 files · +28 −35Browse files

Unified · Split

10 files
  1. .github/actionlint.yml +11 −16
  2. .github/workflows/bump_patch_version.yml +1 −1
  3. .github/workflows/ci.yml +7 −8
  4. .github/workflows/deploy_cloudflare.yml +1 −1
  5. .github/workflows/deploy_collab.yml +2 −2
  6. .github/workflows/eval.yml +1 −1
  7. .github/workflows/nix.yml +1 −1
  8. .github/workflows/randomized_tests.yml +1 −1
  9. .github/workflows/release_nightly.yml +2 −3
  10. .github/workflows/unit_evals.yml +1 −1
.github/actionlint.yml+11−16
@@ -13,22 +13,17 @@ self-hosted-runner: · 12 unmodified lines
1313 - windows-2025-16
1414 - windows-2025-32
1515 - windows-2025-64
16− # Buildjet Ubuntu 20.04 - AMD x86_64
17− - buildjet-2vcpu-ubuntu-2004
18− - buildjet-4vcpu-ubuntu-2004
19− - buildjet-8vcpu-ubuntu-2004
20− - buildjet-16vcpu-ubuntu-2004
21− - buildjet-32vcpu-ubuntu-2004
22− # Buildjet Ubuntu 22.04 - AMD x86_64
23− - buildjet-2vcpu-ubuntu-2204
24− - buildjet-4vcpu-ubuntu-2204
25− - buildjet-8vcpu-ubuntu-2204
26− - buildjet-16vcpu-ubuntu-2204
27− - buildjet-32vcpu-ubuntu-2204
28− # Buildjet Ubuntu 22.04 - Graviton aarch64
29− - buildjet-8vcpu-ubuntu-2204-arm
30− - buildjet-16vcpu-ubuntu-2204-arm
31− - buildjet-32vcpu-ubuntu-2204-arm
16+ # Namespace Ubuntu 20.04 (Release builds)
17+ - namespace-profile-16x32-ubuntu-2004
18+ - namespace-profile-32x64-ubuntu-2004
19+ - namespace-profile-16x32-ubuntu-2004-arm
20+ - namespace-profile-32x64-ubuntu-2004-arm
21+ # Namespace Ubuntu 22.04 (Everything else)
22+ - namespace-profile-2x4-ubuntu-2204
23+ - namespace-profile-4x8-ubuntu-2204
24+ - namespace-profile-8x16-ubuntu-2204
25+ - namespace-profile-16x32-ubuntu-2204
26+ - namespace-profile-32x64-ubuntu-2204
3227 # Self Hosted Runners
3328 - self-mini-macos
3429 - self-32vcpu-windows-2022
.github/workflows/bump_patch_version.yml+1−1
@@ -16,7 +16,7 @@ jobs: · 15 unmodified lines
1616 bump_patch_version:
1717 if: github.repository_owner == 'zed-industries'
1818 runs-on:
19− - github-16vcpu-ubuntu-2204
19+ - namespace-profile-16x32-ubuntu-2204
2020 steps:
2121 - name: Checkout code
2222 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
.github/workflows/ci.yml+7−8
@@ -137,7 +137,7 @@ jobs: · 136 unmodified lines
137137 github.repository_owner == 'zed-industries' &&
138138 needs.job_spec.outputs.run_tests == 'true'
139139 runs-on:
140− - github-8vcpu-ubuntu-2204
140+ - namespace-profile-8x16-ubuntu-2204
141141 steps:
142142 - name: Checkout repo
143143 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -168,7 +168,7 @@ jobs: · 24 unmodified lines
168168 needs: [job_spec]
169169 if: github.repository_owner == 'zed-industries'
170170 runs-on:
171− - github-8vcpu-ubuntu-2204
171+ - namespace-profile-4x8-ubuntu-2204
172172 steps:
173173 - name: Checkout repo
174174 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -221,7 +221,7 @@ jobs: · 46 unmodified lines
221221 github.repository_owner == 'zed-industries' &&
222222 (needs.job_spec.outputs.run_tests == 'true' || needs.job_spec.outputs.run_docs == 'true')
223223 runs-on:
224− - github-8vcpu-ubuntu-2204
224+ - namespace-profile-8x16-ubuntu-2204
225225 steps:
226226 - name: Checkout repo
227227 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -328,7 +328,7 @@ jobs: · 100 unmodified lines
328328 github.repository_owner == 'zed-industries' &&
329329 needs.job_spec.outputs.run_tests == 'true'
330330 runs-on:
331− - github-16vcpu-ubuntu-2204
331+ - namespace-profile-16x32-ubuntu-2204
332332 steps:
333333 - name: Add Rust to the PATH
334334 run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
@@ -380,7 +380,7 @@ jobs: · 45 unmodified lines
380380 github.repository_owner == 'zed-industries' &&
381381 needs.job_spec.outputs.run_tests == 'true'
382382 runs-on:
383− - github-8vcpu-ubuntu-2204
383+ - namespace-profile-16x32-ubuntu-2204
384384 steps:
385385 - name: Add Rust to the PATH
386386 run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
@@ -597,8 +597,7 @@ jobs: · 210 unmodified lines
597597 timeout-minutes: 60
598598 name: Linux x86_x64 release bundle
599599 runs-on:
600− - github-16vcpu-ubuntu-2204
601− # - buildjet-16vcpu-ubuntu-2004 # ubuntu 20.04 for minimal glibc
600+ - namespace-profile-16x32-ubuntu-2004 # ubuntu 20.04 for minimal glibc
602601 if: |
603602 startsWith(github.ref, 'refs/tags/v')
604603 || contains(github.event.pull_request.labels.*.name, 'run-bundling')
@@ -651,7 +650,7 @@ jobs: · 46 unmodified lines
651650 timeout-minutes: 60
652651 name: Linux arm64 release bundle
653652 runs-on:
654− - github-16vcpu-ubuntu-2204-arm
653+ - namespace-profile-32x64-ubuntu-2004-arm # ubuntu 20.04 for minimal glibc
655654 if: |
656655 startsWith(github.ref, 'refs/tags/v')
657656 || contains(github.event.pull_request.labels.*.name, 'run-bundling')
.github/workflows/deploy_cloudflare.yml+1−1
@@ -9,7 +9,7 @@ jobs: · 8 unmodified lines
99 deploy-docs:
1010 name: Deploy Docs
1111 if: github.repository_owner == 'zed-industries'
12− runs-on: github-16vcpu-ubuntu-2204
12+ runs-on: namespace-profile-16x32-ubuntu-2204
1313
1414 steps:
1515 - name: Checkout repo
.github/workflows/deploy_collab.yml+2−2
@@ -61,7 +61,7 @@ jobs: · 60 unmodified lines
6161 - style
6262 - tests
6363 runs-on:
64− - github-16vcpu-ubuntu-2204
64+ - namespace-profile-16x32-ubuntu-2204
6565 steps:
6666 - name: Install doctl
6767 uses: digitalocean/action-doctl@v2
@@ -94,7 +94,7 @@ jobs: · 26 unmodified lines
9494 needs:
9595 - publish
9696 runs-on:
97− - github-16vcpu-ubuntu-2204
97+ - namespace-profile-16x32-ubuntu-2204
9898
9999 steps:
100100 - name: Checkout repo
.github/workflows/eval.yml+1−1
@@ -32,7 +32,7 @@ jobs: · 31 unmodified lines
3232 github.repository_owner == 'zed-industries' &&
3333 (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-eval'))
3434 runs-on:
35− - github-16vcpu-ubuntu-2204
35+ - namespace-profile-16x32-ubuntu-2204
3636 steps:
3737 - name: Add Rust to the PATH
3838 run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
.github/workflows/nix.yml+1−1
@@ -20,7 +20,7 @@ jobs: · 19 unmodified lines
2020 matrix:
2121 system:
2222 - os: x86 Linux
23− runner: github-16vcpu-ubuntu-2204
23+ runner: namespace-profile-16x32-ubuntu-2204
2424 install_nix: true
2525 - os: arm Mac
2626 runner: [macOS, ARM64, test]
.github/workflows/randomized_tests.yml+1−1
@@ -20,7 +20,7 @@ jobs: · 19 unmodified lines
2020 name: Run randomized tests
2121 if: github.repository_owner == 'zed-industries'
2222 runs-on:
23− - github-16vcpu-ubuntu-2204
23+ - namespace-profile-16x32-ubuntu-2204
2424 steps:
2525 - name: Install Node
2626 uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
.github/workflows/release_nightly.yml+2−3
@@ -128,8 +128,7 @@ jobs: · 127 unmodified lines
128128 name: Create a Linux *.tar.gz bundle for x86
129129 if: github.repository_owner == 'zed-industries'
130130 runs-on:
131− - github-16vcpu-ubuntu-2204
132− # - buildjet-16vcpu-ubuntu-2004
131+ - namespace-profile-16x32-ubuntu-2004 # ubuntu 20.04 for minimal glibc
133132 needs: tests
134133 steps:
135134 - name: Checkout repo
@@ -169,7 +168,7 @@ jobs: · 33 unmodified lines
169168 name: Create a Linux *.tar.gz bundle for ARM
170169 if: github.repository_owner == 'zed-industries'
171170 runs-on:
172− - github-16vcpu-ubuntu-2204-arm
171+ - namespace-profile-32x64-ubuntu-2004-arm # ubuntu 20.04 for minimal glibc
173172 needs: tests
174173 steps:
175174 - name: Checkout repo
.github/workflows/unit_evals.yml+1−1
@@ -23,7 +23,7 @@ jobs: · 22 unmodified lines
2323 timeout-minutes: 60
2424 name: Run unit evals
2525 runs-on:
26− - github-16vcpu-ubuntu-2204
26+ - namespace-profile-16x32-ubuntu-2204
2727 steps:
2828 - name: Add Rust to the PATH
2929 run: echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"