Commit Graph

3249 Commits

Author SHA1 Message Date
Cameron Stokes 46021ab4b4 Clarify format of the -atlas agent option. 2015-10-27 14:21:05 -07:00
Diptanu Choudhury 3b5eefb713 Merge pull request #1343 from hashicorp/f-docker-check
Docker Support for Consul Health Checks
2015-10-26 21:00:48 -07:00
Diptanu Choudhury fb0cae7320 Forcing the Env variable to empty while testing the default shell logic 2015-10-26 20:35:13 -07:00
Diptanu Choudhury 9070d12b2f Added a test for selecting shell from env 2015-10-26 20:21:50 -07:00
Diptanu Choudhury 8af6ac8f16 Making an explicit check to test whether a check is of type Monitor 2015-10-26 19:52:32 -07:00
Diptanu Choudhury f8a03508ad Fixed the tests 2015-10-26 18:20:02 -07:00
Diptanu Choudhury 15ff470a79 Added a test to check if we are properly truncating docker exec outputs 2015-10-26 18:06:55 -07:00
Diptanu Choudhury 709b518d03 Added a test for exit code 1 with docker exec 2015-10-26 16:58:09 -07:00
Diptanu Choudhury c8c08586f0 Fixed the Fake Docker client to simulate Exec start failures 2015-10-26 16:54:51 -07:00
Diptanu Choudhury fd6d57ccac Not adding the docker check if we couldn't create the client 2015-10-26 16:45:12 -07:00
James Phillips 1c9ac5789d Merge pull request #1345 from hashicorp/f-release-cleanup
Cleans up some small things in preparation for a 0.6.0 RC1.
2015-10-26 16:28:02 -07:00
Diptanu Choudhury 210b968037 Making sure the script is not empty if it's a docker check 2015-10-26 16:27:48 -07:00
James Phillips 580f14dfdc Preps the version for the first RC. 2015-10-26 16:03:14 -07:00
James Phillips 9d02372f62 Makes the Makefile pull the tools it needs on the first run. 2015-10-26 16:00:51 -07:00
James Phillips 009a2b3b50 Updates go version to 1.5.1, and modernizes the Vagrantfile.
Drops 32bit in the Vagrantfile as well since we can build that with
gox and don't need a special environment for it. The Vagrantfile is
now just a good default development environment.
2015-10-26 15:59:38 -07:00
Diptanu Choudhury 0a657b2602 Updated the comment for CheckType 2015-10-26 15:28:13 -07:00
Diptanu Choudhury 2276ebc978 Collect and truncate the output from docker exec 2015-10-26 15:19:35 -07:00
Diptanu Choudhury 0de0abcaec Defaulting to Monitor check 2015-10-26 15:02:23 -07:00
Diptanu Choudhury d2bd1b0c3f Extracted the logic of figuring out the shell and fixing the logic to find out if the check is a Docker check 2015-10-26 15:00:34 -07:00
James Phillips 2fd3ff815c Merge pull request #1344 from hashicorp/sethvargo/hc-releases
Use hc-releases to upload during dist
2015-10-26 14:43:52 -07:00
Seth Vargo 9565de0d12 Use hc-releases to upload during dist 2015-10-26 17:30:29 -04:00
Ryan Breen 4ffe3090c3 Merge pull request #1342 from victortrac/master
Mote -> Note typo
2015-10-26 16:11:59 -04:00
Victor Trac adf4189707 Mote -> Note typo 2015-10-26 15:10:20 -05:00
Matthew Irish bc1ce42715 Merge pull request #1341 from hashicorp/site-header-fix
fix for jumping header issues on the website
2015-10-26 15:06:21 -05:00
Diptanu Choudhury f445318732 Added some tests for docker check 2015-10-26 12:59:40 -07:00
Matthew Irish 36dd2cd9d0 fix for jumping header issues on the website
this fix was both a bit more involved and a bit hackier than I was hoping the
soultion would be, but that's how things go sometimes

to test:
 - open up the website in a browser and resize your window
 - make sure that the nav is always legible
2015-10-26 14:51:03 -05:00
James Phillips b50b0a8526 Merge pull request #1296 from hashicorp/f-fast-sync
agent: remove an N^2 check. See #1265
2015-10-26 11:37:52 -07:00
James Phillips d5e200874b Removes the integration test runner, there weren't any tests using it. 2015-10-26 11:34:01 -07:00
Matthew Irish bc79b65f3f Merge pull request #1338 from hashicorp/js-cleaning
Clean up the JS a bit and make Ember code more idiomatic
2015-10-26 13:24:06 -05:00
Matthew Irish b19993a6be Merge pull request #1340 from hashicorp/failing-node-service
Show node status as failing if a service on the node is failing
2015-10-26 13:19:35 -05:00
Diptanu Choudhury d478fa9470 Marking the state of a service as critical if the Docker Daemon doesn't respond while running checks 2015-10-26 11:16:11 -07:00
Diptanu Choudhury b35836fdad Adding a debug log to indicate the exit code of failed check 2015-10-26 10:35:51 -07:00
Diptanu Choudhury a68c6cbd3d Fixed merge conflicts 2015-10-26 10:32:57 -07:00
Diptanu Choudhury 1b1518512c Registering the Exec with Docker Daemon everytime the check is invoked 2015-10-26 10:23:57 -07:00
Diptanu Choudhury c4b85010fb Implemented Docker health checks 2015-10-26 10:23:57 -07:00
Seth Vargo 5ac45317d6 Merge pull request #1336 from hashicorp/sethvargo/releases
Use releases for pulling binaries
2015-10-26 12:49:16 -04:00
Seth Vargo f6abfc1cd1 Use vendored fastly logo 2015-10-26 12:08:30 -04:00
Seth Vargo 75dd4004ff Use releases for releases 2015-10-26 11:44:22 -04:00
James Phillips 41458dbbed Merge pull request #1339 from hashicorp/b-1334
Revert "Fixed Header background"
2015-10-26 08:27:59 -07:00
Matthew Irish b45cde637f Show node status as failing if a service on the node is failing 2015-10-26 10:26:16 -05:00
James Phillips 8986ee320a Revert "Fixed Header background"
This reverts commit 809ed3634403a90dbc62d05e18351262fed10d4c.
2015-10-26 07:58:01 -07:00
Matthew Irish 2fe7dd1ea8 Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
James Phillips 2a51d55ce3 Runs go fmt (sorts new go-cleanhttp imports). 2015-10-23 17:14:35 -07:00
James Phillips f6c774bec3 Merge pull request #1331 from slackpad/f-network-tomography
Adds network tomography features to Consul.
2015-10-23 16:34:13 -07:00
James Phillips b91e2d3a97 Completes rebase of network coordinates to new memdb. 2015-10-23 15:23:01 -07:00
James Phillips b3b1c6940b Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips 132e1d813b Fixes configs now that Serf always caches coordinates. 2015-10-23 15:23:01 -07:00
James Phillips b9732e3c39 Gives RTT class a more Go-like name. 2015-10-23 15:23:01 -07:00
James Phillips c48e3e1179 Defaults second node to agent if not given. Removes -short option and tweaks output formatting. 2015-10-23 15:23:01 -07:00
James Phillips a51e170eef Cleans up after code review, adds a -short option to "consul rtt" command. 2015-10-23 15:23:01 -07:00