This component can be used for testing Konflux—especially on a local setup (for example when running on Kind).
You can fork it and adjust the pipelines so they reference your fork.
To simplify initial local deployments, the pipelines are configured so that images are pushed to a local registry deployed on the cluster.
Consult the Konflux CI documentation for using external image registries.
Konflux maintains two related repositories:
| Repository | Role |
|---|---|
| konflux-ci/testrepo-updater | Updater — onboarded to Red Hat Konflux (Mintmaker, builds, .tekton/ pipelines). This is where day-to-day changes belong. |
| konflux-ci/testrepo | Public sample — intended to look like a repo users fork before Konflux onboarding (no .tekton/ in the default tree). Content is produced by mirroring from the updater. |
Make changes in konflux-ci/testrepo-updater, not in konflux-ci/testrepo directly.
Pull requests, pipeline tweaks, application source, and documentation updates should target the updater. The mirror overwrites konflux-ci/testrepo on each successful run, so edits made only on the public repo would be lost.
When changes land on the default branch of the updater, a GitHub Actions workflow:
- Copies the repository to a staging tree (excluding updater-only automation such as the mirror scripts and workflow).
- Moves Konflux-generated
.tekton/definitions intopipelines/(the layout expected for the public sample). - Removes
metadata.namespacefrom Tekton YAML underpipelines/, then setsmetadata.namespace: default-tenanton eachPipelineRunso copies users paste into a fork match the Kind demo tenant namespace (default-tenantin the Konflux CI docs). - Rewrites
output-imageparameters from Konfluxquay.io/redhat-user-workloads/...values to the internal-registry style used in the sample (registry-service.kind-registry/testrepo:…). - Renames Konflux pipeline files to
pipelines/testrepo-pull-request.yamlandpipelines/testrepo-push.yaml. - Replaces the
mainbranch of konflux-ci/testrepo with that staging tree (using credentials from repository secrets).
If the workflow fails, an issue is opened on the updater repository for investigation.
Fork konflux-ci/testrepo when you want a clean sample without Konflux metadata yet. For collaboration on the upstream Konflux sample itself, use the updater repository as described above.