Skip to content

Github action to wait for ECS deployments to complete

License

Notifications You must be signed in to change notification settings

CoProcure/wait-for-ecs-deployment

Repository files navigation

Wait for ECS Deployment to Complete

Waits for any pending ECS deployment to reach the completed state before continuing. This action is useful to avoid cases where a new deploy begins during a partially completed rollback. AWS notes in their documentation that when using deployment circuit breakers, if a second deployment begins while the first is being rolled back, the second deployment cannot rollback.

Usage

- name: Wait for deployment
  uses: coprocure/[email protected]
  with:
    cluster: main
    service: my-service

See action.yml file for the full documentation for this action's inputs and outputs.

Credentials and Region

This action relies on the default behavior of the AWS SDK for Javascript to determine AWS credentials and region. Use the aws-actions/configure-aws-credentials action to configure the GitHub Actions environment with environment variables containing AWS credentials and your desired region.

License Summary

This code is made available under the MIT license.

About

Github action to wait for ECS deployments to complete

Resources

License

Stars

Watchers

Forks

Packages

No packages published