Skip to content

Commit b955b14

Browse files
authored
Merge pull request #4069 from thaJeztah/1.3_backport_bump_golang_1.13
[release/1.3 backport] Update to Golang 1.13.8
2 parents 50e5e15 + 59e7ae1 commit b955b14

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ environment:
1313
GOPATH: C:\gopath
1414
CGO_ENABLED: 1
1515
matrix:
16-
- GO_VERSION: 1.12.17
16+
- GO_VERSION: 1.13.8
1717

1818
before_build:
1919
- choco install -y mingw --version 5.3.0

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ os:
1010
- linux
1111

1212
go:
13-
- "1.12.17"
13+
- "1.13.8"
1414

1515
env:
16-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic
17-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic TRAVIS_RELEASE=yes
18-
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic
19-
- TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0
16+
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v1 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic GOPROXY=direct
17+
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic TRAVIS_RELEASE=yes GOPROXY=direct
18+
- TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runtime.v1.linux TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=bionic GOPROXY=direct
19+
- TRAVIS_GOOS=darwin TRAVIS_CGO_ENABLED=0 GOPROXY=direct
2020

2121
matrix:
2222
include:
2323
# Skip testing previous LTS (Xenial / Ubuntu 16.04 LTS) on pull requests
2424
- if: type != pull_request
2525
os: linux
2626
dist: xenial
27-
env: TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=xenial
27+
env: TRAVIS_GOOS=linux TEST_RUNTIME=io.containerd.runc.v2 TRAVIS_CGO_ENABLED=1 TRAVIS_DISTRO=xenial GOPROXY=direct
2828

2929
go_import_path: github.com/containerd/containerd
3030

@@ -73,7 +73,7 @@ script:
7373
- DCO_VERBOSITY=-q ../project/script/validate/dco
7474
- ../project/script/validate/fileheader ../project/
7575
- travis_wait ../project/script/validate/vendor
76-
- GOOS=linux script/setup/install-dev-tools
76+
- GOOS=linux GO111MODULE=off script/setup/install-dev-tools
7777
- go build -i .
7878
- make check
7979
- if [ "$GOOS" = "linux" ]; then make check-protos check-api-descriptors; fi

contrib/Dockerfile.test

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# 3.) $ make binaries install test
77
#
88

9-
ARG GOLANG_VERSION=1.12.17
9+
ARG GOLANG_VERSION=1.13.8
1010

1111
FROM golang:${GOLANG_VERSION} AS golang-base
1212
RUN mkdir -p /go/src/github.com/containerd/containerd
@@ -34,6 +34,8 @@ RUN apt-get update && apt-get install -y \
3434

3535
COPY vendor.conf vendor.conf
3636
COPY script/setup/install-runc install-runc
37+
ARG GOPROXY=direct
38+
ARG GO111MODULE=off
3739
RUN ./install-runc
3840

3941
FROM golang-base AS dev

0 commit comments

Comments
 (0)