-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(modules): Use modules and go 1.13
* Specify go 1.13 for builds * Add .mod and .sum files generated by go mod init * Use a directory outside of $GOPATH for testing. * Update docker files to use go 1.13.8 instead of 1.12 for most builds. * Simplify go installation by piping from wget to tar. This avoids having to do any cleanup. * Build and test in a directory outside of GOPATH since we're using modules now. * Update Jenkinsfile to build using modules by building directly inside of $WORKSPACE instead of in $GOPATH. * Use go mod download instead of dep ensure to collect dependencies * Remove Gopkg related data files. * Replace calls to "dep ensure" with "go mod download" * Replace check for being outside of $GOPATH to a check for being INSIDE of $GOPATH which is wrong when we're using modules * Map $DIR to /root/influxdb in docker run command * Clone source into /root/influxdb which is outside of our $GOPATH.
- Loading branch information
Showing
11 changed files
with
648 additions
and
1,479 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
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
Oops, something went wrong.