This repository is for building the ACS (downstream) operator indexes on Konflux.
Comment in the PR /test <job_name>
(e.g. /test operator-index-ocp-v4-16-on-push
).
See more in our docs.
make clean && make valid-catalogs
- Make sure you logged in to the Konflux cluster.
- Make sure you checked out the latest master branch:
git checkout master && git pull
- Generate Release CR by running
./scripts/generate-releases.sh <staging|prod> > operator-index-release.yaml
. Usestaging
for test release andprod
for production one. - Apply generated Release CR to the cluster:
oc apply -f operator-index-release.yaml
- Monitor release using monitor release script. Release can have
Succeeded
orFailed
statuses
Run ./scripts/get-built-images.sh [COMMIT]
to fetch built operator catalog images for the provided COMMIT
for each supported OCP version.
Note: The script uses current branch commit if no COMMIT
argument provided.
Run ./scripts/monitor-release.sh [COMMIT]
to see the current status for the releases associated with the provided COMMIT
.
Note: The script uses current branch commit if no COMMIT
argument provided.
This directory contains two versions of the catalog, in subdirectories catalog-bundle-object
and catalog-csv-metadata
.
The former is expected by OpenShift versions up to and including 4.16, and the latter - by 4.17 and later.
See konflux docs.