Skip to main content

Auto deploy of Docker Swarm services

Project description

kapten

codecov PyPi Version Python Versions

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 hashes)

Uploaded Source

Built Distribution

kapten-1.3-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page