@@ -90,6 +90,10 @@ When generating a new personal access token, the scopes should contain
9090` repo:status ` and ` read:org ` . Note in particular, that ` repo ` and
9191` public_repo ` scopes each grant full push access, and should not be used.
9292
93+ You need at least "Write" access to the project for triggering statuses, either
94+ individually per repo (e.g. [ cockpit] ( https://github.com/cockpit-project/cockpit/settings/access )
95+ or for [ all cockpit-project repos] ( https://github.com/orgs/cockpit-project/teams/committers ) .
96+
9397If you'd like to download Red Hat-only internal images from S3, you'll
9498need to create a key file in ` ~/.config/cockpit-dev/s3-keys/[domain] ` .
9599The ` [domain] ` can be any non-toplevel domain which contains the S3 URL
@@ -124,7 +128,7 @@ For describing tests which we want to run we use __contexts__. A context has the
124128 image[/scenario][@bots#bots_pr][@owner/project/ref]
125129
126130where items have the following meaning:
127- - image: Name of the image on which tests should run (e.g. 'fedora-testing ').
131+ - image: Name of the image on which tests should run (e.g. 'fedora-coreos ').
128132- scenario: Name of a specific test. This is specific for each separate project and
129133 is passed verbatim to 'test/run' in ` $TEST_SCENARIO ` .
130134- bots_pr: Number of pull request that exists in bots repository. When specified,
@@ -134,28 +138,28 @@ where items have the following meaning:
134138- ref: Reference in the project (usually branch) (e.g. 'rhel-8.2'). Default is
135139 the project's primary branch.
136140
137- For example, context for scenario 'firefox' on 'fedora-testing ' is:
141+ For example, context for scenario 'firefox' on 'fedora-coreos ' is:
138142
139- fedora-testing /firefox
143+ fedora-coreos /firefox
140144
141145If we want to trigger it on 'cockpit-project/cockpit':
142146
143- fedora-testing /firefox@cockpit-project/cockpit
147+ fedora-coreos /firefox@cockpit-project/cockpit
144148
145149If we want to also not run it on the primary branch, but on 'rhel-8-0' branch:
146150
147- fedora-testing /firefox@cockpit-project/cockpit/rhel-8-0
151+ fedora-coreos /firefox@cockpit-project/cockpit/rhel-8-0
148152
149- If we want to run tests on 'fedora-testing ' but with bots from pull request '169':
153+ If we want to run tests on 'fedora-coreos ' but with bots from pull request '169':
150154
151- fedora-testing @bots#169
155+ fedora-coreos @bots#169
152156
153157### Retrying a failed test
154158
155- If you want to run the "fedora-testing " testsuite again for pull
159+ If you want to run the "fedora-coreos " testsuite again for pull
156160request #1234 of cockpit-project/cockpit, run tests-trigger like so:
157161
158- ./tests-trigger --repo cockpit-project/cockpit 1234 fedora-testing
162+ ./tests-trigger --repo cockpit-project/cockpit 1234 fedora-coreos
159163
160164You can also invoke bots/tests/trigger from any project checkout, in which case
161165you don't need the explicit ` --repo ` -- it will default to the GitHub origin of
@@ -165,7 +169,7 @@ the current directory's project.
165169
166170If you want to run all tests on pull request #1234 that has been opened by
167171someone who does not have push access to the repository nor isn't in the
168- [ Contributors team ] ( https://github.com/orgs/ cockpit-project/teams/contributors/members ) ,
172+ [ allowlist ] ( https://github.com/cockpit-project/bots/blob/main/lib/allowlist.py )
169173run tests-trigger with ` --allow ` :
170174
171175 ./tests-trigger --allow [...]
@@ -186,21 +190,21 @@ tests-trigger reads the repo. This has to be set per cockpit project.
186190Test images are refreshed automatically once per week, and even if the
187191last refresh has failed, the machines wait one week before trying again.
188192
189- If you want the machines to refresh the fedora-testing image immediately,
193+ If you want the machines to refresh the fedora-coreos image immediately,
190194run image-trigger like so:
191195
192- ./image-trigger fedora-testing
196+ ./image-trigger fedora-coreos
193197
194198### Creating new images for a pull request
195199
196200If as part of some new feature you need to change the content of some
197201or all images, you can ask the machines to create those images.
198202
199- If you want to have a new fedora-testing image for pull request #1234 , add
203+ If you want to have a new fedora-coreos image for pull request #1234 , add
200204a bullet point to that pull request's description like so, and add the
201205"bot" label to the pull request.
202206
203- * [ ] image-refresh fedora-testing
207+ * [ ] image-refresh fedora-coreos
204208
205209The machines will post comments to the pull request about their
206210progress and at the end there will be links to commits with the new
@@ -215,21 +219,6 @@ used as default OS for test VMs.
2152191 . If this is a new image, add ` _manual ` test contexts for the new image to ` lib/testmap.py ` , and land that into ` main ` .
2162202 . Create a PR that updates ` TEST_OS_DEFAULT ` in ` lib/constants.py ` , and trigger all tests for that image there.
217221
218- #### Fedora testing image
219-
220- The ` fedora-testing ` image is a Fedora image with updates-testing enabled,
221- the version of the image is determined by what the
222- ` fedora-testing.bootstrap ` symlink points too.
223-
224- To update the Fedora version used:
225-
226- 1 . Update the ` fedora-testing.bootstrap ` symlink to the latest Fedora
227- release.
228- 2 . Update the naughty symlink ` naughty/fedora-testing ` to the latest
229- Fedora release.
230- 3 . Create a new PR and refresh the image.
231-
232-
233222#### Fedora CoreOS
234223
235224The Fedora CoreOS image is updated to a new Fedora release out of our
0 commit comments