This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to go v11.1 for test-coverage CI (#709)
* Upgrade to go v11.1 for test-coverage CI * Switch to go v.11.1 for all builds * Always use go from website
- Loading branch information
1 parent
f3b1ea5
commit 6c338ab
Showing
13 changed files
with
32 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ FROM centos:7 | |
LABEL maintainer "Devtools <[email protected]>" | ||
LABEL author "Konrad Kleine <[email protected]>" | ||
ENV LANG=en_US.utf8 | ||
ARG USE_GO_VERSION_FROM_WEBSITE=0 | ||
ARG USE_GO_VERSION_FROM_WEBSITE=1 | ||
|
||
# Some packages might seem weird but they are required by the RVM installer. | ||
RUN yum --enablerepo=centosplus install -y --quiet \ | ||
|
@@ -18,11 +18,11 @@ RUN yum --enablerepo=centosplus install -y --quiet \ | |
|
||
RUN test -n $USE_GO_VERSION_FROM_WEBSITE \ | ||
&& cd /tmp \ | ||
&& wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz \ | ||
&& echo "b5a64335f1490277b585832d1f6c7f8c6c11206cba5cd3f771dcb87b98ad1a33 go1.10.linux-amd64.tar.gz" > checksum \ | ||
&& wget https://dl.google.com/go/go1.11.1.linux-amd64.tar.gz \ | ||
&& echo "2871270d8ff0c8c69f161aaae42f9f28739855ff5c5204752a8d92a1c9f63993 go1.11.1.linux-amd64.tar.gz" > checksum \ | ||
&& sha256sum -c checksum \ | ||
&& tar -C /usr/local -xzf go1.10.linux-amd64.tar.gz \ | ||
&& rm -f go1.10.linux-amd64.tar.gz | ||
&& tar -C /usr/local -xzf go1.11.1.linux-amd64.tar.gz \ | ||
&& rm -f go1.11.1.linux-amd64.tar.gz | ||
ENV PATH=$PATH:/usr/local/go/bin | ||
|
||
# Get dep for Go package management and make sure the directory has full rwz permissions for non-root users | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
|
||
. cico_setup.sh | ||
|
||
export USE_GO_VERSION_FROM_WEBSITE=1 | ||
|
||
cico_setup; | ||
|
||
run_tests_without_coverage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters