Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Allow 0 desiredCount for deploy-ecs action #56

Merged
merged 1 commit into from
May 16, 2024

Conversation

rymarczy
Copy link
Contributor

The LAMP team does not always have all of our ECS instances running at the time of a deploy, meaning the ECS deployment details desiredCount can be set to 0.

This change allows a desiredCount value of 0 through the use of a boolean input flag allow-zero-desired input on the deploy-ecs action. By default this flag is set to false which should have zero impact on existing users of this action.

@rymarczy rymarczy requested a review from a team as a code owner May 16, 2024 13:31
@rymarczy rymarczy changed the title FEAT: Allow 0 desirecCount for deploy-ecs action FEAT: Allow 0 desiredCount for deploy-ecs action May 16, 2024
@paulswartz
Copy link
Member

@rymarczy were you able to try this with LAMP?

@rymarczy
Copy link
Contributor Author

@paulswartz This ran successfully on LAMP staging with 2 running tasks and 1 non-running task:

https://github.com/mbta/lamp/actions/runs/9114530923

Copy link
Member

@paulswartz paulswartz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍰

After merging, please:

  • tag a v2.7 point release
  • re-tag the v2 top-level tag

@rymarczy rymarczy merged commit 29afce1 into main May 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants