Commit graph

167 commits

Author SHA1 Message Date
Joel Thompson fb6cd052c5 Explicitly check go version in build (#3309)
* Explicitly check go version in build

Several GH issues have been opened by people trying to use an older
version of Go to build Vault (e.g., #3307 is the most recent). This adds
an explicit check to the build to hopefully make it more clear to users
in the future.

* Also add checking for go patch version

* Up minimum go version

And fix a comment

* Bump travis to go1.9.1
2017-10-19 16:30:19 -04:00
Chris Hoffman 893c63ef01 adding ability to set gcflags on build (#3451) 2017-10-11 11:36:26 -04:00
Jeff Mitchell 105a7068d1 Bump Go dep 2017-09-03 12:34:07 -04:00
Jeff Mitchell c18a4faeff Update dockerfile to use debian stable 2017-07-25 16:44:31 -04:00
Jeff Mitchell 87bc982256 Sirupsen->sirupsen 2017-07-25 15:49:10 -04:00
Jeff Mitchell 1a8b760790 Bump Go version in cross Dockerfile 2017-05-30 14:33:56 -04:00
emily aa40d2cff6 add gofmt checks to Vault and format existing code (#2745) 2017-05-19 08:34:17 -04:00
Jeff Mitchell 16c6a84a8a Add linux/arm64 build.
Fixes #2630
2017-04-24 09:35:36 -04:00
Jeff Mitchell 7faa9e03b9 Bump go version to 1.8.1 2017-04-17 10:44:07 -04:00
Jeff Mitchell 0c39b613c8 Port some replication bits to OSS (#2386) 2017-02-16 15:15:02 -05:00
Jeff Mitchell e41f7fd52a Bump dockerfile Go version 2017-02-07 16:08:31 -05:00
Jeff Mitchell f5891b6677 Prep for 0.6.3 2016-12-06 11:26:29 -05:00
Jeff Mitchell 951af3b04f Bump Go version in cross Dockerfile 2016-10-19 22:29:26 -04:00
Jeff Mitchell 538ce6a9ea Bump to 1.7.1 2016-09-12 15:41:49 -04:00
Jeff Mitchell c6b6901059 update Dockerfile for Go 1.7 final 2016-08-16 11:23:43 -04:00
James Nugent 2c14ff7385 build: Add support for building on Illumos
This commit adds support for building for Illumos-derived operating
systems. Regrettably, the cyrpto/ssh/terminal package does not include
implementations of the functions IsTerminal, MakeRaw or Restore for the
solaris OS. Consequently this commit implements them in Vault.

makeRaw(fd int) is based on the Illumos implementation of the getpass
function [1] for the correct flags. isTerminal(fd int) is based on the
Illumos libc implementation [2] of isatty.

[1] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libast/common/uwin/getpass.c
[2] http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c
2016-08-13 00:20:15 -04:00
vishalnayak 694188eed9 Dockerfile++ 2016-08-09 12:20:38 -04:00
Jeff Mitchell 015b6d2890 Bump Go version for building 2016-08-08 11:01:05 -04:00
Jeff Mitchell 5edfa8bfce Update to new hc-releases syntax 2016-07-26 10:17:52 -04:00
Jeff Mitchell 76338c8007 Use 1.7rc3 2016-07-26 09:54:24 -04:00
Jeff Mitchell b1d6e684eb Update to new hc-releases syntax 2016-07-04 19:44:38 -04:00
Jeff Mitchell d9daf6bb80 Whitespacing 2016-06-30 14:18:14 -04:00
Jeff Mitchell 8fc2f5ccf1 Bump version and remove --all behavior from dist script 2016-06-14 13:25:44 +00:00
Jeff Mitchell 872745ef33 Remove filtering that seems to be no longer needed in vendor build tags 2016-06-08 16:24:48 -04:00
Jeff Mitchell ec109c3b27 Add dep updating script 2016-06-01 10:30:42 -04:00
vishalnayak 0617199d7d Set the OSARCH for dev builds 2016-05-24 13:25:50 -04:00
Jeff Mitchell 315db7c8ad
Cut version 0.6.0-beta1 2016-05-23 16:14:15 -04:00
Jeff Mitchell 067dd35009 Remove now-unnecessary env var from Dockerfile 2016-05-23 15:41:22 -04:00
Jeff Mitchell 3d2d044693 Rename build tags 2016-04-28 00:59:33 +00:00
Jeff Mitchell 1027b51d17 Built tag-ify sealtesting 2016-04-28 00:47:44 +00:00
Jeff Mitchell a50e29f086 Bump Dockerfile for cross to 1.6.2 2016-04-28 00:31:05 +00:00
Sean Chittenden c14975c54c Go's -X linker flag now requires only one argument 2016-03-17 10:57:25 -07:00
Jeff Mitchell 786bce24b1 Remove us building Solaris binaries for the moment, as they don't build successfully 2016-03-16 15:47:55 -04:00
Jeff Mitchell a9a3a682fd No need for the old Dockerfile for patched 1.5.3 anymore; it's in history if needed 2016-03-16 15:02:41 -04:00
Jeff Mitchell d8a840cb2a Increase platforms for next build 2016-02-25 15:49:12 -05:00
Jeff Mitchell 3bc9d27986 improve purging behavior 2016-02-25 15:48:25 -05:00
Jeff Mitchell 7e36ff547d TF_DEV->VAULT_DEV_BUILD 2016-02-25 11:05:51 -05:00
Jeff Mitchell bebcd518a9 Purge fastly when we do a release, in case it's a re-package
Fixes #1057
2016-02-19 15:59:52 -05:00
Jeff Mitchell 7a4eda156c Migrate to built-in Go vendoring.
This also removes `godep` calls from make scripts. Of note is that
currently `./...` checking in acceptance tests is disabled.
2016-02-18 15:06:02 -05:00
Jeff Mitchell 324357c226 Update cross-compiling Dockerfile to Go 1.6 2016-02-17 17:09:01 -05:00
Jeff Mitchell b2ab68f814 Add a Dockerfile to build 1.5.3 with patches.
Specifically this pulls in the following:

https://go-review.googlesource.com/12717
https://go-review.googlesource.com/17247

These fix bugs users have encountered -- the first with the PKI backend,
and the second with Vault generally, as it can bite any use of a
certificate within Vault (listener, cert credential backend, pki
backend).

These are in 1.6, but it will probably be released too late for us given
what is currently known about their release plans and our known
deadline. This lets us build our releases against a patched 1.5.3.
2016-01-23 14:50:23 -05:00
Seth Vargo 2d7555f442 Remove Heroku stuff 2016-01-14 13:42:13 -05:00
Jeff Mitchell eeac69939c Bump values to 0.4.1 2016-01-13 17:28:17 -05:00
Jeff Mitchell 5f1f95fc06 Add check for DOCKER_CROSS_IMAGE in dist script 2015-12-10 11:55:40 -05:00
Jeff Mitchell 83fc154c98 Sync dist script from pki-csrs 2015-12-01 13:12:58 -05:00
Jeff Mitchell 75f1c1e40c Print version on startup.
Fixes #765
2015-11-09 13:52:55 -05:00
Seth Vargo 6a06be9238 shopt to include dotfiles 2015-10-08 13:22:15 -04:00
Seth Vargo cccd4197f7 Do not use rsync 2015-10-08 11:44:21 -04:00
Jeff Mitchell 63e4f28f60 Use rsync in push script to avoid differing 'cp' behavior on OSX/Linux 2015-10-06 12:15:25 -04:00
Jeff Mitchell 4431253ec9 Rename NOBINTRAY to something more sensible 2015-10-06 11:11:51 -04:00
Jeff Mitchell 1e10ecf6c6 Fix cross compile by setting CGO_ENABLED=0 2015-10-01 12:32:28 -07:00
Jeff Mitchell 0dbc106906 Update dist script 2015-09-27 16:56:32 -04:00
Jeff Mitchell bf6b0b89c4 Add Dockerfile to build a cross-compilation container 2015-09-22 13:19:58 -04:00
Jeff Mitchell d7b8ab4380 Use the stable-website branch for documentation pushes, to allow us to update the documentation async from releases. 2015-09-21 16:20:36 -04:00
Seth Vargo 92e3c02f06 Use a faster middleman deploy 2015-09-20 14:09:35 -04:00
Armon Dadgar c0d01df519 Merge pull request #404 from BRMatt/patch-1
Ensure build.sh uses dependencies vendored by godeps
2015-07-22 17:30:06 -07:00
Jeff Zellner 25ea28f419 use /usr/bin/env to find bash 2015-07-21 20:06:54 -06:00
Matt Button 2d0777a32f Ensure build.sh uses dependencies vendored by godeps 2015-07-08 14:02:37 +01:00
Mitchell Hashimoto 81fc76d598 scripts: fix idempotency issue 2015-05-11 11:31:47 -07:00
Mitchell Hashimoto 704499606e scripts: PGP sign SHASUMs [GH-152] 2015-05-11 11:23:43 -07:00
Mitchell Hashimoto 15d3d88c48 don't compile for open/freebsd [GH-136] 2015-05-11 10:34:17 -07:00
Emil Hessman 63e9062b5e make windows: enclose all paths in double quotes 2015-05-04 08:04:29 +02:00
Emil Hessman 894720af6d make.bat: add Makefile-like functionality for Windows 2015-04-30 08:03:54 +02:00
Abhishek Chanda f0f824a7a0 Actually add the coverage script
Shamelessly copied from
https://github.com/mlafeldt/chef-runner/blob/v0.7.0/script/coverage
2015-04-28 19:05:11 -07:00
Mitchell Hashimoto 57be8bcc09 move the cli to the cli/ package so enterprising individuals can call it 2015-04-12 16:58:45 -07:00
Mitchell Hashimoto 178816582d website: ACL section 2015-04-09 17:19:52 -07:00
Mitchell Hashimoto ba870b8fd2 scripts 2015-03-03 23:14:18 -08:00