-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDEPS
158 lines (132 loc) · 5.14 KB
/
DEPS
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
vars = {
"chromium_git": "https://chromium.googlesource.com",
"external_github": "https://chromium.googlesource.com/external/github.com",
# This can be used to override the python used for generating the ENV python
# environment. Unfortunately, some bots need this as they are attempting to
# build the "infra/infra_python/${platform}" package which includes
# a virtualenv which needs to point to a fixed, pre-deployed, python
# interpreter on the system.
#
# This package is an awful way to distribute software, so if you see an
# opportunity to kill it, please do so.
"infra_env_python": "python",
}
deps = {
"build":
"{chromium_git}/chromium/tools/build.git",
# Used to initiate bootstrapping.
#
# This commit resolves to tag "16.7.12".
"infra/bootstrap/virtualenv-ext":
"{external_github}/pypa/virtualenv@" +
"fdfec65ff031997503fb409f365ee3aeb4c2c89f",
"infra/luci":
"{chromium_git}/infra/luci/luci-py@" +
"bd51a9097394ef662736f9ec0ea6cfeb4c7bd09a",
# This unpinned dependency is present because it is used by the trybots for
# the recipes-py repo; They check out infra with this at HEAD, and then apply
# the patch to it and run verifications within that copy of the repo. They
# piggyback on top of infra in order to take advantage of it's precompiled
# version of python-coverage.
"infra/recipes-py":
"{chromium_git}/infra/luci/recipes-py@" +
"refs/heads/main",
"infra/go/src/go.chromium.org/luci":
"{chromium_git}/infra/luci/luci-go@" +
"01cb6ea19c643c03eb9fae45757b14c6f57ca343",
"infra/go/src/go.chromium.org/chromiumos/config":
"{chromium_git}/chromiumos/config@" +
"dad32402130e08783ed01aa67c69bfbd7c2a3d61",
"infra/go/src/go.chromium.org/chromiumos/infra/proto":
"{chromium_git}/chromiumos/infra/proto@" +
"67347c16c08bd5670ec528b9dac9767ad4b692f8",
# Appengine third_party DEPS
"infra/appengine/third_party/bootstrap":
"{external_github}/twbs/bootstrap.git@" +
"b4895a0d6dc493f17fe9092db4debe44182d42ac",
"infra/appengine/third_party/cloudstorage":
"{external_github}/GoogleCloudPlatform/appengine-gcs-client.git@" +
"76162a98044f2a481e2ef34d32b7e8196e534b78",
"infra/appengine/third_party/six":
"{external_github}/benjaminp/six.git@" +
"65486e4383f9f411da95937451205d3c7b61b9e1",
"infra/appengine/third_party/oauth2client":
"{external_github}/google/oauth2client.git@" +
"e8b1e794d28f2117dd3e2b8feeb506b4c199c533",
"infra/appengine/third_party/uritemplate":
"{external_github}/uri-templates/uritemplate-py.git@" +
"1e780a49412cdbb273e9421974cb91845c124f3f",
"infra/appengine/third_party/httplib2":
"{external_github}/jcgregorio/httplib2.git@" +
"058a1f9448d5c27c23772796f83a596caf9188e6",
"infra/appengine/third_party/endpoints-proto-datastore":
"{external_github}/GoogleCloudPlatform/endpoints-proto-datastore.git@" +
"971bca8e31a4ab0ec78b823add5a47394d78965a",
"infra/appengine/third_party/difflibjs":
"{external_github}/qiao/difflib.js.git@"
"e11553ba3e303e2db206d04c95f8e51c5692ca28",
"infra/appengine/third_party/pipeline":
"{external_github}/GoogleCloudPlatform/appengine-pipelines.git@" +
"58cf59907f67db359fe626ee06b6d3ac448c9e15",
"infra/appengine/third_party/google-api-python-client":
"{external_github}/google/google-api-python-client.git@" +
"49d45a6c3318b75e551c3022020f46c78655f365",
"infra/appengine/third_party/gae-pytz":
"{chromium_git}/external/code.google.com/p/gae-pytz/@" +
"4d72fd095c91f874aaafb892859acbe3f927b3cd",
"infra/appengine/third_party/dateutil":
"{chromium_git}/external/code.launchpad.net/dateutil/@" +
"8c6026ba09716a4e164f5420120bfe2ebb2d9d82",
## For ease of development. These are pulled in as wheels for run.py/test.py
"infra/packages/expect_tests":
"{chromium_git}/infra/testing/expect_tests.git@" +
"eae70af12019781088e586ded8891055471233c7",
"testing_support":
"{chromium_git}/infra/testing/testing_support.git",
"infra/appengine/third_party/npm_modules": {
"url":
"{chromium_git}/infra/third_party/npm_modules.git@" +
"f83fafaa22f5ff396cf5306285ca3806d1b2cf1b",
"condition": "checkout_linux or checkout_mac",
},
"gcloud": {
'packages': [
{
'package': 'infra/3pp/tools/gcloud/${{os=mac,linux}}-${{arch=amd64}}',
'version': 'version:[email protected]',
}
],
'dep_type': 'cipd',
},
}
hooks = [
{
"pattern": ".",
"action": [
"python3", "-u", "./infra/bootstrap/remove_orphaned_pycs.py",
],
},
{
"pattern": ".",
"action": [
Var("infra_env_python"), "-u", "./infra/bootstrap/bootstrap.py",
"--deps_file", "infra/bootstrap/deps.pyl", "infra/ENV"
],
},
{
"pattern": ".",
"action": [
"python", "-u", "./infra/bootstrap/install_cipd_packages.py", "-v",
],
},
{
"pattern": ".",
"action": [
"python", "-u", "-m", "pip", "install", "--no-deps", "--require-hashes",
"-t", "./infra/appengine/monorail/lib",
"-r", "./infra/appengine/monorail/requirements.py2.txt",
"--upgrade",
],
},
]
recursedeps = ['build', 'infra/luci']