Upgrade Go to 1.16.3.
Change-Id: I2654ad43acd90d8a65dc2f54b47c0d9085e69175 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/394836 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Joe Gregorio <jcgregorio@google.com>
This commit is contained in:
parent
9be7683222
commit
6d635543e2
@ -1 +1 @@
|
||||
9
|
||||
14
|
@ -10,20 +10,23 @@
|
||||
|
||||
|
||||
import argparse
|
||||
import common # pylint: disable=unused-import
|
||||
import os
|
||||
import subprocess
|
||||
import utils
|
||||
|
||||
|
||||
# Remember to also update the go_win asset when this is updated.
|
||||
GO_URL = "https://dl.google.com/go/go1.15.linux-amd64.tar.gz"
|
||||
GO_URL = "https://golang.org/dl/go1.16.3.linux-amd64.tar.gz"
|
||||
|
||||
|
||||
def create_asset(target_dir):
|
||||
"""Create the asset."""
|
||||
p1 = subprocess.Popen(["curl", GO_URL], stdout=subprocess.PIPE)
|
||||
p2 = subprocess.Popen(["tar", "-C", target_dir, "-xzf" "-"], stdin=p1.stdout)
|
||||
p1.stdout.close() # Allow p1 to receive a SIGPIPE if p2 exits.
|
||||
_,_ = p2.communicate()
|
||||
|
||||
with utils.tmp_dir():
|
||||
cwd = os.getcwd()
|
||||
zipfile = os.path.join(cwd, 'go.tar.gz')
|
||||
subprocess.check_call(["wget", '-O', zipfile, GO_URL])
|
||||
subprocess.check_call(["tar", "-xzf", zipfile, "-C", target_dir])
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser()
|
||||
|
@ -1 +1 @@
|
||||
2
|
||||
3
|
@ -17,7 +17,7 @@ import utils
|
||||
|
||||
|
||||
# Remember to also update the go asset when this is updated.
|
||||
GO_URL = "https://dl.google.com/go/go1.15.windows-amd64.zip"
|
||||
GO_URL = "https://golang.org/dl/go1.16.3.windows-amd64.zip"
|
||||
|
||||
|
||||
def create_asset(target_dir):
|
||||
|
@ -15638,7 +15638,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -15713,7 +15713,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
},
|
||||
{
|
||||
"name": "skia/bots/protoc",
|
||||
@ -15979,7 +15979,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -16044,7 +16044,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -16109,7 +16109,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -16260,7 +16260,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -16532,7 +16532,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -16640,7 +16640,7 @@
|
||||
{
|
||||
"name": "skia/bots/go_win",
|
||||
"path": "go",
|
||||
"version": "version:2"
|
||||
"version": "version:3"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
@ -17089,7 +17089,7 @@
|
||||
{
|
||||
"name": "skia/bots/go",
|
||||
"path": "go",
|
||||
"version": "version:9"
|
||||
"version": "version:14"
|
||||
}
|
||||
],
|
||||
"command": [
|
||||
|
Loading…
Reference in New Issue
Block a user