This repository contains a collection of Tekton resources and helpers designed to support building and running operator checks in the Konflux CI pipelines. The goal is to provide a trusted set of operator testing tasks that can be used to ensure the quality of the operator images that are built in the Konflux CI system.
The tasks within this repository were migrated from the Konflux build definitions repository, which now holds the base build pipeline definitions and templates that reference these tasks.
This repository is organized into several key directories, each serving a specific purpose for Tekton-related resources.
The tasks directory contains standardized Tekton tasks that are used to run different kinds of verifications for operator container builds.
To add a new task, create a .yaml file inside the tasks/<your-task-name>/0.1/ directory. Ensure it follows the Tekton Task specification, is well-documented (add README.md file), well-versioned and includes example usage.
Refer to the Building Tekton tasks as bundles in Konflux guide for details on how to onboard the new Tekton tasks to Konflux, enabling their integration into the Konflux build pipelines.
We follow a versioning strategy to ensure updates don’t break existing workflows.
A new version of a task should be created if:
- The task’s interface changes (e.g., parameters, workspaces, or result names are modified).
- New functionality is introduced that isn’t backward compatible.
- A critical bug fix requires an updated implementation.
Each version should be clearly labeled to avoid breaking existing pipelines. A MIGRATION.md file needs to be supplied containing instructions for migrating to the new version of the task.
The policies directory contains the Conforma policies that need to be applied when building bundle images of individual tasks.
The task-generator directory contains a collection of tools used for generating various versions of tasks.
The hack directory contains the various scripts that are used during the CI runs of the build/test/release workflow for the individual Tekton tasks.