Drop all STI references, update pipeline page, drop obsolete pages #95

Merged
lecris merged 4 commits from adamwill/ci-docs:drop-sti into main 2026-07-20 22:03:40 +00:00
Owner

This drops all references to STI, updates the pipeline page to
cover what pipelines we still have and what they really do, and
drops several pages that are now obsolete. The nav sidebar and
index page are updated appropriately for the changes. We also
correct the pipeline section on the index page, cover Packit
there, and de-emphasize some Pagure stuff because there is no
pagure.io any more (while keeping bits that are relevant to
dist-git Pagure).

Signed-off-by: Adam Williamson awilliam@redhat.com

This drops all references to STI, updates the pipeline page to cover what pipelines we still have and what they really do, and drops several pages that are now obsolete. The nav sidebar and index page are updated appropriately for the changes. We also correct the pipeline section on the index page, cover Packit there, and de-emphasize some Pagure stuff because there is no pagure.io any more (while keeping bits that are relevant to dist-git Pagure). Signed-off-by: Adam Williamson <awilliam@redhat.com>
Drop all STI references, update pipeline page, drop obsolete pages
All checks were successful
CI / 📘 docs (pull_request) Successful in 9s
CI / ✅ Pass (pull_request) Successful in 13s
f119787b2b
This drops all references to STI, updates the pipeline page to
cover what pipelines we still have and what they really do, and
drops several pages that are now obsolete. The nav sidebar and
index page are updated appropriately for the changes. We also
correct the pipeline section on the index page, cover Packit
there, and de-emphasize some Pagure stuff because there is no
pagure.io any more (while keeping bits that are relevant to
dist-git Pagure).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
Author
Owner

Note: this removes the Testing Tests section from the Share Test Code page entirely at present. The existing example is STI-specific and broken. Ideally we would replace it with a TMT-based example that works, though, rather than deleting it. If someone can give me some references I'll try and improve that.

Note: this removes the [Testing Tests](https://docs.fedoraproject.org/en-US/ci/share-test-code/#_testing_tests) section from the Share Test Code page entirely at present. The existing example is STI-specific and broken. Ideally we would replace it with a TMT-based example that works, though, rather than deleting it. If someone can give me some references I'll try and improve that.
adamwill force-pushed drop-sti from f119787b2b
All checks were successful
CI / 📘 docs (pull_request) Successful in 9s
CI / ✅ Pass (pull_request) Successful in 13s
to c3b2876e3c
All checks were successful
CI / 📘 docs (pull_request) Successful in 10s
CI / ✅ Pass (pull_request) Successful in 13s
2026-07-17 23:38:12 +00:00
Compare
adamwill force-pushed drop-sti from c3b2876e3c
All checks were successful
CI / 📘 docs (pull_request) Successful in 10s
CI / ✅ Pass (pull_request) Successful in 13s
to feb40086cc
All checks were successful
CI / 📘 docs (pull_request) Successful in 9s
CI / ✅ Pass (pull_request) Successful in 13s
2026-07-18 00:02:44 +00:00
Compare
adamwill force-pushed drop-sti from feb40086cc
All checks were successful
CI / 📘 docs (pull_request) Successful in 9s
CI / ✅ Pass (pull_request) Successful in 13s
to b7a9b53623
All checks were successful
CI / 📘 docs (pull_request) Successful in 16s
CI / ✅ Pass (pull_request) Successful in 14s
2026-07-18 01:15:05 +00:00
Compare
Author
Owner

I added a few more commits with more spring cleaning and modernizations.

I added a few more commits with more spring cleaning and modernizations.
Replace more pagure.io links
All checks were successful
CI / 📘 docs (pull_request) Successful in 19s
CI / ✅ Pass (pull_request) Successful in 13s
f680209e78
The remaining ones still appear to be the canonical locations.
I've filed tickets on those repos asking them to move or declare
themselves archived.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
lecris approved these changes 2026-07-20 20:24:23 +00:00
lecris left a comment

LGTM as a first cleanup step. I suspect we need a bit more cleanups after glancing that onboarding-of-a-ci-system

LGTM as a first cleanup step. I suspect we need a bit more cleanups after glancing that `onboarding-of-a-ci-system`
@ -182,3 +99,1 @@
# fmf ls --filter "tier: 1 | component: checkpolicy"
/selinux-policy/policy-rpm-macros
/checkpolicy/sedispol
# fmf ls --filter "tier: 1 | component: libsepol"
Owner

Probably would be a good time to document the user to use

$ tmt run discover -v

instead. But the current works just as good

Probably would be a good time to document the user to use ``` $ tmt run discover -v ``` instead. But the current works just as good
Author
Owner

Do you want me to change this?

Do you want me to change this?
Owner

If you find a a way to squeeze it in sure, otherwise, it's not a blocker.

If you find a a way to squeeze it in sure, otherwise, it's not a blocker.
Author
Owner

hmm, it doesn't really fit in this doc, I don't think, as this is an example of tests shared between multiple packages, and we're specifically showing how to find exactly the tests from the shared repo that would be run with a specific filter config in the package repo, right? i.e. what we're doing here is showing how to figure out exactly what tests from the shared repo are run when the package repo has the filter tier: 1 | component: libsepol. It doesn't seem like tmt run discover really shows you that? It probably belongs on a different page...maybe the tmt page?

hmm, it doesn't really fit in this doc, I don't think, as this is an example of tests shared between multiple packages, and we're specifically showing how to find exactly the tests from the shared repo that would be run with a specific filter config in the package repo, right? i.e. what we're doing here is showing how to figure out exactly what tests from the shared repo are run when the package repo has the filter `tier: 1 | component: libsepol`. It doesn't seem like `tmt run discover` really shows you that? It probably belongs on a different page...maybe the tmt page?
Owner

tmt run discover is more explicit in showing the exact tests that would be run including whatever filters were applied (this bit), accounting for context manipulation (e.g. disabled tests), funky handling of refs (sometimes you tell it to checkout a ref, finds a file, and checkout another ref 🙈).

The fmf filter does cover 90% of the cases, but it does not separate tmt tests from plans. I think tmt tests ls does accept filters to at least add that bit of separation as well.

But anyway that's going into the weeds, will improve that bit later when some ideas of how to reorganize the whole section strikes

`tmt run discover` is more explicit in showing the exact tests that would be run including whatever filters were applied (this bit), accounting for context manipulation (e.g. disabled tests), funky handling of refs (sometimes you tell it to checkout a ref, finds a file, and checkout another ref 🙈). The `fmf` filter does cover 90% of the cases, but it does not separate tmt tests from plans. I think `tmt tests ls` does accept filters to at least add that bit of separation as well. But anyway that's going into the weeds, will improve that bit later when some ideas of how to reorganize the whole section strikes
Author
Owner

ok, you clearly know how it works better than me, please fix it however you like :D just try to keep with the overall intent of the doc.

ok, you clearly know how it works better than me, please fix it however you like :D just try to keep with the overall intent of the doc.
lecris marked this conversation as resolved
@ -23,3 +23,3 @@
Tests used across multiple components or OS releases can be stored in the *dist git test namespace* to share the test code and minimize maintenance.
Fetching tests from an *upstream project git* is also possible and supported by standard-test-roles (source role).
Fetching tests from an *upstream project git* is also possible and supported by TMT.
In order to prevent unexpected test failures caused by upstream changes it is sometimes better to reference a specific commit rather then branch.
Owner

The specific commit has not been adopted, maybe we can just drop. The rest down is even less adopted.

The specific commit has not been adopted, maybe we can just drop. The rest down is even less adopted.
adamwill marked this conversation as resolved
@ -5,3 +5,2 @@
Gating of packages based on test results is currently enabled on demand.
If you want to turn the gating on for your component create a new file `gating.yaml` in the root of the package dist git directory with the following content:
The https://forge.fedoraproject.org/infra/ansible/src/branch/main/roles/openshift-apps/greenwave/templates/fedora.yaml.j2[Fedora greenwave configuration] enforces some distribution-wide gating policies. Updates in most critical path groups (not the ones for non-release-blocking desktops) are gated on subsets of the https://fedoraproject.org/wiki/OpenQA[Fedora openQA] update test suite depending on which group(s) they are in. This gating is not optional and cannot be disabled.
Owner

Thanks for this update 🙂.

Just minor note, I think the style guide is to split at new sentence?

Thanks for this update 🙂. Just minor note, I think the style guide is to split at new sentence?
Author
Owner

I'm never totally sure where to split :D I can tweak this, though.

I'm never totally sure where to split :D I can tweak this, though.
Owner

Me neither, I had to check that this one follows that. I know the other pages like the packaging guideline a consistent like that at the very least

Me neither, I had to check that this one follows that. I know the other pages like the packaging guideline a consistent like that at the very least
adamwill marked this conversation as resolved
@ -69,0 +76,4 @@
Publishing results to the production ResultsDB instance requires authentication. You will need to ask the Infrastructure team for credentials for this. It is a good idea to test your reporting code against a local ResultsDB instance first.
CI systems may also publish standardized CI messages so the progress of the testing can be observed and the results can be acted upon by other services in the Fedora infrastructure.
There is a https://forge.fedoraproject.org/apps/ci-resultsdb-listener[system] that automatically forwards CI messages in certain formats to ResultsDB, so you may be able to avoid having explicit result reporting code.
Owner

Aren't we killing this one?

Aren't we killing this one?
Author
Owner

We're aiming to, but we didn't yet. I figured it's best to document what exists now, not what we hope to change it to, in case we don't get around to it or it turns out to be a bad idea...

We're aiming to, but we didn't yet. I figured it's best to document what exists now, not what we hope to change it to, in case we don't get around to it or it turns out to be a bad idea...
Owner

Can put a note pointing to the deprecation ticket at least?

Can put a note pointing to the deprecation ticket at least?
Author
Owner

Done.

Done.
adamwill marked this conversation as resolved
adamwill force-pushed drop-sti from f680209e78
All checks were successful
CI / 📘 docs (pull_request) Successful in 19s
CI / ✅ Pass (pull_request) Successful in 13s
to 3f3dcc41c5
All checks were successful
CI / 📘 docs (pull_request) Successful in 19s
CI / ✅ Pass (pull_request) Successful in 14s
2026-07-20 20:32:46 +00:00
Compare
adamwill force-pushed drop-sti from 3f3dcc41c5
All checks were successful
CI / 📘 docs (pull_request) Successful in 19s
CI / ✅ Pass (pull_request) Successful in 14s
to b9a737a769
All checks were successful
CI / 📘 docs (pull_request) Successful in 10s
CI / ✅ Pass (pull_request) Successful in 13s
2026-07-20 21:53:13 +00:00
Compare
lecris merged commit 1420fe3eea into main 2026-07-20 22:03:40 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ci/docs!95
No description provided.