Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 1.5 KB

File metadata and controls

35 lines (27 loc) · 1.5 KB

Generated release gating jobs manager

This manager attempts to automatize step (2.) 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.
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

Example 1

    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:

Example 2

    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"

Makefile

Run make integration-tests to launch integration tests.