Skip to content

Commit

Permalink
Merge #33668
Browse files Browse the repository at this point in the history
33668: builder: upgrade to go1.11.4 r=RaduBerinde a=petermattis

Bump the minimum version to go1.11.

Fixes #33283

Release note (general change): Upgrade the build environment to use
go1.11.4.

Co-authored-by: Peter Mattis <[email protected]>
  • Loading branch information
craig[bot] and petermattis committed Jan 14, 2019
2 parents 196fc47 + 779d974 commit af6f64c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions build/bootstrap/bootstrap-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ echo '. ~/.bashrc_bootstrap' >> ~/.bashrc

# Install Go.
trap 'rm -f /tmp/go.tgz' EXIT
curl https://dl.google.com/go/go1.10.3.linux-amd64.tar.gz > /tmp/go.tgz
sha256sum - <<EOF
fa1b0e45d3b647c252f51f5e1204aba049cde4af177ef9f2181f43004f901035 /tmp/go.tgz
curl https://dl.google.com/go/go1.11.4.linux-amd64.tar.gz > /tmp/go.tgz
sha256sum -c - <<EOF
fb26c30e6a04ad937bbc657a1b5bba92f80096af1e8ee6da6430c045a8db3a5b /tmp/go.tgz
EOF
sudo tar -C /usr/local -zxf /tmp/go.tgz

Expand Down
2 changes: 1 addition & 1 deletion build/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -euo pipefail

image=cockroachdb/builder
version=20181215-085602
version=20190111-111249

function init() {
docker build --tag="${image}" "$(dirname "${0}")/builder"
Expand Down
4 changes: 2 additions & 2 deletions build/builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ RUN git clone git://git.sv.gnu.org/sed \
# releases of Go will no longer be run in CI once it is changed. Consider
# bumping the minimum allowed version of Go in /build/go-version-chech.sh.
RUN apt-get install -y --no-install-recommends golang \
&& curl -fsSL https://storage.googleapis.com/golang/go1.10.7.src.tar.gz -o golang.tar.gz \
&& echo 'b84a0d7c90789f3a2ec5349dbe7419efb81f1fac9289b6f60df86bd919bd4447 golang.tar.gz' | sha256sum -c - \
&& curl -fsSL https://storage.googleapis.com/golang/go1.11.4.src.tar.gz -o golang.tar.gz \
&& echo '4cfd42720a6b1e79a8024895fa6607b69972e8e32446df76d6ce79801bbadb15 golang.tar.gz' | sha256sum -c - \
&& tar -C /usr/local -xzf golang.tar.gz \
&& rm golang.tar.gz \
&& cd /usr/local/go/src \
Expand Down
2 changes: 1 addition & 1 deletion build/go-version-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# To bump the required version of Go, edit the appropriate variables:

required_version_major=1
minimum_version_minor=10
minimum_version_minor=11

go=${1-go}

Expand Down

0 comments on commit af6f64c

Please sign in to comment.