Skip to content

Commit

Permalink
Switch to golang 1.11.5
Browse files Browse the repository at this point in the history
  • Loading branch information
justinsb committed Apr 20, 2019
1 parent 4d7df29 commit 4e935c8
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ os:
- linux
- osx
go:
# 1.8 & 1.9 are now best-effort; we recommend 1.10; k8s apimachinery relies on 1.10
# - 1.8
# - 1.9
# 1.10 is now best-effort; we recommend 1.11; 1.12 is in the wild but not the k8s recommended version
- "1.10"
- "1.11"
- "1.12"

go_import_path: k8s.io/kops

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ GCS_URL=$(GCS_LOCATION:gs://%=https://storage.googleapis.com/%)
LATEST_FILE?=latest-ci.txt
GOPATH_1ST:=$(shell go env | grep GOPATH | cut -f 2 -d \")
UNIQUE:=$(shell date +%s)
GOVERSION=1.10.8
GOVERSION=1.11.5
BUILD=$(GOPATH_1ST)/src/k8s.io/kops/.build
LOCAL=$(BUILD)/local
BINDATA_TARGETS=upup/models/bindata.go
Expand Down
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_rules_dependencies", "go_register_to
go_rules_dependencies()

go_register_toolchains(
go_version = "1.10.8",
go_version = "1.11.5",
)

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

FROM alpine:3.8

ARG GO_VERSION=1.10.8
ARG GO_VERSION=1.11.5

# KOPS_GITISH: Modify to build at an explicit tag/gitish
ARG KOPS_GITISH=release
Expand Down
2 changes: 1 addition & 1 deletion images/dns-controller-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update && apt-get install --yes --reinstall lsb-base \
&& rm -rf /var/lib/apt/lists/*

# Install golang
RUN curl -L https://storage.googleapis.com/golang/go1.10.3.linux-amd64.tar.gz | tar zx -C /usr/local
RUN curl -L https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz | tar zx -C /usr/local
ENV PATH $PATH:/usr/local/go/bin

COPY onbuild.sh /onbuild.sh
2 changes: 1 addition & 1 deletion images/protokube-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ RUN apt-get update && apt-get install --yes --reinstall lsb-base \
&& rm -rf /var/lib/apt/lists/*

# Install golang
RUN curl -L https://storage.googleapis.com/golang/go1.10.3.linux-amd64.tar.gz | tar zx -C /usr/local
RUN curl -L https://storage.googleapis.com/golang/go1.11.5.linux-amd64.tar.gz | tar zx -C /usr/local
ENV PATH $PATH:/usr/local/go/bin

COPY onbuild.sh /onbuild.sh

0 comments on commit 4e935c8

Please sign in to comment.