Skip to content

Commit 71b025e

Browse files
author
Dongsu Park
committed
upgrade Go to 1.13.1
To fix security issues in Go, [CVE-2019-16276](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16276), we should upgrade Go to 1.13.1. See also golang/go#34540
1 parent 4541d02 commit 71b025e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: go
22

33
go:
4-
- 1.12.x
4+
- 1.13.x
55

66
go_import_path: github.com/kinvolk/flatcar-linux-update-operator
77

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ node('docker') {
2121
checkout scm
2222
}
2323
stage('Test') {
24-
sh "docker run --rm -u \"\$(id -u):\$(id -g)\" -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v \"\$PWD\":/go/src/github.com/kinvolk/flatcar-linux-update-operator -w /go/src/github.com/kinvolk/flatcar-linux-update-operator golang:1.12.8 make all test"
24+
sh "docker run --rm -u \"\$(id -u):\$(id -g)\" -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v \"\$PWD\":/go/src/github.com/kinvolk/flatcar-linux-update-operator -w /go/src/github.com/kinvolk/flatcar-linux-update-operator golang:1.13.1 make all test"
2525
}
2626
}

build/build-image.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ readonly VERSION=${VERSION:-$(${REPO_ROOT}/build/git-version.sh)}
1010
sudo rkt run --uuid-file-save=rkt.uuid \
1111
--volume repo-root,kind=host,source=${REPO_ROOT} \
1212
--mount volume=repo-root,target=/go/src/github.com/kinvolk/flatcar-linux-update-operator \
13-
--insecure-options=image,ondisk docker://golang:1.12.8 --exec /bin/bash -- -c \
13+
--insecure-options=image,ondisk docker://golang:1.13.1 --exec /bin/bash -- -c \
1414
"cd /go/src/github.com/kinvolk/flatcar-linux-update-operator && make clean test all"
1515

1616
sudo rkt rm --uuid-file=rkt.uuid

build/build-release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ readonly REPO_ROOT=$(git rev-parse --show-toplevel)
77
sudo rkt run --uuid-file-save=rkt.uuid \
88
--volume repo-root,kind=host,source=${REPO_ROOT} \
99
--mount volume=repo-root,target=/go/src/github.com/kinvolk/flatcar-linux-update-operator \
10-
--insecure-options=image,ondisk docker://golang:1.12.8 --exec /bin/bash -- -c \
10+
--insecure-options=image,ondisk docker://golang:1.13.1 --exec /bin/bash -- -c \
1111
"cd /go/src/github.com/kinvolk/flatcar-linux-update-operator && make clean test all"
1212

1313
sudo rkt rm --uuid-file=rkt.uuid

0 commit comments

Comments
 (0)