This manager attempts to automatize step (2.) of "Few weeks before code freeze" phase.
Check Notes no how to specify paths out first.
The --lifecycle-config
switch is always mandatory and it has to point to a valid ocplifecycle.yaml
config file.
The --release-repo-path
has to point to the openshift/release
folder.
When is specified and no others configurations are provided, the manager defaults --release-gating
dir to ./ci-operator/config/openshift/release
The previous path is relative to --release-repo-path
OCP_LIFECYCLE_CONFIG_FULLPATH="/full/path/to/ocplifecycle.yaml"
RELEASE_PROJECT_FULLPATH="/full/path/to/release/project"
$ ./generated-release-gating-jobs \
--lifecycle-config "$OCP_LIFECYCLE_CONFIG_FULLPATH" \
--release-repo-path "$RELEASE_PROJECT_FULLPATH"
Alternatively release-gatings jobs path can be overridden:
OCP_LIFECYCLE_CONFIG_FULLPATH="/full/path/to/ocplifecycle.yaml"
RELEASE_GATING_JOBS_DIR_FULLPATH="/full/path/to/release/gating/jobs/dir"
$ ./generated-release-gating-jobs \
--lifecycle-config "$OCP_LIFECYCLE_CONFIG_FULLPATH" \
--release-jobs "$RELEASE_GATING_JOBS_DIR_FULLPATH"
Run make integration-tests
to launch integration tests.