Skip to main content

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

Metadata

Release files for kapten 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kapten 1.3
File Size Uploaded
kapten-1.3.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kapten 1.3
File Interpreter ABI Platform
kapten-1.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / kapten-1.3.tar.gz

Download URL kapten-1.3.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9936b6843e93990b4e7b5eba0c0226c59bf2e747dc87d57f160b9544cafe6612
BLAKE2b-256 checksum
How to use checksums
b09826d52c76430c0b34212c75b6caa1729bc99590907ad4a90c9560eab62558
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / kapten-1.3-py3-none-any.whl

Download URL kapten-1.3-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6479362337fee7fba9d9d5c4fa1374bca651302b4c69fe882ee53fb59d1fdf88
BLAKE2b-256 checksum
How to use checksums
0c999397c2252d59cfd6c23c86309647e4d0928cf080d8e7bb7955286baaf075
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.3 This release

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page