hackoregon / civic-devops

Master collection point for issues, procedures, and code to manage the HackOregon Civic platform
MIT License
11 stars 4 forks source link

Update Travis ECS_SERVICE_NAME env vars for all legacy services, to re-enable deploy pipeline #184

Closed MikeTheCanuck closed 6 years ago

MikeTheCanuck commented 6 years ago

Due to an unintentional but complete redeploy of the ECS cluster, all the service names got updated.

The service names were updated in the corresponding Travis repos' ECS_SERVICE_NAME environment variables, but only for the 2018 repos.

The remaining repos include:

nam20485 commented 6 years ago

What about me? (Disaster-resilience)

On Sat, Jun 23, 2018, 11:24 AM Mike Lonergan notifications@github.com wrote:

Due to an unintentional but complete redeploy of the ECS cluster, all the service names got updated.

The service names were updated in the corresponding Travis repos' ECS_SERVICE_NAME environment variables, but only for the 2018 repos.

The remaining repos include:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hackoregon/civic-devops/issues/184, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvqFFOrJgTxmBCHumtdBf3YchnnivSiks5t_ofvgaJpZM4U04t7 .

MikeTheCanuck commented 6 years ago

I am under the impression that all the 2018 container services (all the stuff from Civic, as well as the 5 Django app repos) were updated in Travis already. If you repo is not yet updated, then you'll see that the deploy step of the Travis build is no longer finishing with these steps:

Using image name: 845828040396.dkr.ecr.us-west-2.amazonaws.com/production/[secure]-service:latest
Current task definition: arn:aws:ecs:us-west-2:845828040396:task-definition/[secure]-service:52
New task definition: arn:aws:ecs:us-west-2:845828040396:task-definition/[secure]-service:53
Service updated successfully, new task definition running.

Checking the latest merge-to-master build for Disaster Resilience, this is exactly what's happening - so looks like that Travis repo was updated already.

MikeTheCanuck commented 6 years ago

Fixed all the 2017 Travis repos.