Auto deploy of Docker Swarm services
Project description
kapten
Updates a Docker Swarm service when a new image is available.
Usage
$ kapten --help
usage: kapten [-h] [--version] [-s SERVICES] [-p PROJECT]
[--slack-token SLACK_TOKEN] [--slack-channel SLACK_CHANNEL]
[--check] [--force] [-v VERBOSITY]
Checks for new images and updates services if needed.
optional arguments:
-h, --help show this help message and exit
--version Show version and exit.
-s SERVICES, --service SERVICES
Service to update.
-p PROJECT, --project PROJECT
Optional project name.
--slack-token SLACK_TOKEN
Slack token to use for notification.
--slack-channel SLACK_CHANNEL
Optional Slack channel to use for notification.
--check Only check if service needs to be updated.
--force Force service update.
-v VERBOSITY, --verbosity VERBOSITY
Level of verbosity.
Example
$ kapten --service app --slack-token T00ABCD0A/ABCDEFGHI/xYzabCDEfGh1aBCCd12abCde
Updating service app to repo/app:latest@sha256:123456789
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
kapten-1.3.tar.gz
(5.2 kB
view details)
Built Distribution
kapten-1.3-py3-none-any.whl
(6.1 kB
view details)
File details
Details for the file kapten-1.3.tar.gz
.
File metadata
- Download URL: kapten-1.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9936b6843e93990b4e7b5eba0c0226c59bf2e747dc87d57f160b9544cafe6612 |
|
MD5 | 0b624966103fe0de2151878c5c205f74 |
|
BLAKE2b-256 | b09826d52c76430c0b34212c75b6caa1729bc99590907ad4a90c9560eab62558 |
File details
Details for the file kapten-1.3-py3-none-any.whl
.
File metadata
- Download URL: kapten-1.3-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6479362337fee7fba9d9d5c4fa1374bca651302b4c69fe882ee53fb59d1fdf88 |
|
MD5 | d5ea3cd8453da8cbac3f85b29daa148e |
|
BLAKE2b-256 | 0c999397c2252d59cfd6c23c86309647e4d0928cf080d8e7bb7955286baaf075 |