Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

upgrade Go to 1.13.1 #7

Merged
merged 1 commit into from
Sep 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: go

go:
- 1.12.x
- 1.13.x

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

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ node('docker') {
checkout scm
}
stage('Test') {
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"
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"
}
}
2 changes: 1 addition & 1 deletion build/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ readonly VERSION=${VERSION:-$(${REPO_ROOT}/build/git-version.sh)}
sudo rkt run --uuid-file-save=rkt.uuid \
--volume repo-root,kind=host,source=${REPO_ROOT} \
--mount volume=repo-root,target=/go/src/github.com/kinvolk/flatcar-linux-update-operator \
--insecure-options=image,ondisk docker://golang:1.12.8 --exec /bin/bash -- -c \
--insecure-options=image,ondisk docker://golang:1.13.1 --exec /bin/bash -- -c \
"cd /go/src/github.com/kinvolk/flatcar-linux-update-operator && make clean test all"

sudo rkt rm --uuid-file=rkt.uuid
Expand Down
2 changes: 1 addition & 1 deletion build/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readonly REPO_ROOT=$(git rev-parse --show-toplevel)
sudo rkt run --uuid-file-save=rkt.uuid \
--volume repo-root,kind=host,source=${REPO_ROOT} \
--mount volume=repo-root,target=/go/src/github.com/kinvolk/flatcar-linux-update-operator \
--insecure-options=image,ondisk docker://golang:1.12.8 --exec /bin/bash -- -c \
--insecure-options=image,ondisk docker://golang:1.13.1 --exec /bin/bash -- -c \
"cd /go/src/github.com/kinvolk/flatcar-linux-update-operator && make clean test all"

sudo rkt rm --uuid-file=rkt.uuid
Expand Down