Skip to main content

A collection of utilities to manage ICHEC project CI/CD pipelines.

Project description

iccicd

This project is a collection of utilities for managing CI/CD pipelines at ICHEC.

It provides opinionated interfaces to encourage standarization of our project structures and workflows.

Install

The package is available from PyPI:

pip install iccicd

Features

Deploy a Package to a Repository

From the package's top-level directory:

iccicd deploy --token $REPO_TOKEN

As an example, for a Python project this might be the PyPI repository's token.

Set a Package's Version Number

From the package's top-level directory:

iccicd set_version $VERSION

Increment a Repository's Tag

From the repository's top-level directory, and on the branch the tag will be dervied from:

iccicd increment_tag --field patch

Here semver tag versioning is assumed with a major.minor.patch scheme. Note: in a CI/CD pipeline some more input options are needed to initialize the git repo for pushing the tag to. You can use the --help flag for more details.

Sync Content With an External Upstream

Here we pull content from an external upstream source and use it to update the content in a local repo. This can be useful for public mirrors that include a subset of the content in an internal repo.

iccicd sync_external_archive --external_token $EXTERNAL_TOKEN --project_id $EXTERNAL_PROJ_ID --sync_script $MY_SYNC_SCRIPT --archive_name $ARCHIVE_NAME

Licensing

This project is licensed under the GPLv3+. See the accompanying LICENSE.txt file for details.

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

iccicd-0.0.9.tar.gz (19.7 kB view details)

Uploaded Source

Built Distribution

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

iccicd-0.0.9-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

Details for the file iccicd-0.0.9.tar.gz.

File metadata

  • Download URL: iccicd-0.0.9.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for iccicd-0.0.9.tar.gz
Algorithm Hash digest
SHA256 fc31c7a12b91cdd5c5a7d695013b208bdcc5eb0816cf03baa8e63e7d47aaf0d5
MD5 82ff772e9785a30cbe9d3c6b28807d11
BLAKE2b-256 a76fa69218e813b537831763723212f291d624c80c5f5ec1329777f3e045b43a

See more details on using hashes here.

File details

Details for the file iccicd-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: iccicd-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for iccicd-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 91d8ca85d89abbf7fae975ccea3bb93af0edebf927a71287912cf9da7da13e2a
MD5 2a0147d8e31c0129abc01d7d4e568589
BLAKE2b-256 a57e7b5d80594491fe41458e6e3145e06f841373a4789bf9b36b9e32bc0f327d

See more details on using hashes here.

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