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 1816812: Enable mirroring test images offline #24887

Merged
merged 3 commits into from
Dec 4, 2020

Commits on Nov 30, 2020

  1. test: Enable mirroring test images to a different repository

    Support `openshift-tests images` which generates a mirror file
    for use with `oc image mirror` to sync the images used by tests
    to a private repository (or to disk). The user would then pass
    `--from-repository` to `openshift-tests run*`.
    
    The `--upstream` flag allows the tool to mirror the upstream
    images to their canonical location on quay.io for general project
    use. This is only for admin use.
    smarterclayton committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    4e952fb View commit details
    Browse the repository at this point in the history
  2. test: Add a framework for mirroring origin images

    Fixtures automatically get replacements, code must directly reference
    images. Add a README.md to guide users.
    smarterclayton committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    b7fd162 View commit details
    Browse the repository at this point in the history
  3. test: Update openshift tests to use locked images

    Update the references to individual images in tests to use either
    upstream Kube images, or the new tools image. Fix tests that had
    assumptions about access to those images, including custom builds
    which lacked access to certs and pull credentials.
    smarterclayton committed Nov 30, 2020
    Configuration menu
    Copy the full SHA
    4cbb844 View commit details
    Browse the repository at this point in the history