Commit Graph

298 Commits

Author SHA1 Message Date
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 57d07ecd89 small fixes 2017-07-07 12:07:07 -07:00
Alex Dadgar 95c7a5bcf3 job history 2017-07-07 12:05:57 -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
James Nugent 53cacd7c51 deps: Update github.com/docker/docker/pkg/system
This commit updates the `system` package of `docker/docker`.
2017-03-13 13:18:47 -05:00
James Nugent 2923335954 deps: Update github.com/shirou/gopsutil
This commit updates `gopsutil` to the latest version, which includes CPU
info support for Illumos.
2017-03-13 12:50:09 -05:00
Sean Chittenden 526535c99a
Update `github.com/sean-/seed` to latest.
Direct to master given the trivial change.
2017-03-13 09:50:24 -07:00
James Nugent a69b3b0952 deps: Update github.com/mitchellh/go-ps
This update pulls in a commit adding support for Solaris.
2017-03-09 08:39:46 -05:00
Alex Dadgar dc8ac99db3 Vendor new cli 2017-03-02 19:23:01 -08:00
Alex Dadgar af4e400b36 Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
Michael Schurter 22980ae501 Revert libcontainer to 89ab7f2ccc1 2017-03-01 10:42:31 -08:00
Michael Schurter 11068959d6 Vendor some missing deps 2017-02-28 13:38:57 -08:00
Michael Schurter f832b09be9 Remove unused vendored packages 2017-02-28 13:10:24 -08:00
Michael Schurter b673b01a2d Update lots of vendored deps 2017-02-28 12:16:52 -08:00
Michael Schurter c1ea0428d0 Hoping updating docker deps will fix panic on Windows
🤞
2017-02-28 11:56:11 -08:00
Jonathan Ballet 72b0a7f34d Add support for late binding to IP addresses using go-sockaddr/template 2017-02-26 23:28:23 +01:00
Alex Dadgar d2cbbac76e Merge pull request #2347 from hashicorp/b-parse
Remove defaulting from parse and fix tests
2017-02-22 18:42:43 -08:00
Alex Dadgar 6c0ced6af1 vendor go-memdb/radix 2017-02-22 16:02:02 -08:00
Alex Dadgar b5995c6cd7 Vendor + test fixes 2017-02-22 15:55:33 -08:00
Alex Dadgar 627ac3fc45 Fix escaping 2017-02-15 15:14:47 -08:00
Alex Dadgar c62cd5cc55 Revendor docker client 2017-02-14 17:34:05 -08:00
Jeff Mitchell c33e899dfa Update go-cleanhttp 2017-02-10 19:41:28 -05:00
Alex Dadgar 4da380bbbf Vendor memberlist fixes 2017-02-08 16:07:33 -08:00
Alex Dadgar dea460281d Merge pull request #2282 from hashicorp/f-raft-v2-stage-one
Update to Raft V2 stage one
2017-02-08 15:26:16 -08:00
Alex Dadgar b51ba01d54 Merge pull request #2293 from hashicorp/f-vendor-memdb
Vendor MemDB
2017-02-08 14:51:01 -08:00
Sean Chittenden 6908aa7ed0
Update `shirou/gopsutil` to shiriou/gopsutil#313 to pull in the lowercase `HostID` bits 2017-02-06 16:16:20 -08:00
Alex Dadgar 94263b9648 Vendor 2017-02-03 16:28:27 -08:00
Sean Chittenden 16a5e2f918
Add durable HostID generation support to Windows.
https://github.com/shirou/gopsutil/pull/312
2017-02-02 16:15:22 -08:00
Alex Dadgar 59594f5178 Vendor v2 stage one 2017-02-02 13:19:08 -08:00
Alex Dadgar d1f8301e73 Merge pull request #2277 from hashicorp/f-durable-uuid
Reproducible Node ID
2017-02-02 11:54:49 -08:00
Sean Chittenden 52a22bcded
Update `github.com/go-ole/go-ole` and remove a bit of cruft. 2017-02-01 22:51:03 -08:00
Sean Chittenden 194355db35
Update `github.com/StackExchange/wmi` 2017-02-01 22:43:15 -08:00
Sean Chittenden 66f21047ba
Update github.com/shirou/gopsutil and friends. 2017-02-01 22:41:29 -08:00
Sean Chittenden 767c0667f5
Update `github.com/shirou/w32` 2017-02-01 22:25:39 -08:00
Sean Chittenden 3b3ff6a0da
Update github.com/shirou/gopsutil/host to include HostID update 2017-02-01 22:00:00 -08:00
Sean Chittenden 8d3fdc8ca5
Remove github.com/shiro/gopsutil (leave its child packages, however) 2017-02-01 21:58:19 -08:00
Alex Dadgar 92b5e74da9 Merge branch 'master' into f-vendor-serf-memberlist 2017-02-01 16:57:49 -08:00
Michael Schurter b4ca619d14 Update circonus vendor 2017-01-31 15:11:55 -08:00
Michael Schurter 1eb0c277bf Revert "Merge pull request #2258 from hashicorp/f-update-circonus-vendor"
This reverts commit b7417003eb6a6d9197e5e0e3a1d04b70e88b3311, reversing
changes made to b51a11c8edd0c91149bea26cc53408e58af19514.
2017-01-31 15:04:38 -08:00
Michael Schurter 97bbd94f61 Update circonus vendor 2017-01-31 13:45:04 -08:00
Alex Dadgar 067492d1f6 Vendor memberlist 2017-01-30 16:39:00 -08:00
Alex Dadgar b32c747105 Update serf 2017-01-30 16:34:13 -08:00
Alex Dadgar 606bb30863 Merge pull request #2226 from hashicorp/b-vault
Improve Vault integration and validation
2017-01-23 14:59:41 -08:00
Alex Dadgar 08733b68d2 vendor 2017-01-23 11:32:51 -08:00
Alex Dadgar bb78700418 vendor to 0.18 2017-01-23 11:13:33 -08:00
Alex Dadgar 4c28d46029 vendor 2017-01-23 11:00:12 -08:00
Alex Dadgar 11f8e942eb vendor 2017-01-23 11:00:12 -08:00
Alex Dadgar 44a7cefb35 vendor my PR 2017-01-23 11:00:12 -08:00
Alex Dadgar 8a76dd32b6 vendor api 2017-01-23 10:57:06 -08:00
Alex Dadgar acf2481222 error pkg 2017-01-23 10:57:06 -08:00
Alex Dadgar 8be647e59f vendor update 2017-01-23 10:57:06 -08:00
Alex Dadgar 735b5f9ca4 Vendor vault/api 2017-01-19 17:12:33 -08:00
Alex Dadgar ac3ed04961 Snappy + Dispatch name change
Change the generated name to timestamp + 8 characters of UUID
Add Snappy compression to the input
2016-11-25 20:02:18 -08:00
matt maier 276af02188 revert to previous circonusllhist 2016-11-09 19:33:12 -05:00
matt maier 525c7710a4 Update `vendor circonus-labs/circonus-gometrics`
Update `vendor circonus-labs/circonus-gometrics/checkmgr`
Update `vendor circonus-labs/circonus-gometrics/api`
Update `vendor circonus-labs/circonusllhist`
2016-11-09 15:10:42 -05:00
Alex Dadgar 4c2748db51 vendor circonus 2016-11-08 16:06:55 -08:00
Sean Chittenden 11e3fb11eb
Update vendor for circonus-gometrics to fix a panic.
Submitted by: vendor, @maier
2016-11-04 09:42:24 -07:00
Michael Schurter 9a116c09ce Update hcl to fix json parsing panic 2016-11-01 16:16:22 -07:00
Sean Chittenden dbbaee24f3
Chase required dependency: update `hashicorp/go-retryablehttp` 2016-11-01 12:48:24 -07:00
Sean Chittenden f5a5587992
Update `circonus-labs/circonus-gometrics`. 2016-11-01 12:45:37 -07:00
Alex Dadgar a815dd5a00 vendor CT 2016-10-28 15:01:23 -07:00
Alex Dadgar f8419fdd6e Add CaPath to Vault config in consul-template 2016-10-25 11:01:50 -07:00
Alex Dadgar 36cfe6e89e Large refactor of task runner and Vault token rehandling 2016-10-18 11:24:20 -07:00
Alex Dadgar 703b8423a3 Merge pull request #1816 from jippi/add-datadog-telemetry
Add datadog telemetry
2016-10-18 09:53:37 -07:00
Diptanu Choudhury 0f6e0d10b6 Enable serf encryption (#1791)
* Added the keygen command

* Added support for gossip encryption

* Changed the URL for keyring management

* Fixed the cli

* Added some tests

* Added tests for keyring operations

* Added a test for removal of keys

* Added some docs

* Fixed some docs

* Added general options
2016-10-17 10:48:04 -07:00
Christian Winther 3e953d725a initial work on datadog telemetry 2016-10-15 10:49:33 +02: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
Alex Dadgar 257a4394eb vendor 2016-10-03 13:50:56 -07:00
Michal Wieczorek 67b688d292 Update vendor package github.com/fsouza/go-dockerclient
Added dependencies of updated github.com/fsouza/go-dockerclient:
- golang.org/x/net/context/ctxhttp
- github.com/docker/engine-api/types/swarm
- github.com/Microsoft/go-winio
- github.com/docker/engine-api/types/mount
2016-09-24 21:53:49 +02:00
Michal Wieczorek f53108713b Add vendor package github.com/RackSec/srslog 2016-08-31 23:05:15 +02:00
K.C. Wong 8efd355af7 Update vendor package shirou/gopsutil
* resolve #1392
* pull in the fix for shirou/gopsutil/#249 which updates
  the Linux driver for `cpu` to set `cpu.Mhz` to the maximum
  clock-speed of the CPU, if that's available
2016-08-30 10:48:07 -07:00
Alex Dadgar e7fa97ae10 Update install of Vault 2016-08-25 14:07:15 -07:00
Alex Dadgar 94b870a58b Start 2016-08-19 16:40:37 -07:00
Cameron Davison a8861cd6f3
vendor github.com/mitchellh/go-homedir for osx 2016-08-18 21:27:27 -05:00
Alex Dadgar 1e079cfdac Update vendored Vault 2016-08-17 16:25:38 -07:00
Alex Dadgar 1cd69e3550 vendor 2016-08-17 16:23:29 -07:00
Alex Dadgar fab7893774 vendor + api 2016-08-17 16:23:29 -07:00
Alex Dadgar b32128aa23 Initial config block 2016-08-17 16:23:29 -07:00
matt maier 02d71eb6d3 Circonus integration for telemetry metrics 2016-07-22 12:33:10 -04:00
Alex Dadgar 7dd14507ca Tests and handle conn close behavior better 2016-07-12 10:18:48 -06:00
Diptanu Choudhury a328e2fe7f Updated gopsutil 2016-06-28 10:07:56 -07:00
Alex Dadgar c30c12f5c3 update columnize to include optimized code 2016-06-27 22:49:53 -07:00
Diptanu Choudhury 3c7e27b54d Fixed build on windows/386 2016-06-22 16:38:45 -07:00
Diptanu Choudhury 33d7f0243f Updated the memberlist dependency 2016-06-21 17:05:05 -07:00
Alex Dadgar adbf7332fc vendor go-dockerclient 2016-06-21 11:11:48 -07:00
Sean Chittenden ee81917b2c
Update gopsutils 2016-06-17 13:24:10 -07:00
Sean Chittenden c3235c9569
Improve FreeBSD's CPU detection. Cherrypicked from shirou/gopsutil#219. 2016-06-16 23:07:13 -07:00
Sean Chittenden 986e76ef80
Noop update for hashicorp/yamux 2016-06-16 16:02:41 -07:00
Sean Chittenden 09ef2694f7
Update github.com/hasicorp/go-memdb 2016-06-16 15:58:50 -07:00
Sean Chittenden edd8cffc3b
Update github.com/hashicorp/serf 2016-06-16 15:57:57 -07:00
Sean Chittenden f46380ab7b
Update github.com/hashicorp/memberlist 2016-06-16 15:55:35 -07:00
Sean Chittenden 5760037a38
Update github.com/hashicorp/go-immutable-radix 2016-06-16 15:55:02 -07:00
Sean Chittenden 8eda8787f2
Noop upgrade for armon/go-radix 2016-06-16 15:54:23 -07:00
Sean Chittenden 4c30cb915e
Update hashicorp/raft 2016-06-16 14:53:03 -07:00
Alex Dadgar 48d27fc5f8 vendor hcl 2016-06-13 18:15:41 -07:00
Sean Chittenden e0e7d94450
Use consul/lib's RateScaledInterval 2016-06-10 15:48:36 -04:00