CI Plumber
A tool to create and configure all of the stages of a CI/CD pipeline.
Current integrations:
- Gitlab
- Gitlab pipelines
- Azure App Service
- Azure Image Registry
- Azure MariaDB
- Openshift
- Openshift MariaDB
Full documentation is available here.
Installation
pip install ci-plumber[all]
Requirements
ocCLI toolazCLI tool
Usage
GitLab
# Initialise the project
ci-plumber gitlab init
OpenShift
# Deploy from the current docker registry to OpenShift
ci-plumber openshift deploy
# Create a new DB and store the credentials in maria.env
ci-plumber openshift create-db
Azure
# Log in to Azure
ci-plumber azure login
# List your Azure subscriptions
ci-plumber azure list-subscriptions
# Set the subscription to use
ci-plumber azure set-default-subscription
# Create a docker registry
ci-plumber azure create-registry
# Trigger a build and push
git add .
git commit -m "Added Azure CI file"
git tag -a v1.0.0 -m "Version 1.0.0"
git push --follow-tags
# Deploy to Azure
ci-plumber azure create-app
# Create a database and store the credentials in maria.env
ci-plumber azure create-db
Developing
Installation
# Install dependencies
$ poetry install
$ poetry shell
# Install git hooks
$ pre-commit install
$ pre-commit autoupdate
$ pre-commit run --all-files
# Symlink the plugins back to the main project
$ ln -s ./plugins/example/ci_plumber_example/ ./ci_plumber_example
$ ln -s ./plugins/gitlab/ci_plumber_gitlab/ ./ci_plumber_gitlab
$ ln -s ./plugins/openshift/ci_plumber_openshift/ ./ci_plumber_openshift
$ ln -s ./plugins/azure/ci_plumber_azure/ ./ci_plumber_azure
Features
- Runs checks on commit
- Flake8
- Black
- pre-commit-hooks checks
- mypy
- isort
- Installable as a script
Metadata
Release files for ci-plumber 1.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ci-plumber-1.4.2.tar.gz | 10.0 kB | Without provenance | Details for ci-plumber-1.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ci_plumber-1.4.2-py3-none-any.whl | Python 3 | none | any | Details for ci_plumber-1.4.2-py3-none-any.whl |
Total release size: 22.4 kB
Release files / ci-plumber-1.4.2.tar.gz
| Download URL | ci-plumber-1.4.2.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed3a9f7b4527879f37e80eb0467d145bc2276539cd5f2e360e8c97b713b1e580
|
|
BLAKE2b-256 checksum How to use checksums |
b1fc253134c894ebb8ccc2c02ec788e2beb54e0e36ce806816a3e56e177d55de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.6 Linux/5.10.43.3-microsoft-standard-WSL2
|
Release files / ci_plumber-1.4.2-py3-none-any.whl
| Download URL | ci_plumber-1.4.2-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
866168eaaec886bdc8098faa25b18f8afb06a0d21a695b0cefd95bac217a5d4d
|
|
BLAKE2b-256 checksum How to use checksums |
626ab7222a02f7fcbc5887c1abddca3ac31b75691bf15df9ba9cd77a9505ded4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.6 Linux/5.10.43.3-microsoft-standard-WSL2
|
Security for ci-plumber 1.4.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.