Skip to content

Allow Riff-Raff to update both Applications ASGs during GuCDK migration #27979

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

jamesmockett
Copy link
Contributor

@jamesmockett jamesmockett commented May 20, 2025

What is the value of this and can you measure success?

We are dual-stacking Applications as we migrate it to GuCDK. This means all infrastructure components (load balancer, autoscaling group, instances etc.) are temporarily duplicated.

Riff-Raff normally expects to find exactly one matching autoscaling group for a set of tags. When deploying it will update the application code for that autoscaling group only. If Riff-Raff finds more than one autoscaling group with the same set of tags the deployment will fail.

This change adds the asgMigrationInProgress to allow Riff-Raff to update both Applications autoscaling groups when deploying.

This relies on https://github.com/guardian/platform/pull/1847 being applied first.

Checklist

Validated with Riff-Raff

Screenshot 2025-05-20 at 10 35 16

@jamesmockett jamesmockett self-assigned this May 20, 2025
Copy link
Contributor

github-actions bot commented May 20, 2025

@jamesmockett jamesmockett force-pushed the jm/applications-riff-raff-dual-stack branch from 36e13cf to 0cd7b33 Compare May 20, 2025 09:37
@jamesmockett jamesmockett marked this pull request as ready for review May 20, 2025 09:38
@jamesmockett jamesmockett requested a review from a team as a code owner May 20, 2025 09:38
@jamesmockett jamesmockett added this to the Frontend CDK Migration milestone May 20, 2025
@jamesmockett jamesmockett force-pushed the jm/applications-riff-raff-dual-stack branch 2 times, most recently from e675652 to d8b8f17 Compare May 28, 2025 16:11
@jamesmockett jamesmockett force-pushed the jm/applications-riff-raff-dual-stack branch from d8b8f17 to 36d6299 Compare May 29, 2025 11:47
@jamesmockett jamesmockett merged commit 092dbf5 into main May 30, 2025
7 checks passed
@jamesmockett jamesmockett deleted the jm/applications-riff-raff-dual-stack branch May 30, 2025 10:35
@prout-bot
Copy link
Collaborator

Overdue on FRONTS-PROD, ADMIN-PROD (merged by @jamesmockett 30 minutes and 7 seconds ago) What's gone wrong?

@prout-bot
Copy link
Collaborator

Seen on ADMIN-PROD (merged by @jamesmockett 34 minutes and 31 seconds ago)

@jamesmockett
Copy link
Contributor Author

Overdue on FRONTS-PROD, ADMIN-PROD (merged by @jamesmockett 30 minutes and 7 seconds ago) What's gone wrong?

Continuous deployment is temporarily disabled as this needs to be manually deployed in a specific order (along with corresponding Platform updates) to CODE and PROD.

@prout-bot
Copy link
Collaborator

Seen on FRONTS-PROD (merged by @jamesmockett 37 minutes and 47 seconds ago)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants