Skip to main content

Script to pull and push container images for Opentext Extended ECM

Project description

Internal tool

Dependencies:

  • Helm
  • yq

Info

If the DOCKER_HOST environment variable is set, it will use that Docker Engine to perform the pull/push requests.

Sample Usage:

otimages push -v 24.1.0 --repository random.containerhub.tld --langpacks --include otxecm-init --exclude otxecm-init-lang-es

**SOURCEREPO**/released/otxecm-init-lang-ar:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-cs-cz:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-da-dk:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-de:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-fi-fi:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-fr:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-he:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-it:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-iw:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-ja:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-kk-kz:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-ko-kr:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-nb-no:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-nl:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-pl-pl:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-pt:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-ru-ru:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-sv:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-tr-tr:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-uk-ua:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-zh-cn:24.1.0
**SOURCEREPO**/released/otxecm-init-lang-zh-tw:24.1.0

Push Images to repository:
random.containerhub.tld/otxecm-init-lang-ar:24.1.0
random.containerhub.tld/otxecm-init-lang-cs-cz:24.1.0
random.containerhub.tld/otxecm-init-lang-da-dk:24.1.0
random.containerhub.tld/otxecm-init-lang-de:24.1.0
random.containerhub.tld/otxecm-init-lang-fi-fi:24.1.0
random.containerhub.tld/otxecm-init-lang-fr:24.1.0
random.containerhub.tld/otxecm-init-lang-he:24.1.0
random.containerhub.tld/otxecm-init-lang-it:24.1.0
random.containerhub.tld/otxecm-init-lang-iw:24.1.0
random.containerhub.tld/otxecm-init-lang-ja:24.1.0
random.containerhub.tld/otxecm-init-lang-kk-kz:24.1.0
random.containerhub.tld/otxecm-init-lang-ko-kr:24.1.0
random.containerhub.tld/otxecm-init-lang-nb-no:24.1.0
random.containerhub.tld/otxecm-init-lang-nl:24.1.0
random.containerhub.tld/otxecm-init-lang-pl-pl:24.1.0
random.containerhub.tld/otxecm-init-lang-pt:24.1.0
random.containerhub.tld/otxecm-init-lang-ru-ru:24.1.0
random.containerhub.tld/otxecm-init-lang-sv:24.1.0
random.containerhub.tld/otxecm-init-lang-tr-tr:24.1.0
random.containerhub.tld/otxecm-init-lang-uk-ua:24.1.0
random.containerhub.tld/otxecm-init-lang-zh-cn:24.1.0
random.containerhub.tld/otxecm-init-lang-zh-tw:24.1.0
Are you sure you want to push to random.containerhub.tld/? [y/N]:

Help:

otimages --help
Usage: otimages [OPTIONS] COMMAND [ARGS]...

╭─ Options ───────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion          Install completion for the current shell.                         │
│ --show-completion             Show completion for the current shell, to copy it or customize    │
│                               the installation.                                                 │
│ --help                        Show this message and exit.                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ──────────────────────────────────────────────────────────────────────────────────────╮
│ list                                                                                            │
│ pull                                                                                            │
│ push                                                                                            │
╰─────────────────────────────────────────────────────────────────────────────────────────────────╯
otimages list --help
otimages pull --help
otimages push --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otimages-0.3.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

otimages-0.3.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file otimages-0.3.0.tar.gz.

File metadata

  • Download URL: otimages-0.3.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0

File hashes

Hashes for otimages-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4d9a9c8146dc13f788568deaaad90aa3ec8f0d7fed55d9985d54a25490567041
MD5 2b57a62ad0c330e8246f09e6cef45bb1
BLAKE2b-256 17bc7e3ab2c6bab717071fc1b0a9ba49a1795bf61831aea43dcd627736e7524e

See more details on using hashes here.

File details

Details for the file otimages-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: otimages-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Darwin/23.2.0

File hashes

Hashes for otimages-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fec9b96224f672f25e18b8e28dbd66fc43bac6acc14b94186effb7b1170dd7d7
MD5 1e70e9fc399eac702085b4f186aeb8ec
BLAKE2b-256 66c0aca7693aef46d1585c61ba79358e09054b90d3957794988bac216adc1deb

See more details on using hashes here.

Supported by

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