Commit Graph

233 Commits

Author SHA1 Message Date
Alex Dadgar
c99c021f98 Merge pull request #3269 from hashicorp/v-bolt
Update bolt
2017-09-27 11:53:32 -07:00
Alex Dadgar
dc686aab46 Update bolt 2017-09-25 14:43:44 -07:00
Lasse Dalegaard
bdfd8d8810 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
4c38cd6adc vendor gzip 2017-09-19 11:31:42 -05:00
Alex Dadgar
ddc2efa4ac sync 2017-09-19 10:08:23 -05:00
Chelsea Holland Komlo
34ff818cbb vendor go-metrics 2017-09-13 19:31:26 +00:00
Chelsea Holland Komlo
d11a5da147 vendor gzip libarary 2017-09-13 19:21:21 +00:00
Chelsea Holland Komlo
a099f7c809 vendor necessary libraries for prometheus metrics 2017-09-13 19:21:21 +00:00
Alex Dadgar
efc5cd5b4c vendor go-plugin file 2017-09-13 11:44:09 -07:00
Alex Dadgar
de870afdd5 sync acls 2017-09-13 11:38:29 -07:00
Alex Dadgar
ed8f07f324 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
5cb155930e vendor filter iterator 2017-09-07 17:15:56 -07:00
Alex Dadgar
a4e762f30b Vendor cli to get exit code 127 on unknown command 2017-09-06 17:19:07 -07:00
Alex Dadgar
c2648f92dc Merge pull request #3164 from hashicorp/v-go-getter
Update go-getter
2017-09-05 16:54:19 -07:00
Alex Dadgar
9f49f936f7 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
807c8786f8 Update go-getter
Fixes https://github.com/hashicorp/nomad/issues/3154
2017-09-05 16:41:33 -07:00
Chelsea Holland Komlo
2c261357ea vendor latest version of go-metrics and datadog-go/statsd 2017-09-05 14:11:49 +00:00
Alex Dadgar
9bc4c7573c Include google compare library 2017-09-01 16:42:09 -07:00
Alex Dadgar
394567fc5e vendor go-memdb 2017-08-31 15:16:11 -07:00
Alex Dadgar
05aebbb394 Deployment watcher takes state store 2017-08-30 18:51:59 -07:00
Alex Dadgar
aa9bb3316f vendor template 2017-08-29 16:57:40 -07:00
Alex Dadgar
58776f1cdd Fix path completions on zsh
This PR fixes autocompletion of paths that include folders on zsh.
2017-08-29 16:39:44 -07:00
Chelsea Holland Komlo
cf432b6528 vendor updated cli and autocomplete dependencies 2017-08-25 16:43:49 +00:00
Alex Dadgar
ec62111ff5 vendor complete library 2017-08-25 09:39:04 -07:00
Alex Dadgar
45e2f5ffe7 Revendor isatty since it is used by mitchellh/cli 2017-08-23 15:46:56 -07:00
Alex Dadgar
717bf7fe32 Change tty detection library 2017-08-23 14:35:50 -07:00
Alex Dadgar
2bb5a057ad 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
d5982d5584 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
0a4ea47de4 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
ad940977fa Merge pull request #3021 from clinta/docker-mount2
Expose docker mount options
2017-08-17 16:57:09 -07:00
Michael Schurter
cb17d47f40 Update to latest upstream gopsutil 2017-08-17 16:52:53 -07:00
Michael Schurter
99724b3858 Add missing consul/testutil/retry pkg 2017-08-17 16:44:21 -07:00
Michael Schurter
c7e5ef7562 Update Consul to v0.9.2 for Header and Method 2017-08-17 16:44:21 -07:00
Michael Schurter
b36456c67c Update gopsutil to stop calling SetEnv
Fixes #3036
2017-08-16 15:05:24 -07:00
Michael Schurter
6485664c15 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
a066856d72 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
bcb0ea0c44 update fsouza/go-dockerclient to 37a1d72 2017-08-10 12:19:19 -04:00
Alex Dadgar
6c0bb2ba2c Vendor new consul-template 2017-08-09 14:42:16 -07:00
Michael Schurter
d1aa60bdf4 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
3491d8a370 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
3050603552 vendor vault api 2017-08-01 09:30:55 -07:00
Alex Dadgar
6e117bf8cc Update consul-template 2017-08-01 09:24:23 -07:00
Alex Dadgar
2798817c01 Merge pull request #2928 from hashicorp/b-cli-autocomplete
Fix autocmpleting global flags
2017-07-31 11:25:34 -07:00
James Nugent
d8a66e5505 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
fd06341d8d 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
55bd0c8df7 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
8500b6fcb9 Remove unneeded consul vendor 2017-07-22 22:42:45 -07:00
Alex Dadgar
e6eabe1ba1 vendor 2017-07-21 13:29:08 -07:00
Alex Dadgar
e7e6c6858a Vendor go-plugin 2017-07-21 12:11:21 -07:00
Michael Schurter
caf451a170 Missing hashicorp/serf/serf dep 2017-07-19 11:53:53 -07:00