-
Notifications
You must be signed in to change notification settings - Fork 240
document more external ci runners #1082
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
marcoieni
wants to merge
1
commit into
master
Choose a base branch
from
document-more-external-ci-runners
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+62
−4
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,6 +28,10 @@ Here is an explanation of the fields in the list below: | |
| This determines the maximum number of GitHub Actions jobs that can run on the runner. | ||
| The concurrency is shared among repositories. If all runners are busy, GitHub Actions will queue | ||
| the jobs until a runner is available. | ||
| - `runs-on`: The label(s) that you should use in the `runs-on` field of a GitHub Actions workflow to | ||
| run this runner. | ||
| To check where a runner is used, search for the label in | ||
| [GitHub Search](https://github.com/search?q=org%3Arust-lang%20%5B%22self-hosted%22%2C%20%22linux%22%2C%20%22powerpc64%22%2C%20%22musl%22%5D&type=code). | ||
| - `repositories`: The repositories that are enabled to use the runner. To add your repository to the | ||
| list, please open a PR to this file. | ||
| Make sure the workflow you want to run the runner on passes [`zizmor`](https://zizmor.sh/). | ||
|
|
@@ -39,19 +43,73 @@ Here is an explanation of the fields in the list below: | |
| ### `powerpc64-unknown-linux-musl` | ||
|
|
||
| - max concurrency: 4 | ||
| - `runs-on`: `["self-hosted", "linux", "powerpc64", "musl"]` | ||
| - repositories: | ||
| - [`compiler-builtins`](https://github.com/rust-lang/compiler-builtins) | ||
| - [`libc`](https://github.com/rust-lang/libc) | ||
| - [example workflow](https://github.com/rust-lang/compiler-builtins/pull/1219) | ||
| - contact: | ||
| - Zulip: [Aelin](https://rust-lang.zulipchat.com/#user/338253) | ||
| - Email: `aelin@postmarketos.org` (faster response) | ||
|
|
||
| ### `ubuntu-2X.04-riscv` | ||
|
|
||
| - variants: | ||
| - `ubuntu-24.04-riscv` | ||
| - `ubuntu-26.04-riscv` | ||
| - `runs-on`: | ||
| - `ubuntu-24.04-riscv` for the Ubuntu 24 runner. | ||
| - `ubuntu-26.04-riscv` for the Ubuntu 26 runner. | ||
| - repositories: | ||
| - [`rustc_codegen_cranelift`](https://github.com/rust-lang/rustc_codegen_cranelift) (enabled, unused) | ||
| - [documentation](https://riscv-runners.riseproject.dev/) | ||
|
|
||
| ## `powerpc64le-unknown-linux-gnu` | ||
|
|
||
| - `runs-on`: `ubuntu-24.04-ppc64le` | ||
| - type: [IBM runners](#ibm-runners) | ||
|
|
||
| ## `s390x-unknown-linux-gnu` | ||
|
|
||
| This target is available in various external runners. | ||
|
|
||
| ### Canonical runner | ||
|
|
||
| - `runs-on`: `self-hosted-linux-s390x-resolute-medium-rust` | ||
| - repositories: it works on all repositories, there's no need to enable it. | ||
| - type: [Canonical runners](#canonical-runners). | ||
|
|
||
| ### IBM runner | ||
|
|
||
| - `runs-on`: `ubuntu-24.04-s390x` | ||
| - type: [IBM runners](#ibm-runners). | ||
|
|
||
| ## Types of runners | ||
|
|
||
| This section groups info common to more than one runner. | ||
|
|
||
| ### Canonical runners | ||
|
|
||
| - max concurrency: 10 | ||
| - [GitHub App](https://github.com/organizations/rust-lang/settings/installations/142169754) | ||
| - [Operator Repository](https://github.com/canonical/github-runner-operator) | ||
| - contact: downtimes are reported in the | ||
| [Canonical Runners downtime Zulip topic](https://rust-lang.zulipchat.com/#narrow/channel/242791-t-infra/topic/Canonical.20Runners.20downtime/with/609185710) | ||
| - repositories: the app is installed org-wide, so all repositories can use the runners. | ||
|
|
||
| ### IBM runners | ||
|
|
||
| - [GitHub App](https://github.com/apps/power-z-gha-runner/) | ||
| - repositories: | ||
| - [libc](https://github.com/rust-lang/libc) | ||
| - [stdarch](https://github.com/rust-lang/stdarch) | ||
| - [compiler-builtins](https://github.com/rust-lang/compiler-builtins) | ||
|
|
||
| We can't install this GitHub App in the `rust-lang/rust` repository | ||
| because the app requires admin permission to run. | ||
| See [this](https://github.com/IBM/actionspz/issues/20) GitHub issue for more info. | ||
|
|
||
| <details> | ||
| <summary><i>Infrastructure details</i></summary> | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added this "dropdown" so that it's clear that this is only relevant to the infra team and people don't waste their time reading it. |
||
|
|
||
| - We installed the GitHub App from the | ||
| [rust-lang-owner](https://github.com/rust-lang-owner) user account. | ||
| - The runners were requested in [this](https://github.com/IBM/actionspz/issues/24) and the linked GitHub issues. | ||
|
|
||
| </details> | ||
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.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the workflow because I prefer to write directly the
runs-onhere.Also, above I explained how people can check where a runner is used by using GitHub search.
View changes since the review