A utility that can be used to mirror OpenShift releases between docker registries.
Project description
oc-mirror
Overview
A utility that can be used to mirror OpenShift releases between docker registries.
Compatibility
- Tested with python 3.8
Installation
From pypi.org
$ pip install oc_mirror
From source code
$ git clone https://github.com/crashvb/oc-mirror
$ cd oc-mirror
$ virtualenv env
$ source env/bin/activate
$ python -m pip install --editable .[dev]
Usage
DRCA_CREDENTIALS_STORE=~/.docker/quay.io-pull-secret.json \
atomic \
--signature-store=https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release \
--signature-type=manifest \
verify \
quay.io/openshift-release-dev/ocp-release:4.4.6-x86_64@sha256:7613d8f7db639147b91b16b54b24cfa351c3cbde6aa7b7bf1b9c80c260efad06
DRCA_CREDENTIALS_STORE=~/.docker/quay.io-pull-secret.json \
oc-mirror \
--signature-store=https://mirror.openshift.com/pub/openshift-v4/signatures/openshift/release \
mirror \
quay.io/openshift-release-dev/ocp-release:4.4.6-x86_64 \
some-other-registry.com:5000/openshift-release-dev/ocp-release:4.4.6-x86_64
DRCA_CREDENTIALS_STORE=~/.docker/quay.io-pull-secret.json \
op-mirror \
--no-check-signatures \
mirror \
registry.redhat.io/redhat/redhat-operator-index:v4.8 \
some-other-registry.com:5000/redhat/redhat-operator-index:v4.8 \
compliance-operator:release-0.1 \
local-storage-operator \
ocs-operator
Environment Variables
None.
Development
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oc_mirror-0.1.3.tar.gz
(31.4 kB
view hashes)
Built Distribution
oc_mirror-0.1.3-py3-none-any.whl
(59.8 kB
view hashes)
Close
Hashes for oc_mirror-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55010c24365b84596ee045624c7f54d005f4dd13a42e6ffd7915fc3648ad3b94 |
|
MD5 | 2c0de0be2d9b7b531edb4eec9505c025 |
|
BLAKE2b-256 | e981ebe63db7fa2698bbf558d5d177fdc651b6c80ad51f34f2558d64eee9676a |