ocp-release
This is one of the ways to get the best candidate release for the ocp installation based on the version type you need (nightly or CI) and filtered by a condition which must be success.
Install it (Windows/macOS/Linux)
- To Install the binary in your system just get the latest release:
https://github.com/alknopfler/ocp-release/releases/latest
- Download the file for your OS distribution (Go Binary complied for several OS)
- Unzip/unTar the binary into a folder inside your $PATH
Use it
To show the instructions or the help message
./ocp-release -h
To get the best release candidate tag:
./ocp-release -v <version> -c <condition>
For example:
./ocp-release -v nightly -c assisted-metal
You could also match an array of conditions:
./ocp-release -v nightly -c assisted-metal aws metal-ipi