Skip to content

Instantly share code, notes, and snippets.

View vmeyet's full-sized avatar
👨‍💻
Coding

Meyet Vivien vmeyet

👨‍💻
Coding
View GitHub Profile
class AutodeployPolicy
ALLOWED_PERIODS = [
"08:30:00".."11:59:59",
# No autodeploys during lunch!
"13:00:00".."18:00:00",
]
# On Fridays, people sometimes leave earlier.
# Not the funnest day to fix problems, so let's cut autodeploys earlier.
END_OF_WORKDAY_ON_FRIDAYS = "16:30:00"