[jboss-jira] [JBoss JIRA] (SWSQE-1133) Mirror operators from quay.io/maistra and redhat-operators

Filip Brychta (Jira) issues at jboss.org
Wed Apr 22 06:36:00 EDT 2020


    [ https://issues.redhat.com/browse/SWSQE-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14050989#comment-14050989 ] 

Filip Brychta commented on SWSQE-1133:
--------------------------------------

Mirroring everything from redhat-operators is taking too long, we have following options:
You can use the

  --manifest-dir='': Local path to cache manifests when downloading.

To output the manifest and then manipulate them if you so desire to create a new catalog using number 6 from 4.2 install instructions[1].

Another approach would be to take the catalog, use oc adm catalog mirror command with

    -dry-run=false: Print the actions that would be taken and exit without writing to the destinations.

This will output the mapping.txt that you can change to only mirror the images that you would like and use oc image mirror -f mapping.txt. Either way this will change the amount of content being mirrored.

I believe that you may be interested in some work that is happening to make the entire process for testing images from brew builds here https://projects.engineering.redhat.com/projects/REGISTRY/issues/REGISTRY-99?filter=allopenissues . This will drastically reduce the need to mirror unless you testing the mirroring workflow specifically.

> Mirror operators from quay.io/maistra and redhat-operators
> ----------------------------------------------------------
>
>                 Key: SWSQE-1133
>                 URL: https://issues.redhat.com/browse/SWSQE-1133
>             Project: Kiali QE
>          Issue Type: Sub-task
>            Reporter: Filip Brychta
>            Assignee: Filip Brychta
>            Priority: Major
>              Labels: infrastructure
>
> When the disconnected OCP cluster is provisioned there is nothing in operator hub. It's necessary to mirror required catalog.
> We will need redhat-operators and operators from quay.io/maistra



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list