Bug 2065661 - assisted-service repo pin-latest.py script should allow custom tags to be pinned
Summary: assisted-service repo pin-latest.py script should allow custom tags to be pinned
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Advanced Cluster Management for Kubernetes
Classification: Red Hat
Component: Infrastructure Operator
Version: rhacm-2.6
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: rhacm-2.6
Assignee: Omer Tuchfeld
QA Contact:
Derek
URL:
Whiteboard:
Depends On:
Blocks: 2065726
TreeView+ depends on / blocked
 
Reported: 2022-03-18 12:36 UTC by Omer Tuchfeld
Modified: 2022-09-06 22:31 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-06 22:30:54 UTC
Target Upstream Version:
Embargoed:
cbynum: rhacm-2.6+
cbynum: rhacm-2.6.z+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift assisted-service pull 3507 0 None open Bug 2065661: `pin-latest.py` should allow a custom tag to be set 2022-03-18 14:19:19 UTC
Github stolostron backlog issues 20909 0 None None None 2022-03-18 17:04:40 UTC
Red Hat Issue Tracker MGMTBUGSM-287 0 None None None 2022-04-12 05:57:00 UTC
Red Hat Product Errata RHSA-2022:6370 0 None None None 2022-09-06 22:31:11 UTC

Description Omer Tuchfeld 2022-03-18 12:36:27 UTC
Description of the problem:
When publishing the Infrastructure Operator bundle and catalog to quay for the master branch, we scan the operator's manifests (clusterserviceversion in particular) for the "latest" tag and pin it to a particular image manifest digest. This is done using the pin-latest.py script and the choice of "latest" tag is hardcoded in that script. 

We would like to use the same script for doing similar pinning but for our release branches. In those release branches, the CSV manifest doesn't have :latest tags, it has, for example, ocm-2.5 tags. 

The script should be modified to accept, through an environment variable, a different tag that needs to be pinned, so it can be used in release branch catalog/bundle quay publishing CI jobs.

Comment 5 errata-xmlrpc 2022-09-06 22:30:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Advanced Cluster Management 2.6.0 security updates and bug fixes), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:6370


Note You need to log in before you can comment on or make changes to this bug.