===============
pubtools-pyxis
===============
Set of scripts used for operating with Pyxis service.
Requirements
============
* 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.3.5 (2023-03-14)
------------------
* Delete signatures in parallel
1.3.4 (2023-03-01)
------------------
* Fix request threads
* Drop Python 2 support
1.3.3 (2022-11-09)
------------------
* Tolerate 409 of signature upload
* Add Bandit checks and resolve Bandit findings
1.3.2 (2021-10-15)
------------------
* Modified the retry requests approach
1.3.1 (2021-08-19)
------------------
* Fixed building with Python 2.6 distutils
1.3.0 (2021-08-18)
------------------
* Added documentation
* Added support for parallel uploading of signatures
1.2.0 (2021-06-10)
------------------
* Added the ability to add file as input type for --manifest_digests and --reference for get-signatures
* Added entrypoint for removing signatures
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/release-engineering/pubtools-pyxis",
"name": "pubtools-pyxis",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Lubomir Gallovic",
"author_email": "lgallovi@redhat.com",
"download_url": "https://files.pythonhosted.org/packages/7e/e8/02b5b1d930b2563246eb4fa7e5a4de039fd29096f1792eab026372a646cc/pubtools-pyxis-1.3.5.tar.gz",
"platform": null,
"description": "===============\n pubtools-pyxis\n===============\n\nSet of scripts used for operating with Pyxis service.\n\n\nRequirements\n============\n\n* Python 3.7+\n\nFeatures\n========\n\npubtools-pyxis-get-operator-indices - get a list of index images satisfying the specified conditions\npubtools-pyxis-get-repo-metadata - get metadata of a Comet repo\npubtools-pyxis-upload-signatures - upload container signatures to Pyxis\n\nSetup\n=====\n\n::\n\n $ pip install -r requirements.txt\n $ pip install .\n or\n $ python setup.py install\n\nUsage\n=====\n\nGet operator indices:\n::\n\n pubtools-pyxis-get-operator-indices \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-krb-principal lgallovi@REDHAT.COM \\\n --ocp-versions-range 4.6 \\\n --pyxis-insecure\n\n pubtools-pyxis-get-operator-indices \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-krb-principal iib-stage@REDHAT.COM \\\n --pyxis-krb-ktfile /path/to/file.keytab \\\n --ocp-versions-range 4.5-4.7\n\n pubtools-pyxis-get-operator-indices \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --ocp-versions-range 4.6\n\nGet repository metadata:\n::\n\n pubtools-pyxis-get-repo-metadata \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --repo-name some-repo/name\n\n pubtools-pyxis-get-repo-metadata \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --repo-name some-repo/name \\\n --only-internal-registry\n\n pubtools-pyxis-get-repo-metadata \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --repo-name some-repo/name \\\n --only-partner-registry\n\nUpload signatures:\n::\n\n pubtools-pyxis-upload-signatures \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --signatures '[{\"foo\": \"bar\"}]'\n\n pubtools-pyxis-upload-signatures \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --signatures @signatures.json\n\nGet signatures:\n::\n\n pubtools-pyxis-get-signatures \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --manifest-digest sha256-digest-of-manifest,sha256-digest-of-other-manifest\n\n pubtools-pyxis-get-signatures \\\n --pyxis-server https://pyxis-server-url/ \\\n --pyxis-ssl-crtfile /path/to/file.crt \\\n --pyxis-ssl-keyfile /path/to/file.key \\\n --manifest-digest sha256-digest-of-manifest\n --reference pull-reference-of-image,pull-reference-of-image2\n\nChangeLog\n=========\n\n1.3.5 (2023-03-14)\n------------------\n\n* Delete signatures in parallel\n\n1.3.4 (2023-03-01)\n------------------\n\n* Fix request threads\n* Drop Python 2 support\n\n1.3.3 (2022-11-09)\n------------------\n\n* Tolerate 409 of signature upload\n* Add Bandit checks and resolve Bandit findings\n\n1.3.2 (2021-10-15)\n------------------\n\n* Modified the retry requests approach\n\n1.3.1 (2021-08-19)\n------------------\n\n* Fixed building with Python 2.6 distutils\n\n1.3.0 (2021-08-18)\n------------------\n\n* Added documentation\n* Added support for parallel uploading of signatures\n\n1.2.0 (2021-06-10)\n------------------\n\n* Added the ability to add file as input type for --manifest_digests and --reference for get-signatures\n* Added entrypoint for removing signatures\n\n1.1.0 (2021-03-29)\n------------------\n\n* Added upload-signatures, get-signatures to interact with pyxis sigstore\n* Added get-repository-metadata to fetch repository data from pyxis\n* Fixed py2.6 pip url\n\n1.0.0 (2020-11-27)\n------------------\n\n* Set version to 1.0.0 to indicate stable release\n\n0.2.0 (2020-11-23)\n------------------\n\n* Fix module path\n\n\n0.1.0 (2020-11-20)\n------------------\n\n* Initial release.\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Pubtools-pyxis",
"version": "1.3.5",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bd7aa4cc634cdbfccf19a6fd0079c77bdbe02a4f929a2b10807d979309c718a1",
"md5": "0d989f1b47204de8829e0bed4d3616bf",
"sha256": "555ae4528fde9f6a0fe2eceea6bed751b446c28a580511ed9a53f0b16baeb861"
},
"downloads": -1,
"filename": "pubtools_pyxis-1.3.5-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "0d989f1b47204de8829e0bed4d3616bf",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.6",
"size": 15488,
"upload_time": "2023-03-14T08:10:13",
"upload_time_iso_8601": "2023-03-14T08:10:13.539730Z",
"url": "https://files.pythonhosted.org/packages/bd/7a/a4cc634cdbfccf19a6fd0079c77bdbe02a4f929a2b10807d979309c718a1/pubtools_pyxis-1.3.5-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7ee802b5b1d930b2563246eb4fa7e5a4de039fd29096f1792eab026372a646cc",
"md5": "6744d13e333f3bdc4959796c99707dd5",
"sha256": "53245abfb83fb4d2127e1e4b7a0345e0500ac30382ea8ec1599319bbd7633ac5"
},
"downloads": -1,
"filename": "pubtools-pyxis-1.3.5.tar.gz",
"has_sig": false,
"md5_digest": "6744d13e333f3bdc4959796c99707dd5",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 19804,
"upload_time": "2023-03-14T08:10:15",
"upload_time_iso_8601": "2023-03-14T08:10:15.200364Z",
"url": "https://files.pythonhosted.org/packages/7e/e8/02b5b1d930b2563246eb4fa7e5a4de039fd29096f1792eab026372a646cc/pubtools-pyxis-1.3.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-14 08:10:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "release-engineering",
"github_project": "pubtools-pyxis",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "pubtools-pyxis"
}