Continuous deloyment
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-cd-1.2.tar.gz
(34.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
django_cd-1.2-py3-none-any.whl
(19.2 kB
view details)
File details
Details for the file django-cd-1.2.tar.gz.
File metadata
- Download URL: django-cd-1.2.tar.gz
- Upload date:
- Size: 34.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a154b7f1eb0a823b01a8c633ae8a5395fe11b1be7bd62a21fe15fe3e6f48d958
|
|
| MD5 |
2064da4e4d348120d2937e4e364c6277
|
|
| BLAKE2b-256 |
c1b98034325eb5807ea067360ab661de528beec962c7845a8e43c8b8c4a76c1e
|
File details
Details for the file django_cd-1.2-py3-none-any.whl.
File metadata
- Download URL: django_cd-1.2-py3-none-any.whl
- Upload date:
- Size: 19.2 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a129cb69791a2963583d1a30d77b8f2f7f581c15a11dca0185dda1b0b5afd12f
|
|
| MD5 |
f2b834ba04bd1633ede2bf0c63029cea
|
|
| BLAKE2b-256 |
03fbdfab27786b648cfdd417d2ef5ab4d916d0bec1ef82fbb5ec93f77cf7c761
|