eellak / epidose

Privacy-preserving epidemic dosimeter based on DP-3T contact tracing
Apache License 2.0
52 stars 6 forks source link

Add mechanism to update until the latest Ansible tag #88

Open stefanos1316 opened 3 years ago

stefanos1316 commented 3 years ago

This is needed if we want to update configurations on the device. For each new update added in the Ansible script, we create a new tag (i.e., update_2) and a function (update_ansbile) inside the epidose/device/utils.sh is responsible to update until the latest tag. To update up to a specific tag, a user has to add the corresponding tag in the update.sh file. For example, echo update_3 >> /var/lib/epidose/latest_update and the update function will execute all tags from the current until the latest. I have also updated the README file about this.