Commit graph

118 commits

Author SHA1 Message Date
Alex Dadgar a4ef87c6e5 bump vault 2017-03-27 10:10:42 -07:00
Lev Walkin 4bb5b74489 ensuring bin directory exists before copying 2017-03-17 17:23:15 -07:00
Michael Schurter 06a4d3c6cd Fix overriding build targets 2017-03-14 10:47:29 -07:00
Michael Schurter 1f6090371b make bin creates a release binary for the host arch
make dev properly copies the binary into bin/ again.

make release still creates binaries for as many archs as possible.

Fixes #2407
2017-03-08 17:42:28 -08:00
Michael Schurter 518e4f75a6 Replace "-" in env var keys with "_"
Fixes #2405
2017-03-06 19:57:44 -08:00
Alex Dadgar 9f65ca42cc auto release 2017-03-03 16:06:31 -08:00
Alex Dadgar 0124ba1406 Fix docs and script 2017-03-03 16:00:39 -08:00
Jonathan Wright 87b84c71a6 Fix spelling error for CGO_ENABLED variable in build script 2017-03-01 19:21:46 +00:00
Michael Schurter 2f0a5e355e Oops! Don't try to build darwin on Linux.
Someday maybe
2017-02-23 16:58:21 -08:00
Michael Schurter 885f4ae9f9 Allow building specific targets 2017-02-23 13:27:28 -08:00
Michael Schurter f2cf2b1df1 Fix 32bit arm build
Had to use the hack from https://github.com/golang/go/issues/12443
2017-02-09 11:22:17 -08:00
Alex Dadgar d318e5bc38 Add windows exe extension 2017-02-05 13:17:13 -08:00
Diptanu Choudhury b6c629a6b9 fixed conflicts 2017-01-31 13:20:58 -08:00
Michael Schurter 13e3ce5c71 Fix some bash; uuuuuuuuuugh 2017-01-27 16:08:21 -08:00
Michael Schurter 0059bca6b3 Prettify output 2017-01-27 16:08:21 -08:00
Michael Schurter a0d792ea77 Fix vagrant provision with a bunch of guards 2017-01-27 16:08:21 -08:00
Michael Schurter d2bc719a26 Bump rkt version; simplify script 2017-01-27 16:08:21 -08:00
Michael Schurter 5cd710bd8e Upgrade vagrant/release to Ubuntu 16.04 / Go 1.7.5
Switch back to soft-float arm32 as armhf chips are backward compatible.
2017-01-27 16:08:21 -08:00
Michael Schurter 6a085080bc Split out massive list of cross compile deps+cmds 2017-01-27 16:08:21 -08:00
Michael Schurter e620336a0c Install crosscompile dep to build arm in Vagrant 2017-01-27 16:08:21 -08:00
Michael Schurter 2a383b8de8 Cache build deps prior to running tests 2017-01-27 16:08:21 -08:00
Michael Schurter 6a5fa593fa Split dev build into its own script
The dev build is far simpler than the release build, so move it to its
own shell script. This simplifies the release build script slightly as
well at the cost of duplicating the version/tag logic.

Also don't even try to check for LXC if not running on Linux. I don't
think we want to try to support cross-compiling LXC from non-Linux
hosts.
2017-01-27 16:08:21 -08:00
root c3869ffd73
Release v0.5.3-rc1 2017-01-24 18:30:10 +00:00
Alex Dadgar d051065229 Actually randomize the splay 2017-01-22 13:50:33 -08:00
Michael Schurter 81a709e6d4 Use - not _ for lxc enabled build 2016-12-15 11:06:03 -08:00
Alex Dadgar 0609f48bd3 update hc-releases 2016-12-12 13:48:08 -08:00
root 8c1bdc0342
Release v0.5.0-rc2 2016-11-10 19:08:15 +00:00
Seth Vargo de0c9d3911
Simplify xc script
This is the same set of builds that we currently publish, but it groups
them into less magic.
2016-10-27 22:08:58 -04:00
Michael Schurter 7899fb1f63 Move tags into variable
Bash quoting is hard
2016-10-26 15:53:38 -07:00
Michael Schurter f430203505 Put lxc support behind a flag
Since lxc support requires linking to a C lib at compile and runtime
I'm putting it behind a build flag to avoid forcing all nomad users to
install liblxc (lxc-dev for development).
2016-10-26 14:55:54 -07:00
Michael Schurter 0cd3763a10 Update rkt script and test rkt in travis 2016-10-25 09:46:49 -07:00
Alex Dadgar 7e466ee9d2 Bump Vault/Consul version 2016-10-06 14:09:39 -07:00
Alex Dadgar 15e6c724ae no -v 2016-09-21 14:21:37 -07:00
Alex Dadgar d690d0afdc bump vault version 2016-08-25 13:13:20 -07:00
Alex Dadgar db2806a9c1 Merge pull request #1629 from hashicorp/f-derive-token
Server Deriving Tokens on behalf of Clients
2016-08-23 13:58:47 -07:00
Diptanu Choudhury 1e1eef56a1 Putting the mock driver behind a build flag 2016-08-22 15:02:28 -05:00
Alex Dadgar 01cc43d452 Add set -e 2016-08-19 16:40:37 -07:00
Alex Dadgar 2f6f840453 install scripts 2016-08-17 16:25:38 -07:00
Diptanu Choudhury e1ccf5aedd Changed build script 2016-08-17 15:18:37 -07:00
Alex Dadgar 0f6e71a3d8 More advance travis timeout circumvention 2016-08-16 21:46:53 -07:00
Alex Dadgar 2b2bb37a07 change test script 2016-08-16 12:32:29 -07:00
vagrant dbbb20dd99
Release v0.4.1-rc1 2016-08-13 01:02:08 +00:00
Diptanu Choudhury 7fbb661756 Enabled cgo 2016-08-12 17:34:54 -07:00
Diptanu Choudhury d1a4acb300 Updated the build script 2016-08-12 15:55:39 -07:00
Diptanu Choudhury 10a5c06a5a Running the tests in verbose mode 2016-07-26 14:02:47 -07:00
Sean Chittenden 8172f1c9ed
Use anchored regexp for filtering vendored tests 2016-07-12 02:15:42 -04:00
Sean Chittenden fd1986496e
... oh wow. This is an "improvement." 2016-07-11 13:06:00 -07:00
Sean Chittenden 8e9e344ddf
When sudo(1)'ing to run the tests, use the abspath of the current user's
go(1) instead of whatever is in root's PATH.
2016-07-11 12:49:26 -07:00
Sean Chittenden e1b4c465f2
Add debugging to figure out why Travis can't find go(1) when sudo'ing
but xargs(1) could.
2016-07-11 12:41:14 -07:00
Sean Chittenden 74aacd799a
Remove xargs(1) from testing and rely on go test -v.
Tests are approaching 30min largely due to recompiling every package.
Out of a ~30min build, only ~5min are actually spent running the tests,
the remaining time is spent recompiling.
2016-07-11 12:31:21 -07:00