Problem
Currently, when code changes land in OADP plugin repositories (e.g. openshift/openshift-velero-plugin), the updated images are not immediately available for end-to-end tests in the openshift/oadp-operator repository. Instead, the flow requires:
- Plugin PR merges (e.g. to
oadp-1.6 branch)
- CI builds and promotes the image
- The image mirroring job (configured via
core-services/image-mirroring/konveyor/mapping_konveyor_latest) mirrors the promoted image to quay.io
- Only then can OADP-operator e2e tests that depend on the updated plugin image pass
This delay blocks PRs in the OADP-operator repo that add or modify e2e tests exercising new plugin functionality. For example, oadp-operator#2328 is currently blocked waiting on openshift-velero-plugin#451 to merge and the resulting image to be mirrored.
Investigation Goal
Explore options for making plugin repo changes immediately available for OADP-operator e2e tests without waiting for the full mirror pipeline. Possible approaches to investigate:
- Using CI image overrides or
tag_specification to pull the plugin image directly from the CI registry
- Configuring
images stanzas in ci-operator config to build the plugin from source as part of the OADP-operator PR test
- Using
image_stream_tag references that resolve to the latest promoted (but not yet mirrored) image
- Any other mechanism to short-circuit the mirror dependency for pre-merge testing
Acceptance Criteria
- Document the viable options with tradeoffs
- Implement the preferred approach (or explain why the current flow is necessary)
- Ensure OADP-operator e2e tests can validate plugin changes without waiting for quay.io mirroring
Problem
Currently, when code changes land in OADP plugin repositories (e.g.
openshift/openshift-velero-plugin), the updated images are not immediately available for end-to-end tests in theopenshift/oadp-operatorrepository. Instead, the flow requires:oadp-1.6branch)core-services/image-mirroring/konveyor/mapping_konveyor_latest) mirrors the promoted image to quay.ioThis delay blocks PRs in the OADP-operator repo that add or modify e2e tests exercising new plugin functionality. For example, oadp-operator#2328 is currently blocked waiting on openshift-velero-plugin#451 to merge and the resulting image to be mirrored.
Investigation Goal
Explore options for making plugin repo changes immediately available for OADP-operator e2e tests without waiting for the full mirror pipeline. Possible approaches to investigate:
tag_specificationto pull the plugin image directly from the CI registryimagesstanzas in ci-operator config to build the plugin from source as part of the OADP-operator PR testimage_stream_tagreferences that resolve to the latest promoted (but not yet mirrored) imageAcceptance Criteria