forked from twitter/gatekeeper-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
45 lines (41 loc) · 897 Bytes
/
BUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
python_binary(
name = "gatekeeper",
source = "gatekeeper.py",
zip_safe = False,
dependencies = [
":gatekeeper_dependencies",
],
)
python_library(
name = "gatekeeper_dependencies",
sources = globs("*.py", "templates/*"),
dependencies = [
"3rdparty/python:twitter.common.app",
"3rdparty/python:Flask",
"3rdparty/python:Flask-WTF",
"3rdparty/python:MarkupSafe",
"3rdparty/python:WTForms",
"3rdparty/python:gevent",
"libs:gunicorn_wrapper",
":runner_dependencies",
],
)
python_binary(
name = "runner",
source = "runner.py",
dependencies = [
":runner_dependencies",
],
)
python_library(
name = "runner_dependencies",
sources = globs("runner.py"),
dependencies = [
"3rdparty/python:twitter.common.log",
"libs:helper_functions",
"libs:google_api",
"libs:ldap_client",
"libs:pagerduty",
"libs:duo"
],
)