This manager attempts to automatize step (1.) 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.
If not specified, the manager defaults --mirroring-services
dir to core-services/release-controller/_repos
The previous paths are 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 --mirroring-services
path can be overridden:
OCP_LIFECYCLE_CONFIG_FULLPATH="/full/path/to/ocplifecycle.yaml"
RPM_DEPS_MIRRORING_SERVICES_FULLPATH="/full/path/to/rpm/deps/mirroring/services"
$ ./generated-release-gating-jobs \
--lifecycle-config "$OCP_LIFECYCLE_CONFIG_FULLPATH" \
--mirroring-services "$RPM_DEPS_MIRRORING_SERVICES_FULLPATH"
Run make integration-tests
to launch integration tests.