screwdriver
screwdriver copied to clipboard
Scheduled SD jobs stop without notice if all admins leave a project
What happened: Scheduled screwdriver jobs fail when all admins leave the github repo. This doesn't prevent checkout or even commits to the repo since devs can have write permission without admin.
When this happens, no notification is sent to any user that this has stopped running. Though users can check back to the pipeline page to see no admin
, and manually sync (see fat: https://github.com/screwdriver-cd/ui/pull/771). Still, it is not an ideal situation.
What you expected to happen:
Email specified in the screwdriver.yaml receives an email notification when the pipeline has no active admin, and prompts users that scheduled/periodical jobs will stop working because of no active admins
How to reproduce it: Refer: https://github.com/screwdriver-cd/ui/pull/771 to see how to run SQL query to reproduce