-
Task
-
Resolution: Done
-
Critical
-
None
-
None
-
0
-
False
-
None
-
False
-
Yes
-
RHOAM Sprint 31
WHAT
The bundle-rhmi-operators.sh script used by make create/olm/bundle currently rebuilds and pushes bundle images regardless if the image already exists remotely in its registry. This becomes a problem when building the official bundle and index images for new versions of multitenant RHOAM because every previous bundle/index image in the chain will be rebuilt and pushed, overwriting the existing version of the image in quay.
To get around this, the script needs to be refactored to support a command line argument, for example DONT_OVERWRITE, which when set to true will prevent the script from rebuilding and pushing images that already exist remotely.
HOW
<Suggestions for how this may be solved. [Optional]>
DONE
- The script doesn't overwrite existing remote images if DONT_OVERWRITE=true when running the script
- All existing functionality is preserved