Debian Codegraph @

tests/_support/tree/deploy.py

raw
1 "How to deploy our code and configs."
2
3 from invoke import task
4
5
6 @task(default=True)
7 def everywhere(c):
8 "Deploy to all targets."
9 pass
10
11
12 @task(aliases=["db_servers"])
13 def db(c):
14 "Deploy to our database servers."
15 pass
16
17
18 @task
19 def web(c):
20 "Update and bounce the webservers."
21 pass