Commit Graph

287 Commits

Author SHA1 Message Date
Michael Schurter
b91581a28f Merge pull request #6009 from hmalphettes/f-update-go-getter
Update go-getter@1.1.0 to fix #3491
2019-08-01 12:59:09 -07:00
Michael Schurter
02db1a1b87 vendor: update consul/api@v1.5.1 for connect fields 2019-07-31 01:04:05 -04:00
hmalphettes
9212f405d8 Update go-getter to v1.1.0 2019-07-26 06:54:23 +08:00
Mahmood Ali
80b1344653 Update consul-template dependency to latest
To pick up the fix in
https://github.com/hashicorp/consul-template/pull/1231 .
2019-07-18 07:32:03 +07:00
Mahmood Ali
9ebf0a7645 Upgrade hcl2 to validate arrays for unknown values
This upgrades hcl2 library dependency to pick up
https://github.com/hashicorp/hcl2/pull/113 .

Prior to this change, parsing and decoding array attributes containing
invalid errors (e.g. references to unknown variables) are silently
dropped, with `cty.Unknown` being assigned to the bad element.  Rather
than showing a type/meaningful error from hcl2, we get a very decrypted
error message from msgpack layer trying to handle `cty.unknown`.

This ensures that we propagate diagnostics correctly and report
meaningful errors to users.

Fixes https://github.com/hashicorp/nomad/issues/5694
Fixes https://github.com/hashicorp/nomad/issues/5680
2019-06-17 12:28:14 -04:00
Lang Martin
3ddcb74a4c config parse update hcl with support for decoding bool to string 2019-06-10 13:12:38 -04:00
Mahmood Ali
a8a6515e9f Update ugorji/go to latest
Our testing so far indicates that ugorji/go/codec maintains backward
compatiblity with the version we are using now, for purposes of Nomad
serialization.

Using latest ugorji/go allows us to get back to using upstream library,
get get the optimizations benefits in RPC paths (including code
generation optimizations).

ugorji/go introduced two significant changes:
* time binary format in debb8e2d2e.  Setting `h.BasicHandle.TimeNotBuiltin = true` restores old behavior
* ugorji/go started honoring `json` tag as well:

v1.1.4 is the latest but has a bug in handling RawString that's fixed in
d09a80c1e0
.
2019-05-09 19:35:58 -04:00
Lang Martin
84306b0bfb Merge pull request #5601 from hashicorp/b-config-parse-direct-hcl
config parse direct hcl
2019-05-06 12:05:19 -04:00
Mahmood Ali
229960796a Update hashicorp/go-msgpack/codec
To pick up the fix in https://github.com/hashicorp/go-msgpack/pull/8 .
2019-05-02 10:59:09 -04:00
Chris Baker
cb7aa2bf91 test case for 5540 (#5590)
* client/metrics: modified metrics to use (updated) client copy of allocation instead of (unupdated) server copy

* updated armon/go-metrics to address race condition in DisplayMetrics
2019-04-30 10:31:35 -04:00
Lang Martin
c8fd0be03c govendor fetch github.com/hashicorp/hcl@99e2f22 2019-04-30 10:30:12 -04:00
Lang Martin
35aa070189 update vendor/github.com/hashicorp/hcl 2019-04-23 11:56:07 -04:00
Chris Baker
3eac7010f5 vendor: updated consul-template and downstream
consul-template -> v0.20.0
consul/api -> v1.2.1
vault/api -> v1.0.3
go-retryablehttp -> v0.5.2
circonus-gometrics: modified local source for compat with go-retryablehttp
2019-04-10 10:34:10 -05:00
Jeff Mitchell
5676986196 Divest api/ package of deps elsewhere in the nomad repo. (#5488)
* Divest api/ package of deps elsewhere in the nomad repo.

This will allow making api/ a module without then pulling in the
external repo, leading to a package name conflict.

This required some migration of tests to an apitests/ folder (can be
moved anywhere as it has no deps on it). It also required some
duplication of code, notably some test helpers from api/ -> apitests/
and part (but not all) of testutil/ -> api/testutil/.

Once there's more separation and an e.g. sdk/ folder those can be
removed in favor of a dep on the sdk/ folder, provided the sdk/ folder
doesn't depend on api/ or /.

* Also remove consul dep from api/ package

* Fix stupid linters

* Some restructuring
2019-03-29 14:47:40 -04:00
Mahmood Ali
32623ce3ee Support driver config fields being set to nil (#5391)
To pick up https://github.com/hashicorp/hcl2/pull/90
2019-03-05 21:47:06 -05:00
Danielle Tomlinson
a8ddf64e94 vendor: Update to latest hcl2
* Includes fixes for handling null blocks https://github.com/hashicorp/hcl2/pull/87
* Updates go-cty as a newer version is required by hcl2
2019-02-14 13:34:46 +01:00
Danielle Tomlinson
a2535ed580 vendor: Update go-plugin
This fixes a bug related to shutting down of GRPC plugin interfaces
(more info: https://github.com/hashicorp/go-plugin/pull/88)

This does not yet fix all test cases for subprocess leaking, but is a
useful independant change.
2019-01-08 17:43:20 +01:00
Chris Baker
a9666e59b3 updated serf along with raft 2019-01-04 16:56:26 +00:00
Chris Baker
ad320b803a updated to latest hashicorp/raft and hashicorp/memberlist to pull
upstream fixes for accept-loop error handling
2019-01-04 14:01:36 +00:00
Alex Dadgar
ed4f8eac6e Add plugin API versioning to plugin loader and plugins 2018-12-18 16:48:00 -08:00
Chris Baker
bbe531ca04 updated memberlist dependency to latest, which is missing NMD-1173 error 2018-12-07 22:15:05 +00:00
Preetha Appan
a9c557508d update consul template 2018-11-15 14:15:12 -06:00
Nick Ethier
e9f3f2cfee Update runc/libcontainer and friends (#4655)
* vendor: bump libcontainer and docker to remove Sirupsen imports

* vendor: fix bad vendoring of archive package

* vendor: fix api changes to cgroups in executor

* vendor: fix docker api changes

* vendor: update github.com/Azure/go-ansiterm to use non capitalized logrus import
2018-10-16 16:53:30 -07:00
Alex Dadgar
575e193332 vendor vault api for backwards compatibility 2018-09-19 10:23:18 -07:00
Alex Dadgar
5760da6939 vendor yamux 2018-09-17 13:58:51 -07:00
Alex Dadgar
054b041976 vault consts 2018-09-11 12:05:47 -07:00
Alex Dadgar
26ba1e1591 remove toplevel vault dependency 2018-09-11 10:19:03 -07:00
Alex Dadgar
025ca166f3 Missing vendors 2018-09-10 15:08:34 -07:00
Alex Dadgar
8ebb17f54d Update retryablehttp 2018-09-10 15:02:05 -07:00
Alex Dadgar
1de6570892 vendor vault 0.11.1 api 2018-09-10 14:58:31 -07:00
Alex Dadgar
42a51e98a0 block attr spec 2018-08-10 11:14:12 -07:00
Alex Dadgar
0663a2f3fe Vendor conflicts
Vendored the tagged version of protobuf.
2018-08-07 13:02:47 -07:00
Chelsea Holland Komlo
52d7d0a83d update grpc vendor dependencies 2018-08-06 11:43:24 -04:00
Nick Ethier
29bc8cb121 vendor: update github.com/hashicorp/go-hclog 2018-07-31 13:51:30 -04:00
Alvin Huang
6569339c5e bump go-discover to fix Azure provider vendor.json file 2018-06-20 12:51:52 -04:00
Preetha Appan
29f1d7d905 Update serf to pick up graceful leave fix 2018-05-10 11:16:24 -05:00
Chelsea Holland Komlo
69a79f0c41 update go-discover 2018-05-07 16:57:07 -04:00
Chelsea Holland Komlo
6dc22ead23 vendor go-discover 2018-05-07 16:57:07 -04:00
Michael Schurter
882bf5a62c vendor: update consul for grpc 2018-05-04 11:08:11 -07:00
Preetha Appan
0559dfb9ee Update go-getter to pick up file accesstime fix 2018-04-25 16:32:36 -07:00
Charlie Voiselle
6192916059 Vendored hashicorp/go-getter
Brings in fix for directory permissions when expanding tarballs
2018-04-10 13:07:35 -05:00
Nick Ethier
f46622388e vendor: pull in go-safetemp 2018-04-09 17:19:26 -04:00
Alex Dadgar
1c75593351 vendor go-getter 2018-04-09 13:34:38 -07:00
Alex Dadgar
49b57196a2 vendor vault/api to get fix from https://github.com/hashicorp/vault/pull/4258 2018-04-03 15:48:26 -07:00
Alex Dadgar
9154ebe375 vendor gosockaddr 2018-03-20 10:39:39 -07:00
Preetha Appan
1480cd5f03 Update yamux library to pick up memory performance optimization 2018-03-14 15:14:52 -05:00
Alex Dadgar
a0137821a1 Pull in new autopilot 2018-02-21 10:24:32 -08:00
Charlie Voiselle
34b8d3d7a0 Vendored go-sockaddr and go-sockaddr/template 2018-02-08 09:30:05 -05:00
Kyle Havlovitz
10bc0d7f57 Move server health loop into autopilot leader actions 2018-01-23 12:57:02 -08:00
Chelsea Komlo
9d006ecd0d Merge pull request #3492 from hashicorp/f-client-tls-reload
Client/Server TLS dynamic reload
2018-01-23 05:51:32 -05:00