cityofaustin / atd-micromobility-api

A dockless mobility data API built with Python/Sanic
12 stars 4 forks source link

Task reboot fix #35

Closed sergiogcx closed 5 years ago

sergiogcx commented 5 years ago

The service gets updated, meaning all containers are build with the new code as found in the master branch. The problem is that the service-update command does not remove any old remaining containers (tasks).

Added a few lines to stop each old container individually, and let the autoscaling policy spawn new containers.

johnclary commented 5 years ago

@mateoclarke this PR is rolling up my changes for date querying into @sergiogcx's ecs deployment patch. i also added a new test for the date query method and a new package requirement: pytz.