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.5.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

otimages-0.5.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: otimages-0.5.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for otimages-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1f7bc9bc9a8e7bf7ef1bb0a69d77a586e2e7eccef14b1bde121695a6ac46c152
MD5 4b6091cef02f003d1785e06d8e5ff7f9
BLAKE2b-256 f9de31d96ede74753b54c0d1c699c1b8552c24d377f1ee9f04060f364585bc41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: otimages-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.4 Darwin/23.5.0

File hashes

Hashes for otimages-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc404db049258e321140ddee70ea96f35bf271536979c9541c091da26539b4df
MD5 7b673bb9869346d0b55ac5f562da147d
BLAKE2b-256 7576d72ae1e293ebfa60dc195af8cc0350683a42e3d691d915e4998d6582bb29

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