Commit Graph

2068 Commits

Author SHA1 Message Date
Chris Hines 5b2168bb12 Use package testtask and httptest.Server to make client/driver tests OS independent. 2015-11-25 15:56:20 -05:00
Chris Hines e569fb4787 Use package testtask in client/driver/spawn tests. 2015-11-25 15:34:55 -05:00
Chris Hines 46e848c8ec Eliminate special case in production code for embedding test binary into chroot. 2015-11-25 15:31:29 -05:00
Chris Hines d7ebe099c1 Factor portable test task out of client/driver/executor. 2015-11-24 20:59:42 -05: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
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
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
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
Diptanu Choudhury c76049b90c Added the PR number to changelog entry 2015-11-23 11:03:29 -08:00
Diptanu Choudhury ff01b1dbd7 Updated changelog 2015-11-23 11:01:41 -08:00
Diptanu Choudhury 3d002b716d removing redundant fail() 2015-11-23 10:59:07 -08:00
Diptanu Choudhury b8c5268d88 Making the restart tracker aware of the exit codes 2015-11-23 10:56:38 -08:00
Diptanu Choudhury 4d2fe73dfb Not restarting if a task exited properly 2015-11-22 23:47:15 -08:00
Alex Dadgar ba262026b0 Merge pull request #487 from hashicorp/b-single-consul-client
Consul fingerprinter only creates one consul client
2015-11-22 15:56:28 -08:00
Alex Dadgar 6e59527a97 Clear consul attributes if consul couldn't be fingerprinted 2015-11-22 13:51:10 -08:00
Alex Dadgar 77d86d5bb0 Fingerprinter only creates one consul client 2015-11-22 13:42:06 -08:00
Alex Dadgar e738f866a4 Merge pull request #482 from hashicorp/b-eval-broker-nil-timeout
Fix nil-pointer dereference with empty timeout on eval_broker.Dequeue
2015-11-22 13:12:07 -08:00
Diptanu Choudhury 6c66030e6b Merge pull request #483 from BRMatt/patch-1
Fix syntax error in raw_exec config documentation
2015-11-21 12:40:55 -08:00
Matt Button 5a7a9aee2a Fix syntax error in raw_exec config documentation
Keys need to be surrounded by quotes if they contain periods
2015-11-21 20:18:16 +00:00
Diptanu Choudhury 7416de0c86 Merge branch 'master' of github.com:hashicorp/nomad 2015-11-20 22:41:38 -08:00
Diptanu Choudhury 04a69ad437 Updated Changelog 2015-11-20 17:30:33 -08:00
Chris Bednarski df14dd44d0 Added docker TLS client to changelog 2015-11-20 17:29:01 -08:00