Michael Schurter
0c83edbceb
Update go-testing-interface
...
Needed for T.Helper and T.Skipf
2017-10-06 14:35:14 -07:00
Alex Dadgar
e6bfbe261b
Merge pull request #3269 from hashicorp/v-bolt
...
Update bolt
2017-09-27 11:53:32 -07:00
Alex Dadgar
dd98953f02
Update bolt
2017-09-25 14:43:44 -07:00
Lasse Dalegaard
cbcbe0da2e
Expose rkt DriverNetwork
...
Currently the rkt driver does not expose a DriverNetwork instance after
starting the container, which means that address_mode = 'driver' does
not work.
To get the container network information, we can call `rkt status` on
the UUID of the container and grab the container IP from there.
For the port map, we need to grab the pod manifest as it will tell us
which ports the container exposes. We then cross-reference the
configured port name with the container port names, and use that to
create a correct port mapping.
To avoid doing a (bad) reimplementation of the appc schema(which rkt
uses for its manifest) and rkt apis, we pull those in as vendored
dependencies. The versions used are the same ones that rkt use in their
glide dependency configuration for version 1.28.0.
2017-09-21 00:34:22 +02:00
Alex Dadgar
fce29e44e8
vendor gzip
2017-09-19 11:31:42 -05:00
Alex Dadgar
e5ec915ac3
sync
2017-09-19 10:08:23 -05:00
Chelsea Holland Komlo
4ccb73ac67
vendor go-metrics
2017-09-13 19:31:26 +00:00
Chelsea Holland Komlo
2939751811
vendor gzip libarary
2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
1da4027758
vendor necessary libraries for prometheus metrics
2017-09-13 19:21:21 +00:00
Alex Dadgar
484e481e74
vendor go-plugin file
2017-09-13 11:44:09 -07:00
Alex Dadgar
a2363e7583
sync acls
2017-09-13 11:38:29 -07:00
Chelsea Holland Komlo
efa61e80f2
vendor blake2b to allow for building on 386 architecture
2017-09-11 18:10:34 +00:00
Alex Dadgar
19a11f15d5
Merge pull request #3177 from hashicorp/f-cli-hidden
...
Hide non-user commands from autocomplete output
2017-09-11 10:02:08 -07:00
James Nugent
6d805dfad0
deps: Update golang.org/x/sys/{unix,windows}
2017-09-08 13:33:25 -05:00
Alex Dadgar
41b22ba9eb
Hide non-user commands from autocomplete output
...
This PR hides non-user CLI commands from the list of autocomplete
suggestions.
2017-09-08 11:24:21 -07:00
Alex Dadgar
ee145264f4
vendor filter iterator
2017-09-07 17:15:56 -07:00
Alex Dadgar
cc13d4db7d
Vendor cli to get exit code 127 on unknown command
2017-09-06 17:19:07 -07:00
Alex Dadgar
50058386bb
Merge pull request #3164 from hashicorp/v-go-getter
...
Update go-getter
2017-09-05 16:54:19 -07:00
Alex Dadgar
6de1e5d208
Vendor consul-template ( #3153 )
...
* Vendor consul-template
Fixes https://github.com/hashicorp/nomad/issues/3133
* changelog
2017-09-05 16:53:28 -07:00
Alex Dadgar
5e8635ff15
Update go-getter
...
Fixes https://github.com/hashicorp/nomad/issues/3154
2017-09-05 16:41:33 -07:00
Chelsea Holland Komlo
f59cef0c2f
vendor latest version of go-metrics and datadog-go/statsd
2017-09-05 14:11:49 +00:00
Armon Dadgar
568ccf0485
vendoring blake2b
2017-09-04 13:07:44 -07:00
Alex Dadgar
ad87c6fba5
Include google compare library
2017-09-01 16:42:09 -07:00
Alex Dadgar
8486042a86
vendor go-memdb
2017-08-31 15:16:11 -07:00
Alex Dadgar
590ff91bf3
Deployment watcher takes state store
2017-08-30 18:51:59 -07:00
Alex Dadgar
6aaffa30f0
vendor template
2017-08-29 16:57:40 -07:00
Alex Dadgar
3fceafe2b6
Fix path completions on zsh
...
This PR fixes autocompletion of paths that include folders on zsh.
2017-08-29 16:39:44 -07:00
Michael Schurter
985f571c37
Vendor missing windows dep
2017-08-28 16:13:48 -07:00
Chelsea Holland Komlo
2992c0ccd0
vendor updated cli and autocomplete dependencies
2017-08-25 16:43:49 +00:00
Alex Dadgar
95c68156bc
vendor complete library
2017-08-25 09:39:04 -07:00
Alex Dadgar
860db2e4a9
Revendor isatty since it is used by mitchellh/cli
2017-08-23 15:46:56 -07:00
Alex Dadgar
2ee5b6c39d
Change tty detection library
2017-08-23 14:35:50 -07:00
Alex Dadgar
3f0fc016e5
Detect STDOUT isn't a TTY and disable color
...
This PR disables color output when the STDOUT is not a TTY. This makes
running commands under `watch` or other commands nicer.
2017-08-23 14:35:26 -07:00
Alex Dadgar
14bae424e1
Merge pull request #3041 from hashicorp/b-3036-update-gopsutil
...
Update gopsutil to stop calling SetEnv
2017-08-21 10:42:04 -07:00
Michael Schurter
51a27cc83d
Merge pull request #3031 from hashicorp/f-2924-consul-headers
...
Add Header and Method support for HTTP checks
2017-08-18 13:35:08 -07:00
Michael Schurter
5c015da3cb
Merge pull request #3021 from clinta/docker-mount2
...
Expose docker mount options
2017-08-17 16:57:09 -07:00
Michael Schurter
6b8bac4929
Update to latest upstream gopsutil
2017-08-17 16:52:53 -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
Michael Schurter
192db801d1
Update gopsutil to stop calling SetEnv
...
Fixes #3036
2017-08-16 15:05:24 -07:00
Michael Schurter
9d93df6dc5
Vendor vault test deps
...
This is a weird one because `make bootstrap` does a `go get vault` so CI
never fails due to missing Vault dependencies. However developer
machines will have whatever version of vault they grabbed last time they
bootstrapped a new dev environment.
This can lead to surprising build issues and different devs testing
slightly different code.
So let's vendor all test deps to try to keep the Nomad repo
self-contained.
2017-08-11 10:31:05 -07:00
Alex Dadgar
6b238edc22
Merge pull request #3001 from hashicorp/f-template-events
...
Template emits events explaining why it is blocked
2017-08-10 13:00:58 -07:00
Clint Armstrong
5508d392ef
update fsouza/go-dockerclient to 37a1d72
2017-08-10 12:19:19 -04:00
Alex Dadgar
4dbf88c354
Vendor new consul-template
2017-08-09 14:42:16 -07:00
Michael Schurter
d1888f5b97
Merge pull request #2983 from hashicorp/b-update-raft-atomics2
...
Update raft to fix atomics alingment on 32bit
2017-08-07 16:40:54 -07:00
Michael Schurter
c1be2c3193
Update raft to fix atomics alingment on 32bit
...
Related to #2963
Also pulls in some state file syncing improvements
2017-08-07 16:07:35 -07:00
Alex Dadgar
562ea52c8e
vendor vault api
2017-08-01 09:30:55 -07:00
Alex Dadgar
8df67563c7
Update consul-template
2017-08-01 09:24:23 -07:00
Alex Dadgar
96252a0f1a
Merge pull request #2928 from hashicorp/b-cli-autocomplete
...
Fix autocmpleting global flags
2017-07-31 11:25:34 -07:00
James Nugent
d778d9d566
Update gopsutil ( #2927 )
...
* deps: Update github.com/go-ole/go-ole/...
* deps: Update github.com/StackExchange/wmi
* deps: Update github.com/shirou/gopsutil/...
* deps: Update github.com/ugorji/go/codec
2017-07-28 09:46:44 -07:00
Alex Dadgar
bce0ff2640
Fix autocmpleting global flags
...
This PR vendors a change to the CLI package that allows autocompleting
global flags at the top level command.
2017-07-28 09:44:48 -07:00
Michael Schurter
5f1f91a46c
Use go-testing-interface instead of testing
...
This drops the testings stdlib pkg from our dependencies. Saves a
whopping 46kb on our binary (was really hoping for more of a win there),
but also avoids potential ugliness with how testing sets flags.
2017-07-25 15:35:19 -07:00
Alex Dadgar
6616a582fb
Remove unneeded consul vendor
2017-07-22 22:42:45 -07:00
Alex Dadgar
5c6b4e7cc3
vendor
2017-07-21 13:29:08 -07:00
Alex Dadgar
a8f440bade
Vendor go-plugin
2017-07-21 12:11:21 -07:00
Michael Schurter
96e9857f12
Missing hashicorp/serf/serf dep
2017-07-19 11:53:53 -07:00
Michael Schurter
68891839d3
Update raft to hashicorp/raft@b3d48f1
...
Pulls in hashicorp/raft#225
2017-07-19 11:53:53 -07:00
Michael Schurter
cfa7606b4e
Update serf to hashicorp/serf@bbeddf0
2017-07-19 11:53:53 -07:00
Alex Dadgar
e1888e822c
Merge pull request #2841 from hashicorp/b-rolling-no-fit
...
Treat destructive updates atomically
2017-07-19 11:11:25 -07:00
Michael Schurter
62478730a8
Merge pull request #2836 from hashicorp/f-go-getter-xz-support
...
Update go-getter to get .xz support
2017-07-18 11:26:13 -07:00
Alex Dadgar
22e84d00ab
Fix deep copy of driver config
2017-07-17 17:53:21 -07:00
Alex Dadgar
810ab68f94
Add command autocompletion.
...
This PR adds command autocompletion to the CLI.
2017-07-17 15:00:40 -07:00
Michael Schurter
9514c3bf12
Update go-getter to get .xz support
2017-07-14 10:31:21 -07:00
Michael Schurter
e8a059345c
Merge pull request #2794 from hashicorp/f-update-raft
...
Update raft to get hashicorp/raft#212 fix
2017-07-07 16:22:23 -07:00
Michael Schurter
e98e599419
Merge pull request #2801 from hashicorp/f-update-go-winio
...
Update go-winio to get some fixes
2017-07-07 15:04:02 -07:00
Michael Schurter
fe69901fb9
Merge pull request #2803 from hashicorp/f-update-ct
...
Update consul-template
2017-07-07 15:03:46 -07:00
Michael Schurter
eee850b1e6
Update consul-template
2017-07-07 14:42:31 -07:00
Michael Schurter
f9c52676e0
Update go-winio to get some fixes
...
* Microsoft/go-winio#53
* Microsoft/go-winio#54
2017-07-07 14:33:47 -07:00
Alex Dadgar
db93d51530
vendor
2017-07-07 12:18:14 -07:00
Alex Dadgar
398c4a6be7
Vendor columnize
2017-07-07 12:11:39 -07:00
Alex Dadgar
3b05caddb9
vendor file
2017-07-07 12:10:04 -07:00
Alex Dadgar
57d07ecd89
small fixes
2017-07-07 12:07:07 -07:00
Alex Dadgar
95c7a5bcf3
job history
2017-07-07 12:05:57 -07:00
Alex Dadgar
b4c8f56570
Deployment watcher tests
2017-07-07 12:03:11 -07:00
Michael Schurter
a1bdc26464
Update raft to get hashicorp/raft#212 fix
2017-07-06 17:18:18 -07:00
Michael Schurter
90f6a60f45
New go-getter test dep
2017-07-06 10:45:44 -07:00
Michael Schurter
5bf5dae13e
Update go-getter for minio support
2017-07-06 10:45:44 -07:00
Michael Schurter
0d3bdf7210
Add support for go-getter modes
...
Fixes #2678
2017-07-06 10:45:44 -07:00
Jonathan Ballet
3ffb39ea2b
Upgrade go-sockaddr/template to latest version + upgrade CHANGELOG
2017-06-25 20:55:40 +02:00
Michael Schurter
3c66f4ddc8
Update go-sockaddr to lookup ip on $PATH
...
Fixes #2696
2017-06-22 13:46:48 -07:00
Michael Schurter
d1dd380890
Switch to hashicorp/go-envparse
2017-06-02 15:58:52 -07:00
Michael Schurter
a552bcdb55
Move env file parsing to a library
2017-06-02 15:03:27 -07:00
Michael Schurter
d35aab2cc2
Update consul-template to fix compat with consul/api
2017-05-30 15:11:32 -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
5fd438661d
Merge pull request #2399 from multani/sockaddr-template
...
Add support for late binding to IP addresses using go-sockaddr/template
2017-05-11 17:25:03 -07:00
Michael Schurter
21dff59304
Update go-winio to remove cgo on Windows
...
Thanks to Microsoft/go-winio#51
2017-05-08 15:43:48 -07:00
Michael Schurter
85210eb92f
Update consul/api to support unix socket addrs
...
Fixes #2594
2017-05-08 11:57:04 -07:00
Michael Schurter
5b8415df2c
Merge pull request #2585 from hashicorp/b-2554-container-exec
...
Execute exec/java script checks in containers
2017-05-05 10:31:18 -07:00
Michael Schurter
fc68234b73
Update go-winio to get Microsoft/go-winio#48
2017-05-03 15:22:55 -07:00
Michael Schurter
5cc2742fce
Update go-winio to Microsoft/go-winio#31
...
Didn't fix the panic.
2017-05-03 15:22:55 -07:00
Michael Schurter
709c9425e4
Upgrade go-version to one compatible with Nomad versioning
2017-04-21 16:25:49 -07:00
Alex Dadgar
918d130f34
vendor new go-memdb
2017-04-12 15:42:45 -07:00
Alex Dadgar
aaad1fc82e
Vendor go-getter
...
Fixes two issues:
* netrc not being honored
* tar files with files listed before their parent directories not being
properly untarred.
2017-04-05 16:10:15 -07:00
Alex Dadgar
d2d1172596
remove vault main from vendor
2017-04-04 16:24:27 -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
Alex Dadgar
4f5563c169
Consul-template
2017-03-28 11:51:15 -07:00
James Nugent
9514c324f8
deps: Update github.com/shirou/gopsutil/...
...
This adds support for Illumos for memory and host information, which
allows the fingerprinting tests to pass. It also contains fixes for
FreeBSD.
2017-03-15 18:18:39 -05:00
Alex Dadgar
493de9120a
Merge pull request #2439 from jen20/dep-update-gopsutil
...
deps: Update github.com/shirou/gopsutil
2017-03-13 13:36:26 -07:00