[infra] Upgrade gsutil to version 4.34

Change-Id: Id353fa11a8f86415569a505ef5ecd7bf03fb51e1
Reviewed-on: https://dart-review.googlesource.com/c/90487
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
This commit is contained in:
Alexander Thomas 2019-01-22 16:58:58 +00:00 committed by commit-bot@chromium.org
parent 2b1e2718e7
commit 770ab5275a
5 changed files with 11 additions and 20 deletions

22
DEPS
View file

@ -190,6 +190,14 @@ deps = {
"https://boringssl.googlesource.com/boringssl.git" +
"@" + Var("boringssl_rev"),
Var("dart_root") + "/third_party/gsutil": {
"packages": [{
"package": "infra/gsutil",
"version": "version:4.34",
}],
"dep_type": "cipd",
},
Var("dart_root") + "/third_party/root_certificates":
Var("dart_git") + "root_certificates.git" +
"@" + Var("root_certificates_rev"),
@ -450,20 +458,6 @@ hooks = [
Var('dart_root') + "/third_party/7zip.tar.gz.sha1",
],
},
{
"name": "gsutil",
"pattern": ".",
"action": [
"download_from_google_storage",
"--no_auth",
"--no_resume",
"--bucket",
"dart-dependencies",
"--extract",
"-s",
Var('dart_root') + "/third_party/gsutil.tar.gz.sha1",
],
},
{
# Pull Debian wheezy sysroot for i386 Linux
'name': 'sysroot_i386',

View file

@ -9,7 +9,6 @@
!d8
!7zip.tar.gz.sha1
!firefox_jsshell
!gsutil.tar.gz.sha1
!clang.tar.gz.sha1
!unittest.tar.gz.sha1
!update.sh

View file

@ -1 +0,0 @@
99b82a42b98b78fc2a3f155995a16d8d7517b657

View file

@ -44,14 +44,14 @@ def BuildDartdocAPIDocs(dirname):
'dart-sdk')
dart_exe = os.path.join(dart_sdk, 'bin', 'dart')
dartdoc_dart = os.path.join(bot_utils.DART_DIR,
'third_party', 'pkg' , 'dartdoc' , 'bin' ,
'third_party', 'pkg', 'dartdoc', 'bin',
'dartdoc.dart')
footer_file = os.path.join(bot_utils.DART_DIR,
'tools', 'bots', 'dartdoc_footer.html')
url = 'https://api.dartlang.org/stable'
with bot.BuildStep('Build API docs by dartdoc'):
bot_utils.run([dart_exe, dartdoc_dart,
'--sdk-docs','--output', dirname, '--footer' , footer_file,
'--sdk-docs', '--output', dirname, '--footer', footer_file,
'--rel-canonical-prefix=' + url])
def CreateUploadVersionFile():
@ -172,7 +172,7 @@ def GsutilExists(gsu_path):
throw_on_error=False)
# If the returncode is nonzero and we can find a specific error message,
# we know there are no objects with a prefix of [gsu_path].
missing = (returncode and 'CommandException: No such object' in stderr)
missing = (returncode and 'CommandException: One or more URLs matched no objects.' in stderr)
# Either the returncode has to be zero or the object must be missing,
# otherwise throw an exception.
if not missing and returncode:

View file

@ -136,7 +136,6 @@
"samples-dev/",
"tools/",
"third_party/android_tools/sdk/platform-tools/adb",
"third_party/gsutil/",
"third_party/pkg/",
"third_party/pkg_tested/",
"third_party/observatory_pub_packages/packages/",