Seth Hoenig
9ec1af5310
command: remove use of flag impls from consul
...
In a few places Nomad was using flag implementations directly
from Consul, lending to Nomad's need to import consul. Replace
those uses with helpers already in Nomad, and copy over the bare
minimum needed to make the autopilot flags behave as they have.
2020-12-11 07:58:20 -06:00
Yoan Blanc
0f217a6b96
feat: upgrade consul 1.7, and go-discover
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-09-13 11:40:47 +02:00
Yoan Blanc
63b27d42a2
vendor: consul/api, consul/sdk v1.6.0
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-08-23 09:43:37 +02:00
Yoan Blanc
5e629775ac
vendor: consul v1.7.7
...
Signed-off-by: Yoan Blanc <yoan@dosimple.ch>
2020-08-23 09:41:27 +02:00
Seth Hoenig
fb1c85a956
deps: upgrade import of consul/api
...
Upgrade our consul/api import to the equivelent of consul@v1.8.1 which includes
a bug fix necessary for #6913 . If consul would publish a proper api/ submodule tag
we could reference that.
2020-08-06 21:02:33 -05:00
Seth Hoenig
435c0d9fc8
deps: Switch to Go modules for dependency management
...
This PR switches the Nomad repository from using govendor to Go modules
for managing dependencies. Aspects of the Nomad workflow remain pretty
much the same. The usual Makefile targets should continue to work as
they always did. The API submodule simply defers to the parent Nomad
version on the repository, keeping the semantics of API versioning that
currently exists.
2020-06-02 14:30:36 -05:00
Mahmood Ali
98ad59b1de
update rest of consul packages
2020-02-16 16:25:04 -06:00
Mahmood Ali
3dcc65d58d
Update consul autopilot dependency
2020-02-16 15:41:43 -06:00
Michael Schurter
5081e3f8a8
vendor: update consul/api@v1.5.1 for connect fields
2019-07-31 01:04:05 -04:00
Chris Baker
01c79666f0
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
Michael Schurter
0996c7da4e
vendor: update consul for grpc
2018-05-04 11:08:11 -07:00
Alex Dadgar
9fee7b2afc
Pull in new autopilot
2018-02-21 10:24:32 -08:00
Kyle Havlovitz
a162b9ce14
Move server health loop into autopilot leader actions
2018-01-23 12:57:02 -08:00
Kyle Havlovitz
60279e328f
vendor: add autopilot and flags packages from consul
2017-12-18 14:29:35 -08:00
Alex Dadgar
57cb99ea54
update consul-lib
2017-10-31 09:41:02 -07:00
Alex Dadgar
506f32b303
vendor freeport
2017-10-25 15:49:53 -07:00
Alex Dadgar
cb0d0ef009
move to consul freeport implementation
2017-10-23 16:51:40 -07:00
Alex Dadgar
9c1d17c242
vendor consul testutil
2017-10-20 17:22:30 -07:00
Michael Schurter
84f480528a
Consul test server fork without porter/rpc.ports
2017-10-16 17:05:00 -07:00
Michael Schurter
c01efb0a6d
Update vendored Consul to 1.0.0
...
Also install new porter dep
2017-10-16 16:04:14 -07:00
Michael Schurter
b16304416e
Add missing consul/testutil/retry pkg
2017-08-17 16:44:21 -07:00
Michael Schurter
4e72a8dedf
Update Consul to v0.9.2 for Header and Method
2017-08-17 16:44:21 -07:00
Alex Dadgar
6616a582fb
Remove unneeded consul vendor
2017-07-22 22:42:45 -07:00
Michael Schurter
bbcea0dff9
Update consul/api and comment to custom http.Client
2017-05-30 15:11:32 -07:00
Michael Schurter
6f2ecdec27
Update consul/api and fix tls handling
...
Since I was already fixing consul's tls handling in #2645 I decided to
update consul/api and pre-emptively fix our tls handling against the
newest consul/api behavior. consul/api's handling of http.Transports has
improved but would have broken how we handled tls (again).
This would have made for a nasty surprise the next time we updated
consul/api.
2017-05-30 15:11:32 -07:00
Michael Schurter
85210eb92f
Update consul/api to support unix socket addrs
...
Fixes #2594
2017-05-08 11:57:04 -07:00
Alex Dadgar
c6dd744cfd
add missing
2017-03-28 12:41:38 -07:00
Alex Dadgar
2e297a5191
Vendor consul
2017-03-28 12:00:27 -07:00
Michael Schurter
f832b09be9
Remove unused vendored packages
2017-02-28 13:10:24 -08:00
Alex Dadgar
4c28d46029
vendor
2017-01-23 11:00:12 -08:00
Alex Dadgar
8a76dd32b6
vendor api
2017-01-23 10:57:06 -08:00
Ben Barnard
83f647ed84
Replace "the the" with "the" in documentation and comments
2016-10-11 15:31:40 -04:00
Alex Dadgar
19a6aefd68
more vendoring
2016-10-06 12:36:44 -07:00
Sean Chittenden
e0e7d94450
Use consul/lib's RateScaledInterval
2016-06-10 15:48:36 -04:00
Diptanu Choudhury
d3d4eeb1c1
Using tls cert and key files while connecting to consul over https
2016-03-27 23:09:31 -07:00
Diptanu Choudhury
46bd7323f4
Updated consul related dependencies
2016-03-24 14:54:26 -07:00
Diptanu Choudhury
9897b600ca
Using godeps to build
2016-02-12 10:02:16 -08:00