This tool packages oc-mirror and all dependencies to mirror OCP artifacts and operators to an ACR.
To build a container image and push it to the service ACR, run
make build-push
oc-mirror and the required configurations are deployed as Azure Container App
via the dev-infrastructure/templates/global-image-sync.bicep
template.
To run oc-mirror locally, you need to have an active Azure CLI session.
To dry-run the OCP mirror, run
make ocp-dry-run
The test mirror-configuration can be found in the test
directory.
To dry-run the ACM/MCE operator mirror, run
make acm-dry-run
The test mirror-configuration can be found in the test
directory.