Skip to main content

Kickstarts the semantic release pipeline for your Python project

Project description

ci-starter

Kickstarts the semantic release pipeline for your Python project on GitHub. It creates an configuration file semantic-release.toml for python-semantic-release and a pipeline with reusable workflows in .github/workflows.

Usage

Prerequisites

You will have to do the flollowing things yourself:

  • Create your project:
    • Use uv to initialize your project (must be a package)
      • Fill it with some minimally meaningful content, I recommend:
        • set version to 0.0.0
        • project urls
        • keywords
        • classifiers
        • license
      • Add a dependency group for running tests (group shall contain at least your test runner, e.g. pytest)
    • Create tests (CI/CD pipeline would fail if no tests are found)
    • Format and check everything with ruff
    • Set up a trusted publisher for your project on pypi.org:
      • Workflow: continuous-delivery.yml (default workflow name)
      • Environment name: pypi
    • Set up a trusted publisher for your project on test.pypi.org:
      • Workflow: continuous-delivery.yml
      • Environment name: testpypi
    • Create a GitHub repository for your project
    • Add remote origin and its ssh address at your local clone

Create CI/CD Pipeline With ci-starter

Run these commands:

$ ci-start psr-config
$ ci-start workflows
$ ci-start update-actions

The psr-config command creates the semantic-release.toml, the second one creates the workflow files (.github/workflows/*.yml), the third one fetches the current versions of the GitHub Actions used in the workflow files and updates the workflow files accordingly.

It is your responsibility to check whether it is safe to use the suggested current versions of the GitHub Actions (beware of supply chain attacks).

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

ci_starter-0.10.4.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

ci_starter-0.10.4-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file ci_starter-0.10.4.tar.gz.

File metadata

  • Download URL: ci_starter-0.10.4.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ci_starter-0.10.4.tar.gz
Algorithm Hash digest
SHA256 130bb6770ca8776ea37444e1c4a99f82a77bf7c0c7cf542f1af127f4e36c425b
MD5 0f9adf784deffa8f5fb457965b21785d
BLAKE2b-256 2695c9b53f6d6c7dc612dc5c479628a23f113313b1f3b70c2cac4d05a23b76ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.10.4.tar.gz:

Publisher: continuous-delivery.yml on fleetingbytes/ci-starter

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

File details

Details for the file ci_starter-0.10.4-py3-none-any.whl.

File metadata

  • Download URL: ci_starter-0.10.4-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ci_starter-0.10.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8fff8c423e4747734e62ec7fbc213761cacc24af0c84812010993b4f84e61263
MD5 295ecc662d49a9b538d6f9c4086a1552
BLAKE2b-256 24d1310fa2ca74496eba57d77ca72aa9597dacdebdc9b1dc9259e651d1857b5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ci_starter-0.10.4-py3-none-any.whl:

Publisher: continuous-delivery.yml on fleetingbytes/ci-starter

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