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

don't wait for ECS service stability for pg-migration deploy #2018

Merged
merged 5 commits into from
Jan 8, 2025

Conversation

habdelra
Copy link
Contributor

@habdelra habdelra commented Jan 8, 2025

we don't wait for ECS service stability for pg-migrations since it's not a service, just a task that needs to run in the same VPC--but the new ECS deploy GH action version gets mad that the service is not ready and exits with error status breaking the deploy. in the previous version of the GH action for ECS deploys, not having a heath check meant not waiting for the service to stabilize, but now we need to explicitly say it.

Copy link

github-actions bot commented Jan 8, 2025

Host Test Results

    1 files  ±0      1 suites  ±0   20m 53s ⏱️ +2s
725 tests ±0  723 ✔️ ±0  2 💤 ±0  0 ±0 
730 runs  ±0  728 ✔️ ±0  2 💤 ±0  0 ±0 

Results for commit 21e06ed. ± Comparison against base commit ca1657f.

♻️ This comment has been updated with latest results.

@habdelra habdelra changed the title don't wait for service stability for pg-migration don't wait for ECS service stability for pg-migration deploy Jan 8, 2025
needs: [migrate-db]
runs-on: ubuntu-latest
steps:
- run: sleep 240
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we still need to wait for the ECS task to be provisioned and start running. (the old action version actually just waited for the timeout of 5 minutes--i think we can do a little better than that)

@habdelra habdelra marked this pull request as ready for review January 8, 2025 17:27
@habdelra habdelra requested a review from a team January 8, 2025 17:27
@habdelra
Copy link
Contributor Author

habdelra commented Jan 8, 2025

This issue is holding up deployments so i'm going to merge now. I'll be happy to address any feedback after it's merged

@habdelra habdelra merged commit b24ab77 into main Jan 8, 2025
54 checks passed
@lukemelia
Copy link
Contributor

Seems good to me

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.

2 participants