Skip to content

set of cli scripts to be used as pub components in IIB related use cases

Notifications You must be signed in to change notification settings

JAVGan/pubtools-iib

 
 

Repository files navigation

pubtools-iib

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

About

set of cli scripts to be used as pub components in IIB related use cases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.4%
  • Shell 2.6%