opensafely-core / codespaces-initiative

Improving the use of OpenSAFELY in Codespaces
MIT License
0 stars 0 forks source link

Rebuild dev container docker image weekly #52

Closed lucyb closed 1 month ago

lucyb commented 2 months ago

The R image and sometimes the Python image have new packages added to them fairly regularly. To ensure we pick up these changes, and also stay on top of any security updates from rocker, we should rebuild the docker image regularly.

Rebuilding the image weekly, means that we'll pick up any new packages within a reasonable amount of time.

TODO

[!NOTE] GitHub disable scheduled workflows if no changes are made to a repo in 60 days. Please ignore that problem for this ticket.

StevenMaude commented 2 months ago

Note that scheduled workflows interact with the last user who edited the cron line:

lucyb commented 2 months ago

That's a good point Steve. We should definitely make sure failure notifications go into Slack as part of this ticket.

We shouldn't worry about someone leaving as part of this ticket. Although if it becomes an issue in future, there are third-party services that can alert us if a cron job doesn't run, which could also work with scheduled workflows.