Skip to main content

Upload artifacts to OCI registry

Project description

shipctl

shipctl is a command-line tool to upload and download files or directories to an OCI-compatible registry as artifacts.

Features

  • Upload any files or directories to OCI registries
  • Download artifacts from OCI registries
  • Simple CLI interface: shipctl up and shipctl down
  • Supports authentication and custom output directories
  • CLI options can also be set via environment variables

Installation

pip install shipctl

Usage

Upload an artifact

shipctl up --target <oci-target> --username <user> --password <pass> --files <file1> --files <file2>

Download an artifact

shipctl down --target <oci-target> --username <user> --password <pass> --outdir ./output-directory

Options

  • --target : Target OCI artifact (required)
  • --username : Username for authentication (required)
  • --password : Password for authentication (required)
  • --files : Files or directories to upload (for up)
  • --outdir : Output directory for downloads (for down, default: ./artifacts)

Environment Variables

All CLI options can also be set using environment variables:

  • SHIPCTL_OCI_TARGET--target
  • SHIPCTL_OCI_USERNAME--username
  • SHIPCTL_OCI_PASSWORD--password
  • SHIPCTL_OCI_FILES--files
  • SHIPCTL_OCI_OUTDIR--outdir

For example:

export SHIPCTL_OCI_TARGET=your-oci-target
export SHIPCTL_OCI_USERNAME=your-username
export SHIPCTL_OCI_PASSWORD=your-password
shipctl up --files file1 --files file2

License

This project is licensed under the Apache 2.0 License. For more information, see the license.

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

shipctl-1.0.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shipctl-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file shipctl-1.0.0.tar.gz.

File metadata

  • Download URL: shipctl-1.0.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shipctl-1.0.0.tar.gz
Algorithm Hash digest
SHA256 bd99953b0e1d1b90e2b26e767fe172806ae6de39584f2fa969f932a4abc19786
MD5 96b764b5b399d6579532d0ca9904bcb5
BLAKE2b-256 da423b884fc71077e98f47d766901c1c13ade79ee25218956e49240ab5c39572

See more details on using hashes here.

Provenance

The following attestation bundles were made for shipctl-1.0.0.tar.gz:

Publisher: pypi.yml on mlflow-oidc/shipctl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file shipctl-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: shipctl-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for shipctl-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf889a96c323b52f6602eac688fd0d7db4b9782cd3247d249072800d44b54023
MD5 3a9c3ef82470707a8a227a564c4036de
BLAKE2b-256 13252843797fb41c4028e2866b161778b6b79be0587ee67c3efa792f9f2ece93

See more details on using hashes here.

Provenance

The following attestation bundles were made for shipctl-1.0.0-py3-none-any.whl:

Publisher: pypi.yml on mlflow-oidc/shipctl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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