Skip to content

Commit 40de543

Browse files
committed
suggest using @bors try jobs=...
1 parent 89cfa84 commit 40de543

File tree

3 files changed

+7
-16
lines changed

3 files changed

+7
-16
lines changed

src/tests/ci.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,8 @@ get an optimized toolchain as fast as possible, for a crater run or performance
139139
even if it might not be working fully correctly.
140140

141141
If you want to run a custom CI job in a try build and make sure that it passes all tests and does
142-
not produce any compilation warnings, you can select CI jobs to be executed by adding lines
143-
containing `try-job: <job pattern>` to the PR description. All such specified jobs will be executed
144-
in the try build once the `@bors try` command is used on the PR.
142+
not produce any compilation warnings, you can select CI jobs to be executed by providing them in
143+
the bors command like so: `@bors try jobs=<job pattern>`.
145144

146145
Each pattern can either be an exact name of a job or a glob pattern that matches multiple jobs,
147146
for example `*msvc*` or `*-alt`. You can start at most 20 jobs in a single try build. When using

src/tests/ecosystem-test-jobs/fuchsia.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ Fuchsia builds as part of the suite of bors tests that run before a pull request
1818
is merged.
1919

2020
If you are worried that a pull request might break the Fuchsia builder and want
21-
to test it out before submitting it to the bors queue, simply add this line to
22-
your PR description:
23-
24-
> try-job: x86_64-fuchsia
25-
26-
Then when you `@bors try` it will pick the job that builds Fuchsia.
21+
to test it out before submitting it to the bors queue, simply ask bors to run
22+
the try job that builds the Fuchsia integration: `@bors try jobs=x86_64-fuchsia`.
2723

2824
## Building Fuchsia locally
2925

src/tests/ecosystem-test-jobs/rust-for-linux.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,8 @@ this sysroot. RfL uses several unstable compiler/language features, therefore
4040
this workflow notifies us if a given compiler change would break it.
4141

4242
If you are worried that a pull request might break the Rust for Linux builder
43-
and want to test it out before submitting it to the bors queue, simply add this
44-
line to your PR description:
45-
46-
> try-job: x86_64-rust-for-linux
47-
48-
Then when you `@bors try` it will pick the job that builds the Rust for Linux
49-
integration.
43+
and want to test it out before submitting it to the bors queue, simply ask
44+
bors to run the try job that builds the Rust for Linux integration:
45+
`@bors try jobs=x86_64-rust-for-linux`.
5046

5147
[rfl-ping]: ../../notification-groups/rust-for-linux.md

0 commit comments

Comments
 (0)