Commit Graph

2082 Commits

Author SHA1 Message Date
Diptanu Choudhury b35819f10a Merge pull request #498 from hashicorp/b-consul-check
Handle updates of Service and Check definitions
2015-11-25 13:17:26 -08:00
Alex Dadgar 6499fd0149 Merge pull request #501 from hashicorp/b-distinct-host-panic
Distinct Host constraint accepts bool or string.
2015-11-25 12:38:07 -08:00
Alex Dadgar 3ef9602c69 Extract bool conversion to method 2015-11-25 12:33:56 -08:00
Alex Dadgar 3209c46b51 Accept string or bool 2015-11-25 12:25:21 -08:00
Diptanu Choudhury 95942b4179 Improved tests 2015-11-25 12:06:14 -08:00
Alex Dadgar d616e11223 Add consul to Vagrantbox 2015-11-25 11:57:54 -08:00
Diptanu Choudhury 576a6f402e Added a test to make sure we are adding a check to a service 2015-11-25 11:20:36 -08:00
Diptanu Choudhury 5480a2bd0f Saving the host and port in tracked service 2015-11-24 18:58:53 -08:00
Diptanu Choudhury 6353dde236 Fixing comment and syntax 2015-11-24 18:43:23 -08:00
Diptanu Choudhury 28a21061ce Implemented syncing of checks 2015-11-24 18:39:38 -08:00
Diptanu Choudhury f72027277d Dried the tests 2015-11-24 17:33:04 -08:00
Diptanu Choudhury 2c0822284b Tracking the tasks too 2015-11-24 17:26:30 -08:00
Alex Dadgar 8b83bcbfd5 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-24 16:42:12 -08:00
Alex Dadgar ef64317e1a Update the changelog 2015-11-24 16:41:54 -08:00
Alex Dadgar 16b6d6e175 Merge pull request #497 from hashicorp/f-windows-executor-tests
Fix tests for nomad/client/driver/executor package to work on Windows.
2015-11-24 16:39:14 -08:00
Alex Dadgar c7cd7abe22 Inject the current binary into the chroot in test mode 2015-11-24 16:30:53 -08:00
Chris Hines ea5a60629a Fix Executor_Open_Invalid test for Windows. 2015-11-24 16:30:53 -08:00
Chris Hines cb262d787f Include Executor_Open_Invalid in test suite. 2015-11-24 16:30:53 -08:00
Chris Hines 769415dbd2 Improve names and documentation in test code. 2015-11-24 16:30:53 -08:00
Chris Hines ec7e78680d Use TestMain to provide portable echo, sleep, and write commands. 2015-11-24 16:30:53 -08:00
Diptanu Choudhury 919f763ca8 Added a test to re-sync services 2015-11-24 14:37:14 -08:00
Ryan Uber b34c0e224c Update CHANGELOG.md 2015-11-24 13:24:05 -08:00
Ryan Uber 8d877c8074 Merge pull request #495 from hashicorp/f-regions
Add regions endpoint
2015-11-24 13:21:46 -08:00
Ryan Uber d983f266b0 nomad: sort regions before returning 2015-11-24 13:15:01 -08:00
Ryan Uber 617c64ee20 api: add regions wrapper 2015-11-24 13:11:48 -08:00
Diptanu Choudhury 135006699b Renamed consul client to service 2015-11-24 12:34:26 -08:00
Alex Dadgar 9619dc196d Add Syntax tab under Jobspec 2015-11-24 12:30:33 -08:00
Alex Dadgar f89e3e53cb Update changelog 2015-11-24 11:42:19 -08:00
Alex Dadgar b80ec83d5c Fix casing in jobspec docs 2015-11-24 11:22:23 -08:00
Alex Dadgar e6ad9e4887 Doc improvements for fingerprint whitelist and scheduler types 2015-11-24 11:15:21 -08:00
Alex Dadgar 5d0a257d6a Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-24 11:06:56 -08:00
Alex Dadgar b2daa5e2e6 Standardize log messages in fingerprinters to DEBUG 2015-11-24 11:06:51 -08:00
Alex Dadgar 1c20d56b4c Merge pull request #488 from max0d41/patch-1
Disable AWS and GCE fingerprinting via environment variables
2015-11-24 11:06:03 -08:00
Diptanu Choudhury a3d5b266a0 Registering Checks independently 2015-11-24 10:02:33 -08:00
Diptanu Choudhury f9c3d16b9f Removing un-used imports 2015-11-24 10:02:33 -08:00
Diptanu Choudhury 5549c1d2dc Generating the sha1 for a check 2015-11-24 10:02:33 -08:00
Diptanu Choudhury c1a16eefaa Removing a hot debug line 2015-11-24 10:02:33 -08:00
Ryan Uber 714450c6a5 website: document regions endpoint 2015-11-24 09:38:07 -08:00
max 953ed6ac76 Client config option "fingerprint.whitelist" 2015-11-24 16:18:49 +01:00
Ryan Uber a230a70cc7 nomad: testing region list 2015-11-23 22:27:07 -08:00
Ryan Uber 34b54bb05f nomad: leader forwarding not needed for regions 2015-11-23 22:27:07 -08:00
Ryan Uber 39b2c3a07b nomad: use a read-only lock 2015-11-23 22:27:07 -08:00
Ryan Uber ad6b55a37a nomad: support listing regions 2015-11-23 22:27:03 -08:00
Alex Dadgar dc4a7e428a Update changelog 2015-11-23 18:31:27 -08:00
Alex Dadgar 136a181c22 Merge pull request #493 from hashicorp/f-eval-broker-blocking-dequeue
Make a zero timeout for eval_broker.Dequeue() block
2015-11-23 18:26:52 -08:00
Alex Dadgar 94ab5c321a Merge pull request #494 from hashicorp/b-dynamic-port-conflict
Remove shared reference to DynamicPorts across allocs
2015-11-23 18:26:37 -08:00
Alex Dadgar 9801db55b3 Remove unnecessary copy 2015-11-23 16:36:12 -08:00
Alex Dadgar 9b99eeeec4 Remove shared reference to network resources across allocs 2015-11-23 16:32:30 -08:00
Alex Dadgar cbb1992929 Make a zero timeout for eval_broker.Dequeue() block 2015-11-23 11:59:49 -08:00
Diptanu Choudhury 49158aa245 Merge pull request #491 from hashicorp/b-batch-task-restart
Not restarting if a task exited properly
2015-11-23 11:17:33 -08:00