{"id":21816588,"url":"https://github.com/5monkeys/kapten","last_synced_at":"2025-04-14T01:15:07.149Z","repository":{"id":45382344,"uuid":"215581313","full_name":"5monkeys/kapten","owner":"5monkeys","description":"Auto deploy of Docker Swarm services","archived":false,"fork":false,"pushed_at":"2021-12-16T14:11:47.000Z","size":245,"stargazers_count":18,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T01:14:57.131Z","etag":null,"topics":["continuous-delivery","docker","swarm"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/5monkeys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-16T15:23:35.000Z","updated_at":"2024-01-12T01:32:15.000Z","dependencies_parsed_at":"2022-08-12T11:52:01.434Z","dependency_job_id":null,"html_url":"https://github.com/5monkeys/kapten","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5monkeys%2Fkapten","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5monkeys%2Fkapten/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5monkeys%2Fkapten/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/5monkeys%2Fkapten/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/5monkeys","download_url":"https://codeload.github.com/5monkeys/kapten/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248804824,"owners_count":21164135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["continuous-delivery","docker","swarm"],"created_at":"2024-11-27T15:35:24.650Z","updated_at":"2025-04-14T01:15:07.128Z","avatar_url":"https://github.com/5monkeys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/5monkeys/kapten/master/kapten-text.png\" width=\"66%\" /\u003e\n\n# kapten\n\n![](https://github.com/5monkeys/kapten/workflows/test/badge.svg)\n[![codecov](https://codecov.io/gh/5monkeys/kapten/branch/master/graph/badge.svg)](https://codecov.io/gh/5monkeys/kapten)\n[![PyPi Version](https://img.shields.io/pypi/v/kapten.svg)](https://pypi.org/project/kapten/)\n[![Python Versions](https://img.shields.io/pypi/pyversions/kapten.svg)](https://pypi.org/project/kapten/)\n\nUpdates a Docker Swarm service when a new image is available.\n\n### Usage\n```console\n$ kapten --help\nusage: kapten [-h] [--version] [-s SERVICES] [-p PROJECT]\n              [--slack-token SLACK_TOKEN] [--slack-channel SLACK_CHANNEL]\n              [--check] [--force] [-v VERBOSITY]\n\nChecks for new images and updates services if needed.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --version             Show version and exit.\n  -s SERVICES, --service SERVICES\n                        Service to update.\n  -p PROJECT, --project PROJECT\n                        Optional project name.\n  --slack-token SLACK_TOKEN\n                        Slack token to use for notification.\n  --slack-channel SLACK_CHANNEL\n                        Optional Slack channel to use for notification.\n  --check               Only check if service needs to be updated.\n  --force               Force service update.\n  -v VERBOSITY, --verbosity VERBOSITY\n                        Level of verbosity.\n```\n\n### Example\n```console\n$ kapten --service app --slack-token T00ABCD0A/ABCDEFGHI/xYzabCDEfGh1aBCCd12abCde\nUpdating service app to repo/app:latest@sha256:123456789\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5monkeys%2Fkapten","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F5monkeys%2Fkapten","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F5monkeys%2Fkapten/lists"}