Commit graph

2154 commits

Author SHA1 Message Date
Alex Dadgar 567d381c91 Changelog update 2015-11-25 17:39:04 -08:00
Alex Dadgar 40b73758c9 Merge pull request #502 from ChrisHines/portable-driver-tests
Portable client/driver tests.
2015-11-25 17:36:40 -08:00
Diptanu Choudhury 32f0a80701 Made the logic to track checks simpler 2015-11-25 17:28:44 -08:00
Alex Dadgar a1be443575 Merge 2015-11-25 15:24:46 -08:00
Alex Dadgar e2f6f4cbfe Update changelog 2015-11-25 15:24:15 -08:00
Diptanu Choudhury f0875f3c9d Updated Changelog 2015-11-25 15:22:40 -08:00
Diptanu Choudhury f66069a08d Using the service id in check hash 2015-11-25 15:17:27 -08:00
Diptanu Choudhury 9edeb2fe58 Merge pull request #503 from hashicorp/f-consul-use-https
Added options for adding more consul configuration
2015-11-25 15:14:45 -08:00
Diptanu Choudhury c4fef7e91d Fixed the alloc runner test 2015-11-25 14:54:52 -08:00
Diptanu Choudhury dbfe853445 Removed fingerprint docs from Service Discovery docs 2015-11-25 14:47:11 -08:00
Diptanu Choudhury f26d301702 Fixed the build 2015-11-25 14:45:28 -08:00
Diptanu Choudhury ff636ce3b5 Removed redundant doc 2015-11-25 14:37:38 -08:00
Diptanu Choudhury 76f6e4ecd6 Moved some docs around 2015-11-25 13:58:11 -08:00
Diptanu Choudhury 5c6bea8658 Fixed some spellings in old docs 2015-11-25 13:56:25 -08:00
Diptanu Choudhury df2cbba950 Added docs for consul options 2015-11-25 13:49:31 -08:00
Diptanu Choudhury 3f82deff60 Added options for adding more consul configuration 2015-11-25 13:39:16 -08:00
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
Chris Hines 37745f66c9 Speed up tests by allowing parallel execution. 2015-11-25 15:56:55 -05:00
Chris Hines 5b2168bb12 Use package testtask and httptest.Server to make client/driver tests OS independent. 2015-11-25 15:56:20 -05: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
Chris Hines e569fb4787 Use package testtask in client/driver/spawn tests. 2015-11-25 15:34:55 -05:00
Alex Dadgar 3ef9602c69 Extract bool conversion to method 2015-11-25 12:33:56 -08:00
Chris Hines 46e848c8ec Eliminate special case in production code for embedding test binary into chroot. 2015-11-25 15:31:29 -05: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
Chris Hines d7ebe099c1 Factor portable test task out of client/driver/executor. 2015-11-24 20:59:42 -05: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