You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests that will confirm the container has successfully migrated:
CloudFormation will report UPDATE_COMPLETE for the enhanced stack
ECS will report (a) "Launch Type FARGATE" for the service, (b) 1 Task Running at the Task level, and (c) at the Task detail level a "Started at" timestamp that is at least 5 minutes into the past (which indicates that the container stayed RUNNING long enough to pass the ALB health check cycle)
latest log in CloudWatch group for the associated service will show entries of the form 10.180.9.210 [09/Aug/2019:20:52:04 +0000] GET /homeless/ HTTP/1.1 200 23929 - ELB-HealthChecker/2.0 0.103165
The 2017 API containers have drifted pretty far from the 2018/2019 API configuration and CI/CD setup, so it is first necessary to upgrade the 2017 API, container and Travis configurations before the CloudFormation migration will ever succeed:
The actual changes to master.yaml ultimately result in:
adding a 2017Homeless Resource to the # 2017 API Services - Fargate section (currently around here)
removing the HomelessService Resource block from master.yaml.
Travis updates
The newly-created Resource will have a new Service name in the ECS interface (e.g. hacko-integration-2017Budget-YOMCBA6UTARG-Service-1F3RKQ7TN48S) which will need to be used as the ECS_SERVICE_NAME variable in the associated Travis repo's Settings: https://travis-ci.org/hackoregon/teamHomelessness/settings
Until the Travis configuration knows of the new ECS Service Name, any deployment via Travis will fail its attempt to deploy the Travis-build container image to the old Service (which will be gone as soon as the CloudFormation migration strategy is underway).
Delete the old value and create a new one (and feel free to make it non-secret - it's more important to be able to review the Travis env var settings when troubleshooting future problems, than it is to protect configuration parameters like this that aren't really secret. NOTE: you will need elevated privileges in the associated GitHub repo to be able to access and update the Travis repo Settings.
Addresses #244 for the 2017 Homelessness API. Mirrors the work in #259 and #260, and implements similar changes as hackoregon/hackoregon-aws-infrastructure#84. Uses the migration procedure documented here.
Acceptance Criteria
Tests that will confirm the container has successfully migrated:
10.180.9.210 [09/Aug/2019:20:52:04 +0000] GET /homeless/ HTTP/1.1 200 23929 - ELB-HealthChecker/2.0 0.103165
The text was updated successfully, but these errors were encountered: