ci: switch workflows to self-hosted lab runners#28
Merged
Conversation
Replace ubicloud-standard-2/4 with [self-hosted, lab-small/lab-large] so CI jobs run on the lab fleet instead of Ubicloud. Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Pull request overview
This PR updates RustFS GitHub Actions workflows to replace Ubicloud runner labels with self-hosted lab runner labels ([self-hosted, lab-small] / [self-hosted, lab-large]) so CI workloads queue on the lab fleet instead of Ubicloud.
Changes:
- Switched
runs-onfromubicloud-standard-*to[self-hosted, lab-small|lab-large]across 8 workflows. - Updated
build.yml’s Linux build matrix entries somatrix.osuses["self-hosted","lab-small"]for multi-label runner selection. - Left select workflows on
ubuntu-latestas-is (per PR description).
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/ci.yml | Move CI jobs to lab-small/lab-large self-hosted runners. |
| .github/workflows/build.yml | Move build/release jobs to lab runners; update Linux matrix runner labels. |
| .github/workflows/docker.yml | Move Docker workflow jobs to lab runners. |
| .github/workflows/audit.yml | Move audit/dependency review jobs to lab runners. |
| .github/workflows/performance.yml | Move performance profiling/bench jobs to lab runners. |
| .github/workflows/e2e-s3tests.yml | Move manual S3 tests workflow to lab runners. |
| .github/workflows/helm-package.yml | Move helm packaging/publish jobs to lab runners. |
| .github/workflows/issue-translator.yml | Move issue translation job to a lab runner. |
| @@ -95,7 +95,7 @@ jobs: | |||
| name: Typos | |||
| needs: skip-check | |||
| if: needs.skip-check.outputs.should_skip != 'true' | |||
| @@ -106,7 +106,7 @@ jobs: | |||
| name: Test and Lint | |||
| needs: skip-check | |||
| if: needs.skip-check.outputs.should_skip != 'true' | |||
| @@ -143,7 +143,7 @@ jobs: | |||
| name: Build RustFS Debug Binary | |||
| needs: skip-check | |||
| if: needs.skip-check.outputs.should_skip != 'true' | |||
| @@ -176,7 +176,7 @@ jobs: | |||
| name: End-to-End Tests | |||
| needs: [ skip-check, build-rustfs-debug-binary ] | |||
| if: needs.skip-check.outputs.should_skip != 'true' | |||
| @@ -223,7 +223,7 @@ jobs: | |||
| name: S3 Implemented Tests | |||
| needs: [ skip-check, build-rustfs-debug-binary ] | |||
| if: needs.skip-check.outputs.should_skip != 'true' | |||
Comment on lines
+43
to
44
| runs-on: [self-hosted, lab-small] | ||
| timeout-minutes: 15 |
| name: Dependency Review | ||
| runs-on: ubicloud-standard-2 | ||
| runs-on: [self-hosted, lab-small] | ||
| if: github.event_name == 'pull_request' |
| jobs: | ||
| build: | ||
| runs-on: ubicloud-standard-4 | ||
| runs-on: [self-hosted, lab-large] |
| performance-profile: | ||
| name: Performance Profiling | ||
| runs-on: ubicloud-standard-2 | ||
| runs-on: [self-hosted, lab-small] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issues
N/A
Summary of Changes
Replace Ubicloud runner labels (
ubicloud-standard-2,ubicloud-standard-4) with self-hosted lab runners ([self-hosted, lab-small]and[self-hosted, lab-large]) across all workflows that previously used Ubicloud.Workflows left on GitHub-hosted
ubuntu-latest(stale.yml,cla.yml,nix.yml,nix-flake-update.yml) are unchanged.Verification
ubicloudrunner references in the repository.make pre-commit: N/A (workflow-only change; no Rust code modified).Impact
CI jobs that previously ran on Ubicloud will now queue on self-hosted runners labeled
self-hosted+lab-smallorlab-large. Ensure the lab runner fleet is online and labeled before merging.Additional Notes
Linux build matrix entries in
build.ymluse["self-hosted", "lab-small"]formatrix.os; macOS and Windows matrix targets are unchanged.