Diptanu Choudhury
d9497632ed
Added tests for parsing consul client configuration
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
cec6c03b79
Fixed the consul tests
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
2f8a3532ad
Refactored the signature of NewConsulService
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
a4092a7a35
Adding logic for checking health of client
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
4ff76424cb
Added a check command
2016-05-11 15:22:58 -07:00
Diptanu Choudhury
075a1379c0
Added parsing logic for config block
2016-05-11 15:22:58 -07:00
Sean Chittenden
693e1c6ea9
Fix unit tests for TestPrettyPrintBare
2016-05-11 15:20:57 -07:00
Sean Chittenden
92df92f48b
Merge pull request #1165 from hashicorp/f-append-newline
...
Append a newline when pretty-printing the response
2016-05-11 13:10:37 -07:00
Sean Chittenden
514f22c4a8
Merge pull request #1160 from hashicorp/f-freebsd
...
Stubbed out raw_exec support for *NIX platforms
OOB LGTM: @diptanu
2016-05-11 12:54:27 -07:00
Diptanu Choudhury
2f15842f3e
Merge pull request #1164 from hashicorp/fix-unmount
...
Removing directories only if we could successfully unmount them
2016-05-11 12:51:34 -07:00
Alex Dadgar
129c9c74af
changelog
2016-05-11 11:12:18 -07:00
Sean Chittenden
36a50e0f15
Update tests for pretty printing that includes a newline.
...
Add a test verifying that pretty printing can be disabled, too.
2016-05-11 10:55:01 -07:00
Sean Chittenden
2fe9b6e97a
Append a newline when pretty-printing the response
...
Instead of typing `curl http://foo/v1/nodes?pretty ; echo` to inject a
newline into your terminal, now pretty will provide its own newline.
2016-05-10 15:46:20 -07:00
Diptanu Choudhury
5b12aebd31
Removing directories only if we could successfully unmount them
2016-05-10 14:57:16 -07:00
Alex Dadgar
1cb3e82388
Merge pull request #1153 from hashicorp/b-task-resource-update
...
Check if network asks have changed when checking task updates
2016-05-09 18:46:43 -07:00
Alex Dadgar
66620ccc23
Merge pull request #1161 from hashicorp/d-json-corrections
...
Json clean up + fixed variable names
2016-05-09 17:04:05 -07:00
Alex Dadgar
dae8b9c8fb
Merge pull request #1162 from hashicorp/d-telemetry
...
Describe key metrics
2016-05-09 17:03:47 -07:00
Alex Dadgar
4fe3baf726
describe interval
2016-05-09 17:03:04 -07:00
Alex Dadgar
474314b9ed
Json clean up + fixed variable names
2016-05-09 16:23:25 -07:00
Alex Dadgar
2567f154c7
Document key metrics
2016-05-09 16:04:41 -07:00
Sean Chittenden
9fd4b82390
Establish a floor of one core for the number of cores.
...
In most cases the upstream library [shirou/gopsutil](https://github.com/shirou/gopsutil )
needs to be fixed.
2016-05-09 12:22:40 -07:00
Sean Chittenden
53d4681b61
Emit various debugging information with the results of the fingerprinter
2016-05-09 12:21:51 -07:00
Sean Chittenden
a2b71983c0
cgroups are a decidedly Linux-only feature. Build and test as such.
2016-05-09 11:56:35 -07:00
Sean Chittenden
8e88b11596
Decrease the log-level from WARN to DEBUG when fingerprinting GCE
...
This brings the logging here inline with the remaining fingerprinting code
2016-05-09 11:56:35 -07:00
Sean Chittenden
2ff8b10e05
Rename cgroup_universal.go to cgroup_default.go
...
Universal implies it is applicable to Linux, whereas default implies
the fallthrough for the non-Linux build targets.
2016-05-09 11:56:35 -07:00
Sean Chittenden
f8e9a759d3
Move network detection code to Linux-specific build
...
Non-Linux build targets get the current default of 0. This will allow
platform specific fingerprinting for network capabilities.
2016-05-09 11:56:35 -07:00
Sean Chittenden
f2e01f0eab
Stub out FreeBSD support for Nomad
...
Compiles, but is not functional (yet).
2016-05-09 11:56:35 -07:00
Sean Chittenden
cb9b4eca83
Merge pull request #1156 from hashicorp/f-x-sys-unix
...
Use x/sys/unix vs syscall package where appropriate
2016-05-09 11:56:00 -07:00
Sean Chittenden
d86a6a029a
Rename the windows exec driver file to be the default exec driver.
...
No functional difference in practice, but results in a more clean build.
2016-05-09 11:32:05 -07:00
Diptanu Choudhury
6cdc36d388
Merge pull request #1159 from capone212/master
...
Enable consul script checks for raw_exec driver
2016-05-09 08:28:03 -07:00
capone212
cc246b30d9
Added java
2016-05-09 17:27:01 +03:00
capone212
503f552477
Reverted blank line
2016-05-09 17:23:38 +03:00
capone212
99e7581742
Fixed CR defect
2016-05-09 17:22:01 +03:00
capone212
f8a2334270
Merge https://github.com/capone212/nomad
2016-05-09 13:36:12 +03:00
capone212
875df91e0b
Added consul script check support for raw_exec driver
2016-05-09 13:35:19 +03:00
Sean Chittenden
5728ca5507
Bump Go to 1.6.2 for Travis (just added)
2016-05-08 22:12:45 -07:00
Diptanu Choudhury
b6f7615e10
Merge pull request #1158 from bodymindarts/patch-1
...
fix docs for specifying multiple config files
2016-05-08 19:37:29 -07:00
Sean Chittenden
d9ba6d8bff
Re-sort functions back to the same ordering as master
2016-05-08 11:46:20 -07:00
Sean Chittenden
b249aaf8bb
Remove stray debugging fmt.Printf
2016-05-08 11:43:43 -07:00
Sean Chittenden
93bcc30a9c
Revert making UniversalExecutor.wait() platform specific
2016-05-08 11:21:34 -07:00
Sean Chittenden
2cba09843c
Revert making UniversalExecutor.wait() platform specific
2016-05-08 11:17:27 -07:00
Justin Carter
b43338b59a
-config needed to pass multiple config files
...
When trying the command above with just 1 -config option specified only the config from the first file was picked up.
2016-05-08 10:53:46 +02:00
Sean Chittenden
e8fbfc7976
Revert making UniversalExecutor.wait() platform specific
2016-05-08 00:13:28 -07:00
Sean Chittenden
f2b6303d49
Catch up with error message drift in docker
2016-05-07 15:46:44 -07:00
Sean Chittenden
d30eb22c5b
Bump Go to 1.6.1
2016-05-07 13:30:04 -07:00
Sean Chittenden
d1268cfb76
Break out the windows vs UNIX Fingerprinter
...
cgroup's are applicable to Windows and will require a more specific abstraction. Stub out the difference. The *NIX exec drivers will likely be broken out over time (e.g. *BSD and Solaris).
2016-05-07 12:37:15 -07:00
Sean Chittenden
4a507c0ddb
Fully enumerate build targets
...
Exclude broken build targets from gox
2016-05-07 12:12:04 -07:00
Sean Chittenden
19c64fb94c
Fix executor builds on Windows
2016-05-07 12:07:27 -07:00
Sean Chittenden
af7de1cc48
Vendor golang.org/x/sys/windows
2016-05-07 12:06:42 -07:00
Sean Chittenden
d10623aaea
Implement a Windows-specific UniversalExecutor wait()
2016-05-07 12:00:44 -07:00