Pubtools-pyxis
Project description
Set of scripts used for operating with Pyxis service.
Requirements
Python 2.7+
Python 3.7+
Features
pubtools-pyxis-get-operator-indices - get a list of index images satisfying the specified conditions pubtools-pyxis-get-repo-metadata - get metadata of a Comet repo pubtools-pyxis-upload-signatures - upload container signatures to Pyxis
Setup
$ pip install -r requirements.txt $ pip install . or $ python setup.py install
Usage
Get operator indices:
pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-krb-principal lgallovi@REDHAT.COM \ --ocp-versions-range 4.6 \ --pyxis-insecure pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-krb-principal iib-stage@REDHAT.COM \ --pyxis-krb-ktfile /path/to/file.keytab \ --ocp-versions-range 4.5-4.7 pubtools-pyxis-get-operator-indices \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --ocp-versions-range 4.6
Get repository metadata:
pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name \ --only-internal-registry pubtools-pyxis-get-repo-metadata \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --repo-name some-repo/name \ --only-partner-registry
Upload signatures:
pubtools-pyxis-upload-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --signatures '[{"foo": "bar"}]' pubtools-pyxis-upload-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --signatures @signatures.json
Get signatures:
pubtools-pyxis-get-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --manifest-digest sha256-digest-of-manifest,sha256-digest-of-other-manifest pubtools-pyxis-get-signatures \ --pyxis-server https://pyxis-server-url/ \ --pyxis-ssl-crtfile /path/to/file.crt \ --pyxis-ssl-keyfile /path/to/file.key \ --manifest-digest sha256-digest-of-manifest --reference pull-reference-of-image,pull-reference-of-image2
ChangeLog
1.1.0 (2021-03-29)
Added upload-signatures, get-signatures to interact with pyxis sigstore
Added get-repository-metadata to fetch repository data from pyxis
Fixed py2.6 pip url
1.0.0 (2020-11-27)
Set version to 1.0.0 to indicate stable release
0.2.0 (2020-11-23)
Fix module path
0.1.0 (2020-11-20)
Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pubtools_pyxis-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4e6f6a9889814ae49ef348026da54c95c82e5faae30a2b77ba471d78c1d8e47 |
|
MD5 | 94491239e2a6908a4c274c4f9de773af |
|
BLAKE2b-256 | 38be94524658e5cce69fe99b4f3a9181d0e5625aa516d9540b2bfe7d20488d09 |