Package: pubtools-pyxis
Set of scripts used for operating with Pyxis service.RequirementsPython 3.7+Featurespubtools-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 PyxisSetup$ pip install -r requirements.txt
$ pip install .
or
$ python setup.py installUsageGet 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.6Get 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-registryUpload 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.jsonGet 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-image2ChangeLog1.3.5 (2023-03-14)Delete signatures in parallel1.3.4 (2023-03-01)Fix request threadsDrop Python 2 support1.3.3 (2022-11-09)Tolerate 409 of signature uploadAdd Bandit checks and resolve Bandit findings1.3.2 (2021-10-15)Modified the retry requests approach1.3.1 (2021-08-19)Fixed building with Python 2.6 distutils1.3.0 (2021-08-18)Added documentationAdded support for parallel uploading of signatures1.2.0 (2021-06-10)Added the ability to add file as input type for –manifest_digests and –reference for get-signaturesAdded entrypoint for removing signatures1.1.0 (2021-03-29)Added upload-signatures, get-signatures to interact with pyxis sigstoreAdded get-repository-metadata to fetch repository data from pyxisFixed py2.6 pip url1.0.0 (2020-11-27)Set version to 1.0.0 to indicate stable release0.2.0 (2020-11-23)Fix module path0.1.0 (2020-11-20)Initial release.