Skip to main content

Continuous Delivery scripts to increase automation

Project description

Automation Scripts for CI/CD

Package Documentation PyPI PyPI - Status PyPI - Python Version Downloads

License Compliance

Build Status

Overview

Project initially forked from ARMmbed/mbed-tools-ci-scripts but modified so that it can be used for any projects and any languages.

Continuous Delivery scripts for any projects:

  • Automated release flows (i.e. changelog generation, git tags, versioning)
  • third party IP auditing and reporting

Releases

For release notes and a history of changes of all production releases, please see the following:

For a the list of all available versions please, please see the:

Versioning

The version scheme used follows PEP440 and Semantic Versioning. For production quality releases the version will look as follows:

  • <major>.<minor>.<patch>

Beta releases are used to give early access to new functionality, for testing and to get feedback on experimental features. As such these releases may not be stable and should not be used for production. Additionally any interfaces introduced in a beta release may be removed or changed without notice. For beta releases the version will look as follows:

  • <major>.<minor>.<patch>-beta.<pre-release-number>

Installation

It is recommended that a virtual environment such as Pipenv is used for all installations to avoid Python dependency conflicts.

To install the most recent production quality release use:

pip install continuous-delivery-scripts

To install a specific release:

pip install continuous-delivery-scripts==<version>

Usage & Documentation

Code documentation is available for the most recent production release here:

The package follows the Unix tools philosophy:

The tools philosophy was to have small programs to accomplish a particular task instead of trying to develop large monolithic programs to do a large number of tasks. To accomplish more complex tasks, tools would simply be connected together, using pipes.

Therefore, it installs the following tools which can be used anywhere within a project/repository comprising a pyproject.toml file such as the one defining this project:

  • cd-assert-news: Asserts that the PR/Branch contains a news file describing the changes introduced
  • cd-determine-version: Returns the version of the tool
  • cd-generate-news: Generates a changelog file based on the news files present in the repository
  • cd-get-config: Returns project configuration values
  • cd-tag-and-release: Releases the project (Language specific actions are run, See plugins)
  • cd-create-news-file: Generates a news file
  • cd-generate-docs: Generates project Code documentation which can then be rendered by GitHub pages (See docs folder)
  • cd-generate-spdx: Generates SPDX documents for the project (3rd party IP reporting/ OpenChain)
  • cd-license-files: Updates the Licence header and copyright to all the source code files

Project Structure

The follow described the major aspects of the project structure:

  • .github - CI and GitHub configuration files.
  • docs/ - Interface definition and usage documentation.
  • examples/ - Usage examples.
  • continuous-delivery-scripts/ - Python source files.
  • news/ - Collection of news files for unreleased changes.
  • tests/ - Unit and integration tests.

Getting Help

  • For interface definition and usage documentation, please see GitHub Pages.
  • For a list of known issues and possible workarounds, please see Known Issues.
  • To raise a defect or enhancement please use GitHub Issues.

Contributing

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

continuous_delivery_scripts-3.4.0.tar.gz (61.5 kB view details)

Uploaded Source

Built Distribution

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

continuous_delivery_scripts-3.4.0-py3-none-any.whl (89.1 kB view details)

Uploaded Python 3

File details

Details for the file continuous_delivery_scripts-3.4.0.tar.gz.

File metadata

File hashes

Hashes for continuous_delivery_scripts-3.4.0.tar.gz
Algorithm Hash digest
SHA256 9b48eca991a5d0cf41c935a3cd9b578afc315417d5b3308fadd406a035a635bd
MD5 c8d71d894ae56eb51004b31522bd8435
BLAKE2b-256 7d21dfe02ff8f59946503e9cb137d65ca446ef1c4072d1b85c034edb561131f5

See more details on using hashes here.

File details

Details for the file continuous_delivery_scripts-3.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for continuous_delivery_scripts-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 63de109054548556e80873f57e9f009e5a3fc773e3da35fd77589460b7b61069
MD5 c2480b2cd13ad3cee07a324d1d3a2d8d
BLAKE2b-256 766304e2ba26472a04666151652948014506183ad693e83d2e9349b075d6f6bb

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