django-cd
Continuous deployment
Installation
git clone git@github.com/ppinard/django-cd.git
cd django-cd
pip install -e .
Django - settings.py
Add to INSTALLED_APPS:
INSTALLED_APPS = [
...
"django_bootstrap5",
"django_cd",
]
Add to settings.py:
ACTIONS = {
"command": "django_cd.actions.CommandAction",
"git-checkout": "django_cd.actions.GitCheckoutAction",
"python-run": "django_cd.actions.PythonAction",
"python-pytest": "django_cd.actions.PythonPytestAction",
"python-venv": "django_cd.actions.PythonVirtualEnvAction",
}
TRIGGERS = {
"cron": "django_cd.triggers.CronTrigger",
}
NOTIFICATIONS = {
"email": "django_cd.notifications.EmailNotification",
}
JOBFILES = []
WORKDIR = ""
License
The library is provided under the MIT license license.
Copyright (c) 2021, Philippe Pinard
Metadata
Release files for django-cd 1.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 | |
|---|---|---|---|---|
| django-cd-1.2.tar.gz | 34.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_cd-1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.8 kB
Release files / django-cd-1.2.tar.gz
| Download URL | django-cd-1.2.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a154b7f1eb0a823b01a8c633ae8a5395fe11b1be7bd62a21fe15fe3e6f48d958
|
|
BLAKE2b-256 checksum How to use checksums |
c1b98034325eb5807ea067360ab661de528beec962c7845a8e43c8b8c4a76c1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / django_cd-1.2-py3-none-any.whl
| Download URL | django_cd-1.2-py3-none-any.whl |
|---|---|
| Size | 19.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a129cb69791a2963583d1a30d77b8f2f7f581c15a11dca0185dda1b0b5afd12f
|
|
BLAKE2b-256 checksum How to use checksums |
03fbdfab27786b648cfdd417d2ef5ab4d916d0bec1ef82fbb5ec93f77cf7c761
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for django-cd 1.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.