Skip to main content

Pubtools-iib

Project description

Set of cli scripts used for operating with IIB service.

Requirements

  • Python 3.7+ or Python 2.7

Features

  • pubtools-iib-add-bundles - script used for running add bundle on IIB

  • pubtools-iib-remove-operator - script used for running remove operator on IIB

Setup

$ pip install -r requirements.txt
$ pip install .
or
$ python setup.py install

Usage

$ export PULP_PASSWORD="pulppassword"
$ pubtools-iib-add-bundles --pulp-url https://pulphost.example.com/\
  --pulp-user pulp-user\
  --pulp-repository index-image-repository\
  --iib-server iibhostname.example.com\
  --binary-image container-registry.example.com/binary/image:latest
  --index-image container-registry.example.com/index/image:latest
  --bundle container-registry.example.com/bundle/image:123
  --arch x86_64
  --deprecation-list container-registry.example.com/index/bundle-image:latest,container-registry.example.com/index/bundle-image:2

$ export PULP_PASSWORD="pulppassword"
$ pubtools-iib-remove-operators --pulp-url https://pulphost.example.com/\
  --pulp-user pulp-user\
  --pulp-repository index-image-repository\
  --iib-server iibhostname.example.com\
  --binary-image container-registry.example.com/binary/image:latest
  --index-image container-registry.example.com/index/image:latest
  --operator bundle/image:123
  --arch x86_64

ChangeLog

Unreleased

0.20.0 (2021-06-10)

  • Make Pulp-related arguments non-mandatory

0.19.0 (2021-04-01)

  • Remove option of pushing to Quay

  • Restore original installation of dependencies

0.18.1 (2021-03-31)

  • Change iiblib version to 3.0.0.

0.18.0 (2021-03-29)

  • Add deprecation_list and index_image_resolved attribute

  • Add option of pushing to Quay

  • Add log links to build details

  • Remove duplicated FakeTaskManager

0.17.0 (2020-10-19)

  • Change IIBlib imports

0.16.0 (2020-09-29)

  • Made –bundle an optional argument

  • Made –binary-image an optional argument

0.15.0 (2020-06-25)

  • Replaced content-delivery-release-bot with token

  • Added support for providing “overwrite-from-index-token” when calling IIB

0.14.0 (2020-05-27)

  • Fixed multiple argument passing to use ‘append’ mode

0.13.0 (2020-04-29)

  • Added –skip-pulp attribute support

0.12.0 (2020-03-30)

  • added –overwrite-index-image param

0.11.0 (2020-03-09)

  • Fixed push items handling

0.10.0 (2020-03-04)

  • fixed wrong feed attribute

  • sync only needed tags

0.9.0 (2020-03-04)

  • succesful build dump to output

0.8.0 (2020-03-04)

  • fixed repo sync attributes

0.7.0 (2020-03-04)

  • added iib-insecure attribute

  • dump error build details on output

  • index-image attribute optional

0.6.0 (2020-03-04)

  • iiblib 0.7.0 compat changes

0.5.0 (2020-03-03)

  • fixed invalid argument for IIBClient init

0.4.0 (2020-02-27)

  • added legacy registry support

0.3.0 (2020-02-27)

  • kerberos support

0.2.0 (2020-02-27)

Fixed

  • iiblib 0.3.0 compatiblity fixes

Added

  • ssl_verification option for IIBClient

0.1.0 (2020-02-25)

  • Initial release.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page