{"id":19622214,"url":"https://github.com/commercetools/docker-cloud-bot","last_synced_at":"2025-08-21T23:23:05.898Z","repository":{"id":24134515,"uuid":"100685459","full_name":"commercetools/docker-cloud-bot","owner":"commercetools","description":"A bot to manage your Docker cloud stacks (create, update, delete) based on PR lifecycle.","archived":false,"fork":false,"pushed_at":"2023-06-22T21:42:03.000Z","size":714,"stargazers_count":4,"open_issues_count":13,"forks_count":0,"subscribers_count":68,"default_branch":"master","last_synced_at":"2025-04-20T15:17:57.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commercetools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-18T07:27:06.000Z","updated_at":"2019-04-29T11:38:15.000Z","dependencies_parsed_at":"2024-11-11T11:32:17.078Z","dependency_job_id":"6653c328-09db-456f-bef3-db50e37f87b5","html_url":"https://github.com/commercetools/docker-cloud-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fdocker-cloud-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fdocker-cloud-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fdocker-cloud-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commercetools%2Fdocker-cloud-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commercetools","download_url":"https://codeload.github.com/commercetools/docker-cloud-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251246394,"owners_count":21558762,"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":[],"created_at":"2024-11-11T11:26:40.818Z","updated_at":"2025-04-28T03:32:27.097Z","avatar_url":"https://github.com/commercetools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-cloud-bot\n\u003e a GitHub App built with [probot](https://github.com/probot/probot)\n\nA bot to manage your _Docker cloud stacks_ (create, update, delete) based on PR lifecycle.\n\n![Image of Yaktocat](docker-cloud-bot-screenshot.png)\n\n## Setup\n\n```\n# Set the APP_ID and WEBHOOK_SECRET environment variables with the corresponding values for the bot\n# Set the DOCKERCLOUD_USER and DOCKERCLOUD_APIKEY environment variables for Docker Cloud integration\n# Ask the owner for the app private key to use the bot\n\n# Install dependencies\nnpm install\n\n# Run the bot locally, using localtunnel\nnpm start\n```\n\n## Configuration\nTo configure the bot, you need to provide a `.github/docker-cloud-config.yml` in your project repository where you install the bot. Check `docker-cloud-config.yml.example` to see all possible configuration values.\n\n## Features\n* create a stack (defined in the bot config) based on a CI \"status change\" trigger\n* redeploy the stack for each new CI \"status change\"\n* delete the stack if the PR is merged/closed\n* get notifications as comments in PR\n  * provide the service URLs to the PR after the stack has been created\n  * notify when stack is redeployed\n  * notify when stack is scheduled for termination\n\n## Limitations\nThere are currently some limitations in terms of configuration and other possible features.\n\n\u003e If you happen to be using this bot and you need extra features or maybe something doesn't quite work for you, please let us know and we'll try to find a solution.\n\n* you can define only one _docker cloud service_ in your stack template.\n* the stack template configuration must be provided in the `.github/docker-cloud-config.yml` in plain text. For instance if you need e.g. environment variables with sensible credentials, you can't really do much besides providing them as plain text.\n* bot comments are not customisable.\n* it's assumed that the docker image tag is the same as the github branch.\n\n## Deployment\nSee [docs/deploy.md](docs/deploy.md) if you would like to run your own instance of this plugin.\n\n\u003e Make sure to get the pem certificate as a one liner, if you pass it as an _environment variable_.\n\n```bash\n$ awk 'NF {sub(/\\r/, \"\"); printf \"%s\\\\n\",$0;}' cert-name.pem\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fdocker-cloud-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommercetools%2Fdocker-cloud-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommercetools%2Fdocker-cloud-bot/lists"}