Commit Graph

3450 Commits (6790930c4e7345f0f021e188558854d43e37b3f0)

Author SHA1 Message Date
Diptanu Choudhury 3d68d06ac7 Forcing the Env variable to empty while testing the default shell logic 2015-10-26 20:35:13 -07:00
Diptanu Choudhury 2fdcf1ae28 Added a test for selecting shell from env 2015-10-26 20:21:50 -07:00
Diptanu Choudhury 471442e9a4 Making an explicit check to test whether a check is of type Monitor 2015-10-26 19:52:32 -07:00
Diptanu Choudhury 1e240b5c59 Fixed the tests 2015-10-26 18:20:02 -07:00
Diptanu Choudhury f0c783d1a8 Added a test to check if we are properly truncating docker exec outputs 2015-10-26 18:06:55 -07:00
Diptanu Choudhury 582786523a Added a test for exit code 1 with docker exec 2015-10-26 16:58:09 -07:00
Diptanu Choudhury 9efbd1affa Fixed the Fake Docker client to simulate Exec start failures 2015-10-26 16:54:51 -07:00
Diptanu Choudhury 423f7fbcac Not adding the docker check if we couldn't create the client 2015-10-26 16:45:12 -07:00
James Phillips c29507f477 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 f5f5ed0c79 Making sure the script is not empty if it's a docker check 2015-10-26 16:27:48 -07:00
James Phillips 52465a5081 Preps the version for the first RC. 2015-10-26 16:03:14 -07:00
James Phillips 7db3468865 Makes the Makefile pull the tools it needs on the first run. 2015-10-26 16:00:51 -07:00
James Phillips 8738f9780b 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 b4af7f44af Updated the comment for CheckType 2015-10-26 15:28:13 -07:00
Diptanu Choudhury 4c1818eb61 Collect and truncate the output from docker exec 2015-10-26 15:19:35 -07:00
Diptanu Choudhury 5f8f531d2a Defaulting to Monitor check 2015-10-26 15:02:23 -07:00
Diptanu Choudhury 809e9f5284 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 dca2d84b17 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 62c09b0fbf Use hc-releases to upload during dist 2015-10-26 17:30:29 -04:00
Ryan Breen 154e920c69 Merge pull request #1342 from victortrac/master
Mote -> Note typo
2015-10-26 16:11:59 -04:00
Victor Trac 2b00e1cd6a Mote -> Note typo 2015-10-26 15:10:20 -05:00
Matthew Irish da1130891c 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 31cdf4fe64 Added some tests for docker check 2015-10-26 12:59:40 -07:00
Matthew Irish aa921bdbca 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 f6b589d768 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 89340fe694 Removes the integration test runner, there weren't any tests using it. 2015-10-26 11:34:01 -07:00
Matthew Irish 2aca5a94e2 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 a2853efdb2 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 40f72a8323 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 d695012e40 Adding a debug log to indicate the exit code of failed check 2015-10-26 10:35:51 -07:00
Diptanu Choudhury 2632bb3279 Fixed merge conflicts 2015-10-26 10:32:57 -07:00
Diptanu Choudhury 83db728133 Registering the Exec with Docker Daemon everytime the check is invoked 2015-10-26 10:23:57 -07:00
Diptanu Choudhury 71ede8addb Implemented Docker health checks 2015-10-26 10:23:57 -07:00
Seth Vargo 139ead560d Merge pull request #1336 from hashicorp/sethvargo/releases
Use releases for pulling binaries
2015-10-26 12:49:16 -04:00
Seth Vargo f6db363974 Use vendored fastly logo 2015-10-26 12:08:30 -04:00
Seth Vargo 38cc04bd18 Use releases for releases 2015-10-26 11:44:22 -04:00
James Phillips 13ef4836f2 Merge pull request #1339 from hashicorp/b-1334
Revert "Fixed Header background"
2015-10-26 08:27:59 -07:00
Matthew Irish 657b5b4a04 Show node status as failing if a service on the node is failing 2015-10-26 10:26:16 -05:00
James Phillips 4c8cee0076 Revert "Fixed Header background"
This reverts commit 809ed36344.
2015-10-26 07:58:01 -07:00
Matthew Irish dd1796b99a Clean up the JS a bit and make Ember code more idiomatic 2015-10-26 09:39:18 -05:00
James Phillips 088603949c Runs go fmt (sorts new go-cleanhttp imports). 2015-10-23 17:14:35 -07:00
James Phillips 798d49c388 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 ecd3a1d1d2 Completes rebase of network coordinates to new memdb. 2015-10-23 15:23:01 -07:00
James Phillips cef9402ab9 Updates docs for network coordinates. 2015-10-23 15:23:01 -07:00
James Phillips de01f96d38 Fixes configs now that Serf always caches coordinates. 2015-10-23 15:23:01 -07:00
James Phillips 439110f384 Gives RTT class a more Go-like name. 2015-10-23 15:23:01 -07:00
James Phillips 99cfbb8a47 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 88845f7d71 Cleans up after code review, adds a -short option to "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips fb8900156a Adds a "consul rtt" command. 2015-10-23 15:23:01 -07:00
James Phillips 787f946f8d Adds support for coordinates to client API. 2015-10-23 15:23:01 -07:00