handle mirror urls in check_bazel_workspace.py

pull/22764/head
Jan Tattermusch 5 years ago
parent 4e7b000148
commit fc5938ad41
  1. 7
      tools/run_tests/sanity/check_bazel_workspace.py

@ -109,7 +109,12 @@ class BazelEvalState(object):
if args['name'] in _GRPC_BAZEL_ONLY_DEPS:
self.names_and_urls[args['name']] = 'dont care'
return
self.names_and_urls[args['name']] = args['url']
url = args.get('url', None)
if not url:
# we will only be looking for git commit hashes, so concatenating
# the urls is fine.
url = ' '.join(args['urls'])
self.names_and_urls[args['name']] = url
def git_repository(self, **args):
assert self.names_and_urls.get(args['name']) is None

Loading…
Cancel
Save