Commit Graph

2040 Commits

Author SHA1 Message Date
Ryan Uber
fa3d3474cc nomad: support listing regions 2015-11-23 22:27:03 -08:00
Alex Dadgar
7a8b664699 Update changelog 2015-11-23 18:31:27 -08:00
Alex Dadgar
e8f344c70a 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
2d69a40507 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
7ca2bac7b4 Remove unnecessary copy 2015-11-23 16:36:12 -08:00
Alex Dadgar
197228121e Remove shared reference to network resources across allocs 2015-11-23 16:32:30 -08:00
Alex Dadgar
fe3d12d0a6 Make a zero timeout for eval_broker.Dequeue() block 2015-11-23 11:59:49 -08:00
Diptanu Choudhury
2fccadc86b 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
361d874e85 Added the PR number to changelog entry 2015-11-23 11:03:29 -08:00
Diptanu Choudhury
b6cb7d0d7b Updated changelog 2015-11-23 11:01:41 -08:00
Diptanu Choudhury
b3f6f1aec3 removing redundant fail() 2015-11-23 10:59:07 -08:00
Diptanu Choudhury
27ad0ad253 Making the restart tracker aware of the exit codes 2015-11-23 10:56:38 -08:00
Diptanu Choudhury
29491ad47a Not restarting if a task exited properly 2015-11-22 23:47:15 -08:00
Alex Dadgar
acc4c5568e 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
220f79cefc Clear consul attributes if consul couldn't be fingerprinted 2015-11-22 13:51:10 -08:00
Alex Dadgar
e898adc78a Fingerprinter only creates one consul client 2015-11-22 13:42:06 -08:00
Alex Dadgar
441687e8b3 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
7a18d84300 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
5276af2dd6 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
63ef5ac257 Merge branch 'master' of github.com:hashicorp/nomad 2015-11-20 22:41:38 -08:00
Diptanu Choudhury
f789d83b58 Updated Changelog 2015-11-20 17:30:33 -08:00
Chris Bednarski
d4373ab561 Added docker TLS client to changelog 2015-11-20 17:29:01 -08:00
Alex Dadgar
b8f5c594cb nil-pointer dereference with empty timeout Dequeue 2015-11-20 16:49:55 -08:00
Chris Bednarski
9e418fcaf5 Merge pull request #481 from hashicorp/b-vet
Fix some issues caught by go vet
2015-11-20 16:31:47 -08:00
Chris Bednarski
5f719161de Merge pull request #480 from hashicorp/f-docker-tls-config
Added docker.tls config file options and docs
2015-11-20 16:31:41 -08:00
Chris Bednarski
fc95a3c9dc Fix some issues caught by go vet 2015-11-20 16:01:27 -08:00
Chris Bednarski
2970006488 Change println to printf 2015-11-20 16:00:58 -08:00
Chris Bednarski
30e7ef3eb9 Don't show endpoint when we're not using it 2015-11-20 15:53:38 -08:00
Chris Bednarski
2563480ddf Added docker.tls config file options and docs 2015-11-20 15:47:03 -08:00
Diptanu Choudhury
b0fe212a01 Merge pull request #479 from hashicorp/r-consul-check
Using the service name in the service id so that it's unique
2015-11-20 15:33:57 -08:00
Alex Dadgar
277ce3c237 Update changelog 2015-11-20 14:57:56 -08:00
Alex Dadgar
ef013c5c45 Merge pull request #442 from ChrisHines/windows-spawn
Fix tests for nomad/client/driver/spawn package to work on Windows.
2015-11-20 14:49:54 -08:00
Chris Bednarski
5a4440ab39 Updated changelog with docker port fixes 2015-11-20 14:45:59 -08:00
Chris Bednarski
61aeace69a Merge pull request #476 from hashicorp/b-docker-expose
Fixed some issues with expose, port mapping, and environment variables
2015-11-20 14:24:25 -08:00
Alex Dadgar
b00537f6c7 Merge pull request #473 from hashicorp/f-driver-whitelist
Client Config allows a driver whitelist.
2015-11-20 14:07:46 -08:00
Alex Dadgar
6bbc977fe5 Renamed whitelisted to skipped and update debug line 2015-11-20 14:07:35 -08:00
Chris Bednarski
c298425917 Added client checks back to the tests that can't use dockerSetup() 2015-11-20 13:50:47 -08:00
Diptanu Choudhury
6592483274 Using the service name in the service id so that it's uniq 2015-11-20 10:35:04 -08:00
Diptanu Choudhury
89b8e315a0 Merge pull request #477 from carlosdp/fix-docker-auth-typo
Fix small typo in Docker auth docs
2015-11-19 23:13:57 -08:00
Carlos Diaz-Padron
66ff111b78 Fix small typo in Docker auth docs 2015-11-19 23:11:08 -08:00
Chris Bednarski
e5d5d42b13 Added nil to network.MapLabelToValues call 2015-11-19 22:18:19 -08:00
Chris Bednarski
63439ee3f7 Squash []map[string]type for port_map and labels into map[string]type 2015-11-19 21:29:37 -08:00
Chris Bednarski
f75404ecf7 Fixed some issues with expose, port mapping, and environment variables
- Port mapping now works for reserved ports as well as dynamic ports
- Environment variables were being set twice in two different ways; now they are only set once
- Comprehensive tests for exposed ports, forwarded ports, and environment variables
- Cleaned up / DRYed up a lot of test code
2015-11-19 19:08:21 -08:00
Alex Dadgar
cb30708b64 Docs 2015-11-19 17:21:57 -08:00
Alex Dadgar
a8fd3310e8 Tests 2015-11-19 16:43:08 -08:00
Alex Dadgar
5eb8bc25bf Implement the driver whitelist 2015-11-19 16:39:21 -08:00
Chris Bednarski
f5a0d94eed Merge pull request #470 from hashicorp/f-containerid
Add ContainerID() method to get the containerID from a handle
2015-11-19 14:21:15 -08:00
Chris Bednarski
8c1d762a75 Export DockerHandle and change tests to use DockerHandle.ContainerID() 2015-11-19 14:20:41 -08:00
Chris Bednarski
84f9bb1367 Add ContainerID() method to get the containerID from a handle 2015-11-19 13:57:18 -08:00
Chris Bednarski
5ecb499d9e Merge pull request #466 from fernandezvara/fix-docker-port-mappings
docker port allocation not mapping correctly
2015-11-19 10:34:54 -08:00