Skip to content

Commit efb5296

Browse files
committed
Mention labels, explain about retriggering
1 parent 096d17c commit efb5296

File tree

2 files changed

+22
-6
lines changed

2 files changed

+22
-6
lines changed

testing/buildbots.rst

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,22 @@ after each commit. In particular, reference leaks builds take several hours to
4848
complete so they are done periodically. This is why it's important for you to
4949
be able to check the results yourself, too.
5050

51-
Triggering a buildbot on a pull request
52-
=======================================
51+
Triggering buildbots on a pull request
52+
======================================
5353

54-
If you want a pull request tested against a given platform, you can trigger one
55-
or more build bots by posting a comment that begins with:
54+
To trigger buildbots on a pull request you need to be a CPython triager or a
55+
core developer. If you are not, ask someone to trigger them on your behalf.
56+
57+
The simplest way to trigger most buildbots on your PR is with the
58+
:gh-label:`🔨 test-with-buildbots` and :gh-label:`🔨 test-with-refleak-buildbots`
59+
labels. (See :ref:`github-pr-labels`.)
60+
61+
These will run buildbots on the most recent commit. If you want to trigger the
62+
buildbots again on a later commit, you'll have to remove the label and add it
63+
again.
64+
65+
If you want to test a pull request against specific platforms, you can trigger
66+
one or more build bots by posting a comment that begins with:
5667

5768
.. code-block:: none
5869
@@ -68,6 +79,10 @@ bedevere-bot will post a comment indicating which build bots, if
6879
any, were matched. If none were matched, or you do not have the
6980
necessary permissions to trigger a request, it will tell you that too.
7081

82+
The ``!buildbot`` comment will also only run buildbots on the most recent
83+
commit. To trigger the buildbots again on a later commit, you will have to
84+
repeat the comment.
85+
7186
Checking results of automatic builds
7287
====================================
7388

triage/labels.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ Other labels
135135

136136
.. _GitHub Labels for PRs:
137137
.. _github-pr-labels:
138-
139138
Labels specific to PRs
140139
======================
141140

@@ -158,9 +157,11 @@ to trigger specific bot behaviors.
158157
* :gh-label:`skip news <skip%20news>`: for PRs that don't need a NEWS entry.
159158
The :ref:`news-entry` section covers in details in which cases the NEWS entry
160159
can be skipped.
161-
* :gh-label:`test-with-buildbots`: used to test the latest commit with
160+
* :gh-label:`🔨 test-with-buildbots`: used to test the latest commit with
162161
the :ref:`buildbot fleet <buildbots>` whenever more testing is required
163162
before merging. This may take multiple hours to complete.
163+
* :gh-label:`🔨 test-with-refleak-buildbots`: Run the reference leak buildbots
164+
on the latest commit. Useful for when the code might be leaky.
164165
* :samp:`awaiting {action}`: these labels are applied and used by `bedevere`_
165166
to indicate the stage of a PR and should not be applied manually.
166167

0 commit comments

Comments
 (0)