Skip to content

Commit e618682

Browse files
author
Shlomi Noach
committed
go1.12
1 parent 18612b6 commit e618682

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/replica-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Replica tests
1+
name: migration tests
22

33
on: [pull_request]
44

@@ -16,5 +16,5 @@ jobs:
1616
version: 1.12
1717
id: go
1818

19-
- name: Build
19+
- name: migration tests
2020
run: script/cibuild-gh-ost-replica-tests

script/ensure-go-installed

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
#!/bin/bash
22

3-
PREFERRED_GO_VERSION=go1.9.2
4-
SUPPORTED_GO_VERSIONS='go1.[89]'
3+
PREFERRED_GO_VERSION=go1.12.6
4+
SUPPORTED_GO_VERSIONS='go1.1[234]'
55

66
GO_PKG_DARWIN=${PREFERRED_GO_VERSION}.darwin-amd64.pkg
7-
GO_PKG_DARWIN_SHA=8b4f6ae6deae1150d2e341d02c247fd18a99af387516540eeb84702ffd76d3a1
7+
GO_PKG_DARWIN_SHA=ea78245e43de2996fa0973033064b33f48820cfe39f4f3c6e953040925cc5815
88

99
GO_PKG_LINUX=${PREFERRED_GO_VERSION}.linux-amd64.tar.gz
10-
GO_PKG_LINUX_SHA=de874549d9a8d8d8062be05808509c09a88a248e77ec14eb77453530829ac02b
10+
GO_PKG_LINUX_SHA=dbcf71a3c1ea53b8d54ef1b48c85a39a6c9a935d01fc8291ff2b92028e59913c
1111

1212
export ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
1313
cd $ROOTDIR
1414

1515
# If Go isn't installed globally, setup environment variables for local install.
1616
if [ -z "$(which go)" ] || [ -z "$(go version | grep "$SUPPORTED_GO_VERSIONS")" ]; then
17-
GODIR="$ROOTDIR/.vendor/go19"
17+
GODIR="$ROOTDIR/.vendor/golocal"
1818

1919
if [ $(uname -s) = "Darwin" ]; then
2020
export GOROOT="$GODIR/usr/local/go"
@@ -32,12 +32,12 @@ if [ -z "$(which go)" ] || [ -z "$(go version | grep "$SUPPORTED_GO_VERSIONS")"
3232
cd "$GODIR";
3333

3434
if [ $(uname -s) = "Darwin" ]; then
35-
curl -L -O https://storage.googleapis.com/golang/$GO_PKG_DARWIN
35+
curl -L -O https://dl.google.com/go/$GO_PKG_DARWIN
3636
shasum -a256 $GO_PKG_DARWIN | grep $GO_PKG_DARWIN_SHA
3737
xar -xf $GO_PKG_DARWIN
3838
cpio -i < com.googlecode.go.pkg/Payload
3939
else
40-
curl -L -O https://storage.googleapis.com/golang/$GO_PKG_LINUX
40+
curl -L -O https://dl.google.com/go/$GO_PKG_LINUX
4141
shasum -a256 $GO_PKG_LINUX | grep $GO_PKG_LINUX_SHA
4242
tar xf $GO_PKG_LINUX
4343
fi

0 commit comments

Comments
 (0)