Commit Graph

174 Commits

Author SHA1 Message Date
Jeff Mitchell 8918b2ef76 Use separate env var for Vault commit in plugin update script 2019-08-14 17:02:28 -04:00
Jeff Mitchell ae45997fe3 Use Go 1.12.8 for building 2019-08-14 10:45:19 -04:00
Jeff Mitchell 42d5ca86ea Fix Dockerfile 2019-07-25 14:11:03 -04:00
Jeff Mitchell dfbceecf22 Add gomiports to Dockerfile 2019-07-25 14:08:51 -04:00
Jeff Mitchell f491d88fbb Allow specifying branch for plugin module updating via $API_BRANCH 2019-07-25 12:38:47 -04:00
Becca Petrin 7d8b4d0b72 Add engines to OpenAPI (#7098) 2019-07-24 17:03:03 -07:00
Jeff Mitchell 99a9f4d52c Add ability for module update script to only download plugins, not also update them 2019-07-22 12:56:13 -04:00
Jeff Mitchell 1e193a4f5b Quick and dirty script to update all plugins against latest Vault
sdk/api and then pull those into Vault itself
2019-07-19 10:56:48 -04:00
Jeff Mitchell 304c6cabdf
Bump cross Dockerfile to 1.12.7 (#7126)
This version fixes a bug that is bad, but hard to say whether it might
affect us or not -- or more crucially, any of our dependencies. It's
almost certainly worth updating just in case. See
https://github.com/golang/go/issues/32560
2019-07-17 06:32:08 -04:00
Jeff Mitchell ec12124c6b Revert "Migrate build to use go modules"
This reverts commit 3439a34989b082ebc3d711853fdc2372798ff121.

For the moment with bad wifi this is just taking too, too long. We may
be able to figure out an approach that bind mounts the cache in which
should help drastically.
2019-07-09 04:15:03 -04:00
Jeff Mitchell 49371ff945 Buster is released, so switch off testing for Dockerfile 2019-07-09 03:51:05 -04:00
Jeff Mitchell cec8f6a32b Migrate build to use go modules 2019-07-05 19:59:04 -04:00
Jeff Mitchell 342c1b57e3 Bump Go version in build Dockerfile 2019-06-12 09:38:35 -04:00
Jim Kalafut 944adb53d6
Don't show TypeHeader fields as being sent as headers in OpenAPI (#6679)
Fixes #6671
2019-05-03 15:12:24 -07:00
Jeff Mitchell a6fbff2fa2 Bump Dockerfile Go version 2019-04-15 10:58:28 -04:00
Jeff Mitchell 8bcb533a1b
Create sdk/ and api/ submodules (#6583) 2019-04-12 17:54:35 -04:00
Jeff Mitchell f879599811 Update dep script 2019-03-25 20:38:08 -04:00
Jim Kalafut 009fa70cab
Add UI asset file checks to Makefile (#6428) 2019-03-25 12:07:14 -05:00
Jeff Mitchell 9193792773 Sync over 2019-03-18 09:33:01 -04:00
Matthew Irish 2069003067 add apt-get flags (#6389) 2019-03-09 02:58:18 -05:00
Matthew Irish 601d80d2a3 update to node v10 for all of the things (#6218)
* update to node v10 for all of the things

* combine apt-get commands
2019-02-13 09:34:38 -05:00
Jeff Mitchell 1a6580039c Add npm to apt-get command 2019-01-31 15:56:04 -05:00
Jeff Mitchell 553fd083d2 Bump Dockerfile Go version 2019-01-29 13:43:29 -05:00
Jeff Mitchell 3bb381720f Allow devel in go version check and bump to 1.11 2019-01-29 11:27:04 -05:00
Jeff Mitchell 39e14b9083 Force circonus v2 as directed by them 2019-01-28 10:27:02 -05:00
Jeff Mitchell 928698fce5 Update update deps script 2019-01-26 18:43:35 -05:00
Jeff Mitchell f75f4e75c7 Prepare for 1.0.2 2019-01-15 11:25:11 -05:00
Jeff Mitchell 434397ea7f Attempt to fix dockerfile again 2018-12-14 11:05:42 -05:00
Jeff Mitchell c4e9703ad6 Changes in Go don't like the old import path 2018-12-14 10:56:03 -05:00
Jeff Mitchell 5e8ee27ca4 Bump dockerfile Go version 2018-12-14 09:10:32 -05:00
Ferdy Pruis 901679e00d Fixed typo in a comment (#5868) 2018-11-29 16:08:44 -08:00
Jeff Mitchell 54d1d4a49a Bump Go version in Dockerfile 2018-11-13 11:45:32 -05:00
Jim Kalafut 8ac04495d3
Framework and API changes to support OpenAPI (#5546) 2018-11-05 12:24:39 -08:00
Matthew Irish 5ca987662f
UI - new token renew banner (#5662)
* move warning banner out of token-expire-warning and into user menu
* check renewal status every 5s, and resume auto-renew if a user becomes active again
* use a link in the token-expire-warning
* add test for new expiration functionality
* fix license test
* use features helper in license test
* fix import
* use yarn 1.12.1
* remove mirage
* skip some tests for now
* use eslintignore
* logout after auth tests
* use new alert-banner for auth info warning
* add data-test selector back
* move identity back to a button, and style button.link
* make the warning message the right color
* fix shamir test
* review feedback
2018-11-05 10:56:59 -06:00
Jeff Mitchell 3e981d8802 Update Dockerfile go version 2018-10-02 14:16:05 -04:00
Matthew Irish 76bb00c5c4
Update yarn version in the cross Dockerfile 2018-10-02 10:56:51 -05:00
Calvin Leung Huang 3ea1cc861d Small Makefile and script cleanup (#5354) 2018-09-18 14:28:37 -07:00
Jeff Mitchell 4b354e1110
Re-add dockertest and fix up imports and update script (#4909) 2018-07-11 17:49:13 -04:00
Jeff Mitchell 405bce896c Bump Go version in cross Dockerfile 2018-06-09 18:09:45 -04:00
Jeff Mitchell 18f23f68a1 Specify go-oidc v2 for update-deps 2018-05-22 15:42:54 -04:00
Matthew Irish 5fb2be2e2b
Ember cli update to 2.15 (#4526)
* update ember-cli to 2.15

* remove bower

* update ivy-codemirror

* update build and ci to not use bower or phantomjs
2018-05-08 10:43:20 -05:00
Jeff Mitchell 5bca2265f8 Bump yarn 2018-04-03 11:04:02 -04:00
Jeff Mitchell 20816f4735 Add Makefile/Dockerfile UI bits 2018-04-03 10:46:45 -04:00
Jeff Mitchell 7a6f582168
1.10 Updates (#4218) 2018-03-29 15:32:16 -04:00
Jeff Mitchell 379b05d281 Add the ability for make dev to honor XC_OSARCH 2018-03-03 12:35:36 -05:00
Jeff Mitchell 6cd6a7b773 Go 1.9.4 breaks Solaris builds 2018-02-26 18:55:02 -05:00
Jeff Mitchell 81fcd1f028 Fix the version of Go in the Dockerfile 2018-02-26 18:34:14 -05:00
Jeff Mitchell 259e425beb It's not a 1.10 thing apparently.
Revert "Revert "Remove netbsd/arm as it won't compile""

This reverts commit 8b43db120c5b3f15723e7ea61edcf0d4c2c7fc9f.
2018-02-26 12:40:49 -05:00
Jeff Mitchell fb41cf74d7 Revert "Remove netbsd/arm as it won't compile"
This reverts commit 3d4bd6f3cb083e8ee5dac980db58474382a99834.
2018-02-26 12:27:25 -05:00
Jeff Mitchell 7b1a793d6f Migrate Dockerfile back down to 1.9 2018-02-25 20:29:01 -05:00
Jeff Mitchell 7d673e5e05 Remove netbsd/arm as it won't compile 2018-02-20 15:27:33 -05:00
Jeff Mitchell 227ebcc188 Bump files for new version 2018-02-20 14:51:20 -05:00
Guillaume 925a4a855d Minor tweaks to Windows build scripts (#3931) 2018-02-08 18:09:39 -05:00
Jeff Mitchell f967d10f04 Use debian:testing for building 2018-01-28 14:58:52 -05:00
Jeff Mitchell 524ec14f9d
Update Dockerfile 2018-01-22 19:47:44 -05:00
Jeff Mitchell f6cb7e9975 Bump go version in Dockerfile 2017-11-14 01:16:59 -05:00
Bharath B ab9111827d Remove symbols from vault binary (#3369) 2017-11-08 07:53:08 -05:00
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