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

Uploaded Source

Built Distribution

otimages-0.7.2-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: otimages-0.7.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for otimages-0.7.2.tar.gz
Algorithm Hash digest
SHA256 8a21dbd01ee6e98e3019da5bb10a6a2d50594f77de824a9582eeaff20de42ba0
MD5 7de6174e67bf15d9e2fa978b34e5aba4
BLAKE2b-256 68410f5c9297bc2f9713d8930d1649584bcb1f9914f649d2e2b6a6a23a465c62

See more details on using hashes here.

File details

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

File metadata

  • Download URL: otimages-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/23.6.0

File hashes

Hashes for otimages-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dfe8ead3bdefd3bb41b260237b10debc0b424702f2f33672d157bf39c05e5257
MD5 86f27ae23f034bfafac399e99967cb01
BLAKE2b-256 943bcfc0702e1845a7eebe941246a8d0de8ea315967becea9bf4b166aecb6765

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