Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1917548: 4.6 backports for oc adm catalog mirror #711

Merged

Commits on Jan 15, 2021

  1. Copy the full SHA
    cf4a61c View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2021

  1. Copy the full SHA
    5314244 View commit details
    Browse the repository at this point in the history
  2. parallelize oc adm catalog mirror

    previously this mirrored one image at a time
    ecordell committed Jan 18, 2021
    Copy the full SHA
    b4c69cb View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    de0a98a View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    5404450 View commit details
    Browse the repository at this point in the history
  5. manually vendor and fork image name parsing for oc adm catalog mirror

    the `Parse` function from library go prefers parsing ambiguous names as
    repositories
    
    for mirroring use-cases, we want to prefer parsing ambiguous names as
    registries.
    
    for example: `oc adm catalog mirror my-index:1 quay.io`
    
    should parse `quay.io` as a registry name, not as
     `docker.io/library/quay.io`
    
    the ambiguity can always be resolved by a user manually if needed by
    fully qualifying a name they intended to be parsed as a repository
    ecordell committed Jan 18, 2021
    Copy the full SHA
    56a9c89 View commit details
    Browse the repository at this point in the history
  6. mirroring catalog contents forces mirroring the entire manifestlist

    this ensures that the mirrored manifests can still reference the
    manifestlist by digest
    ecordell committed Jan 18, 2021
    Copy the full SHA
    199be3f View commit details
    Browse the repository at this point in the history
  7. Add an index-filter-by-os flag so that it is clearer that filtering

    does not filter the mirrored images
    ecordell committed Jan 18, 2021
    Copy the full SHA
    b1f6a7c View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    22cebdd View commit details
    Browse the repository at this point in the history