blob: dca2d05665602dba48acf718d3f0bb59e3a6c1d6 [file] [log] [blame]
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 "15.1.0".
"infra/bootstrap/virtualenv-ext":
"{external_github}/pypa/virtualenv@" +
"2db288fe1f8b6755f8df53b8a8a0667a0f71b1cf",
"infra/luci":
"{chromium_git}/infra/luci/luci-py@" +
"d28114357d6a75c67d6659ac410af384a4ca3dfd",
# 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@" +
"origin/master",
"infra/go/src/go.chromium.org/luci":
"{chromium_git}/infra/luci/luci-go@" +
"6d86113ca36d24a6b00187febabadcb63dd6a94c",
"infra/go/src/go.chromium.org/chromiumos/config":
"{chromium_git}/chromiumos/config@" +
"91cb5ca1026d8192a650dbdc857c567e518e3908",
"infra/go/src/go.chromium.org/chromiumos/infra/proto":
"{chromium_git}/chromiumos/infra/proto@" +
"c63d8dd4ee1c17f7bf5369ba0c809176df491774",
# 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":
"{chromium_git}/external/bitbucket.org/gutworth/six.git@" +
"06daa9c7a4b43c49bf2a3d588c52672e1c5e3a2c",
"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/src/github.com/golang/oauth2":
"{external_github}/golang/oauth2.git@" +
"cb029f4c1f58850787981eefaf9d9bf547c1a722",
"infra/appengine/third_party/src/github.com/golang/protobuf":
"{external_github}/golang/protobuf.git@" +
"b4deda0973fb4c70b50d226b1af49f3da59f5265",
"infra/appengine/third_party/npm_modules": {
"url":
"{chromium_git}/infra/third_party/npm_modules.git@" +
"f83fafaa22f5ff396cf5306285ca3806d1b2cf1b",
"condition": "checkout_linux or checkout_mac",
}
}
hooks = [
{
"pattern": ".",
"action": [
"python", "-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", "./infra/bootstrap/get_gcloud.py", "--dest=.",
],
},
{
"pattern": ".",
"action": [
"python", "-u", "-m", "pip", "install", "--no-deps", "--require-hashes",
"-t", "./infra/appengine/monorail/lib",
"-r", "./infra/appengine/monorail/requirements.py2.txt",
],
},
]
recursedeps = ['build', 'infra/luci']