Steps
A description of the various ci-operator
task types.
This section describes in detail some aspects of the implementation of
ci-operator
and associated programs, with the intent of serving as an
auxiliary guide for developers working with the
openshift/ci-tools
repository.
ci-operator
is at its core a task scheduling program. The input configuration
is processed and used to build a task graph, which is then executed until
completion, failure, or interruption. Thus, the execution flow of ci-operator
can be divided in these major phases:
In the code base, these phases correspond to the following modules in the
pkg
directory:
api
:
Go types used by all phasesload
:
I/O operations for typesregistry
:
configuration resolution using the step registryconfig
:
input configuration processingvalidation
:
input configuration validationdefaults
:
mapping from inputs to taskssteps
:
definitions for each task type, task executionA description of the various ci-operator
task types.