Commit graph

2043 commits

Author SHA1 Message Date
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
max 953ed6ac76 Client config option "fingerprint.whitelist" 2015-11-24 16:18:49 +01: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
Alex Dadgar af7d896c2a nil-pointer dereference with empty timeout Dequeue 2015-11-20 16:49:55 -08:00
Chris Bednarski 3ed8cb5b8b 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 e6daf57b10 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 655a4bf334 Fix some issues caught by go vet 2015-11-20 16:01:27 -08:00
Chris Bednarski 719c345164 Change println to printf 2015-11-20 16:00:58 -08:00
Chris Bednarski 8169c8e185 Don't show endpoint when we're not using it 2015-11-20 15:53:38 -08:00
Chris Bednarski 4063b6583e Added docker.tls config file options and docs 2015-11-20 15:47:03 -08:00
Diptanu Choudhury f4efcf9678 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 cf37a53ea1 Update changelog 2015-11-20 14:57:56 -08:00
Alex Dadgar 34b2f62c0b 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 24e088f8fa Updated changelog with docker port fixes 2015-11-20 14:45:59 -08:00
Chris Bednarski 16291b2d4f 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 063b74a73d 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 835343f47d Renamed whitelisted to skipped and update debug line 2015-11-20 14:07:35 -08:00
Chris Bednarski 10bb550ad8 Added client checks back to the tests that can't use dockerSetup() 2015-11-20 13:50:47 -08:00
Diptanu Choudhury aaca44c512 Using the service name in the service id so that it's uniq 2015-11-20 10:35:04 -08:00
Diptanu Choudhury fe7874b48e 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 341e9da221 Fix small typo in Docker auth docs 2015-11-19 23:11:08 -08:00
Chris Bednarski dd8c9c28f8 Added nil to network.MapLabelToValues call 2015-11-19 22:18:19 -08:00
Chris Bednarski cf4bb4cfd0 Squash []map[string]type for port_map and labels into map[string]type 2015-11-19 21:29:37 -08:00
Chris Bednarski 275550dcd3 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 b66d50c566 Docs 2015-11-19 17:21:57 -08:00
Alex Dadgar f64605968f Tests 2015-11-19 16:43:08 -08:00
Alex Dadgar c78f69bdee Implement the driver whitelist 2015-11-19 16:39:21 -08:00
Chris Bednarski 8764865e16 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