-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Ameena Hassan edited this page Apr 6, 2021
·
4 revisions
Welcome to the smart-infrastructure wiki!
What we're trying to do:
What we've done so far:
When | What |
---|---|
29th | Introduction + technical set up |
30th | Setting up deployment |
30th | Setting up pipeline |
We collaborated with Timor (DuckieTown Team Member) to set up the deployment pipeline such that on a push to trunk (or pull commit), the testing and deployment to a RaspberryPi is automated.
Once a Docker image has been created and sent to a RaspberryPi, we follow a blue-green deployment with the help of an NginX config file to get this new image running instead. The 'safe state' to synchronise at is when we can turn all lights to red, and then deploy the newer schedule. This would occur ideally when there are no DuckieBots near a certain intersection. (The lights at that intersection would be updated, then the lights at another intersection.)