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] -s SERVICES [-p PROJECT] [--slack SLACK] [--check]
[--force] [-v VERBOSITY]
Checks for new images and updates services if needed.
optional arguments:
-h, --help show this help message and exit
-s SERVICES, --service SERVICES
Service to update
-p PROJECT, --project PROJECT
Optional project name
--slack SLACK Slack token 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 abc/def/123
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.1.tar.gz
(4.3 kB
view hashes)
Built Distribution
kapten-1.1-py3-none-any.whl
(5.0 kB
view hashes)