Commit Graph

14 Commits (5263070632eeed600119ad96f865d2562e1133c4)

Author SHA1 Message Date
Ayan George 35c07d0127
feat(modules): Use modules & remove Gopkg.*
* 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.

* run go mod tidy
2020-02-26 17:27:56 -05:00
Gershon Shif 27f870f917 removed mkdir cache dir;set ENV GOCACHE in Dockerfile 2019-07-12 11:33:12 -07:00
Gershon Shif 8a83953356 set GOCACHE=/tmp 2019-07-12 11:01:56 -07:00
Gunnar Aasen 707d5ed3ca Another try 2019-07-12 09:08:40 -07:00
Gunnar Aasen 80af94b047 Another try at the Jenkinsfile syntax 2019-07-12 08:59:12 -07:00
Gunnar Aasen 893bede37c Add GOCACHE env to Jenkinsfile 2019-07-12 00:42:13 -07:00
Gunnar Aasen 86f78523cc feat(go): Update Go version to 1.12 2019-07-11 12:52:36 -07:00
Mark Rushakoff beb6848d95 Only update the changelog on 1.x branches
Master is switching to 2.x development today, and we are not going to
continue using the changelog strategy we used in 1.x.
2019-01-11 08:54:44 -08:00
Edd Robinson 18cb95f858 Update Go to 1.11 2018-09-06 16:40:20 +01:00
Edd Robinson 75d435c5d6 Update to Go 1.10.3 2018-07-12 11:41:31 +01:00
Jonathan A. Sternberg 066d53f99d Use dep for dependency management instead of gdm 2018-03-12 15:20:08 -05:00
Jonathan A. Sternberg 6622ac571b The git config command should not have an equals sign, but two arguments 2018-02-08 10:47:13 -06:00
Jonathan A. Sternberg d61b4c7f0d Configure Jenkins to automatically update the changelog
On the master or release branches, `git changelog` will be run to
automatically update the changelog based off of the pull requests that
have been merged and then it will commit and push those changes.
2018-02-06 14:34:55 -06:00
Jonathan A. Sternberg ca5a773c34 Initial jenkinsfile 2017-11-13 14:02:23 -06:00