{"id":21320504,"url":"https://github.com/eclass/semantic-release-ecs-deploy","last_synced_at":"2025-10-14T19:33:09.250Z","repository":{"id":37035295,"uuid":"238313568","full_name":"eclass/semantic-release-ecs-deploy","owner":"eclass","description":"semantic-release plugin to deploy ecs services","archived":false,"fork":false,"pushed_at":"2024-04-14T09:26:29.000Z","size":1337,"stargazers_count":1,"open_issues_count":38,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-15T21:07:24.773Z","etag":null,"topics":["ecs-deploy","semantic-release","semantic-release-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eclass.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-02-04T21:46:05.000Z","updated_at":"2024-04-16T21:41:21.528Z","dependencies_parsed_at":"2023-12-29T23:32:31.504Z","dependency_job_id":"6445066f-f61a-4502-9694-7d2d07acaec9","html_url":"https://github.com/eclass/semantic-release-ecs-deploy","commit_stats":{"total_commits":493,"total_committers":5,"mean_commits":98.6,"dds":0.0608519269776876,"last_synced_commit":"bb4dca38c7e7b6b4f95d3ea3fc67d9b77646ad6d"},"previous_names":[],"tags_count":197,"template":false,"template_full_name":"eclass/template-semantic-release-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclass%2Fsemantic-release-ecs-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclass%2Fsemantic-release-ecs-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclass%2Fsemantic-release-ecs-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eclass%2Fsemantic-release-ecs-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eclass","download_url":"https://codeload.github.com/eclass/semantic-release-ecs-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225795392,"owners_count":17525316,"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":["ecs-deploy","semantic-release","semantic-release-plugin"],"created_at":"2024-11-21T19:48:04.726Z","updated_at":"2025-10-14T19:33:04.214Z","avatar_url":"https://github.com/eclass.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @eclass/semantic-release-ecs-deploy\n\n[![npm](https://img.shields.io/npm/v/@eclass/semantic-release-ecs-deploy.svg)](https://www.npmjs.com/package/@eclass/semantic-release-ecs-deploy)\n![Node.js CI](https://github.com/eclass/semantic-release-docker/workflows/Node.js%20CI/badge.svg)\n[![downloads](https://img.shields.io/npm/dt/@eclass/semantic-release-ecs-deploy.svg)](https://www.npmjs.com/package/@eclass/semantic-release-ecs-deploy)\n[![dependencies](https://img.shields.io/david/eclass/semantic-release-ecs-deploy.svg)](https://david-dm.org/eclass/semantic-release-ecs-deploy)\n[![devDependency Status](https://img.shields.io/david/dev/eclass/semantic-release-ecs-deploy.svg)](https://david-dm.org/eclass/semantic-release-ecs-deploy#info=devDependencies)\n[![Coverage Status](https://coveralls.io/repos/github/eclass/semantic-release-ecs-deploy/badge.svg?branch=master)](https://coveralls.io/github/eclass/semantic-release-ecs-deploy?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/f84f0bcb39c9a5c5fb99/maintainability)](https://codeclimate.com/github/eclass/semantic-release-ecs-deploy/maintainability)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\n\u003e [semantic-release](https://github.com/semantic-release/semantic-release) plugin to deploy ecs services\n\n| Step               | Description                                                                                 |\n|--------------------|---------------------------------------------------------------------------------------------|\n| `verifyConditions` | Verify the presence of the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variable. |\n| `publish`          | Upgrade service in aws ecs.                                                                   |\n\n## Install\n\n```bash\nnpm i -D @eclass/semantic-release-ecs-deploy\n```\n\n## Usage\n\nThe plugin can be configured in the [**semantic-release** configuration file](https://github.com/semantic-release/semantic-release/blob/caribou/docs/usage/configuration.md#configuration):\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\",\n    \"@semantic-release/gitlab\",\n    [\n      \"@eclass/semantic-release-ecs-deploy\",\n      {\n        \"services\": [\n          {\n            \"cluster\": \"mycluster\",\n            \"service\": \"myservice\"\n          }\n        ]\n      }\n    ]\n  ]\n}\n```\n\n## Configuration\n\n### Environment variables\n\n| Variable             | Description                                                       |\n| -------------------- | ----------------------------------------------------------------- |\n| `AWS_ACCESS_KEY_ID` | aws access key id |\n| `AWS_SECRET_ACCESS_KEY` | aws secret access key |\n\n### Options\n\n| Variable             | Description                                                       |\n| -------------------- | ----------------------------------------------------------------- |\n| `services` | Array of object `service`. Required. |\n| `service`.`cluster` | Name of cluster in aws ecs. Required. |\n| `service`.`service` | Name of service in aws ecs. Required. |\n| `service`.`timeout` | Timeout in seconds to wait upgrade. Optional. Default `300` |\n| `service`.`ignoreWarnings` | Flag to ignore warnings in upgrade. Optional. Default `false` |\n\n### Examples\n\n```json\n{\n  \"plugins\": [\n    \"@semantic-release/changelog\",\n    \"@semantic-release/npm\",\n    \"@semantic-release/git\",\n    \"@semantic-release/gitlab\",\n    [\n      \"@eclass/semantic-release-ecs-deploy\",\n      {\n        \"services\": [\n          {\n            \"cluster\": \"mycluster\",\n            \"service\": \"myservice\",\n            \"timeout\": -1,\n            \"ignoreWarnings\": true\n          }\n        ]\n      }\n    ]\n  ]\n}\n```\n\n```yml\n# .gitlab-ci.yml\nrelease:\n  image: node:alpine\n  stage: release\n  script:\n    - npx semantic-release\n  only:\n    - master\n```\n\n```yml\n# .travis.yml\nlanguage: node_js\ncache:\n  directories:\n    - ~/.npm\nnode_js:\n  - \"12\"\nstages:\n  - test\n  - name: deploy\n    if: branch = master\njobs:\n  include:\n    - stage: test\n      script: npm t\n    - stage: deploy\n      script: npx semantic-release\n\n```\n\n## License\n\n[MIT](https://tldrlegal.com/license/mit-license)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclass%2Fsemantic-release-ecs-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feclass%2Fsemantic-release-ecs-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feclass%2Fsemantic-release-ecs-deploy/lists"}