Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.48 KB

File metadata and controls

35 lines (27 loc) · 1.48 KB

RPM dependencies mirroring services

This manager attempts to automatize step (1.) of "Few weeks before code freeze" phase.

Usage

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

Example

    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:

Example

    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"

Makefile

Run make integration-tests to launch integration tests.