Commit graph

2004 commits

Author SHA1 Message Date
Chris Bednarski 655a4bf334 Fix some issues caught by go vet 2015-11-20 16:01:27 -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 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
Chris Bednarski b9b786732e Export DockerHandle and change tests to use DockerHandle.ContainerID() 2015-11-19 14:20:41 -08:00
Chris Bednarski 6253b1d0aa Add ContainerID() method to get the containerID from a handle 2015-11-19 13:57:18 -08:00
Chris Bednarski 96f4522a93 Merge pull request #466 from fernandezvara/fix-docker-port-mappings
docker port allocation not mapping correctly
2015-11-19 10:34:54 -08:00
Antonio Fernández 581245f881 fix docker port allocation? 2015-11-19 19:15:25 +01:00
Alex Dadgar a352c0fc69 Fix network fingerprint test 2015-11-19 09:22:32 -08:00
Alex Dadgar deb1224bb6 Update website version 2015-11-18 21:13:17 -08:00
Diptanu Choudhury 563bb60f52 Fixed the docs related to port map and networking 2015-11-18 21:03:50 -08:00
Diptanu Choudhury f277862881 Fixing a link on the website 2015-11-18 20:43:32 -08:00
Alex Dadgar 34bae7cefd Update demo vagrant box 2015-11-18 20:33:24 -08:00
Alex Dadgar cd3e796dc0 Merge branch 'master' of https://github.com/hashicorp/nomad 2015-11-18 19:50:58 -08:00
Alex Dadgar a5de6b7030 Nomad 0.2.0 changelog 2015-11-18 19:45:21 -08:00
Alex Dadgar 3b8c778eb8 Bump version 2015-11-18 19:41:24 -08:00
Diptanu Choudhury d60db5db1c Merge pull request #464 from hashicorp/f-consul-check
Changing the code comment
2015-11-18 19:35:15 -08:00
Diptanu Choudhury 3eb291faef Changing the code comment 2015-11-18 19:34:50 -08:00
Alex Dadgar 5faa2fd1d9 Merge pull request #463 from hashicorp/f-consul-check
Nuking the service and registering it so that checks are cleaned up
2015-11-18 19:34:20 -08:00
Diptanu Choudhury be4b981aef Nuking the service and registering it so that checks are cleaned up 2015-11-18 19:31:29 -08:00
Alex Dadgar f5623a736d Merge pull request #460 from hashicorp/f-consul-check
Making sure we sync the real state of services of a Task with Consul
2015-11-18 19:03:53 -08:00
Alex Dadgar 17954d15ba Merge pull request #461 from hashicorp/f-allow-no-interfaces
Allow no interfaces in network fingerprinter
2015-11-18 19:03:28 -08:00
Alex Dadgar cf4a44352f Allow no interfaces in network fingerprinter 2015-11-18 19:01:39 -08:00
Diptanu Choudhury ece7877a15 Triggering the next sync after we have finished the current one 2015-11-18 18:47:12 -08:00
Alex Dadgar ceeabe63f7 Merge pull request #459 from ChrisHines/parse-env
Handle additional edge cases when parsing environment variables.
2015-11-18 18:41:36 -08:00
Diptanu Choudhury 33472fd594 Making sure we sync the real state of services of a Task with Consul 2015-11-18 18:35:22 -08:00
Chris Hines 3a77952d59 Handle additional edge cases when parsing environment variables. 2015-11-18 21:21:07 -05:00
Chris Bednarski 49446ba607 Merge pull request #457 from hashicorp/docs-networking
Documentation for ports and other networking things
2015-11-18 17:49:42 -08:00
Chris Bednarski 51163eea36 Fix some typos 2015-11-18 17:49:20 -08:00
Alex Dadgar 07c8d4d1ab Merge pull request #458 from hashicorp/f-consul-check
Added a test for consul client and making sure we update service and checks if user updates them
2015-11-18 17:49:05 -08:00
Diptanu Choudhury 65bac7f4db Updating checks and services when allocs are refreshed 2015-11-18 17:33:29 -08:00
Diptanu Choudhury f525d86958 Added a test to ensure invalid services are not registered 2015-11-18 17:29:12 -08:00
Chris Bednarski ea2756d6fb Reformat 2015-11-18 16:45:39 -08:00
Chris Bednarski b9999dffbe Merge branch 'master' into docs-networking 2015-11-18 16:40:20 -08:00
Chris Bednarski 92734c6d3b Added notes about container name and UDP/TCP 2015-11-18 16:39:02 -08:00
Chris Bednarski 2338af6438 Updated docker docs with information about port_map and auth options 2015-11-18 16:30:37 -08:00
Alex Dadgar 067ecf33de Update changelog to reflect backwards incompatibility for ports 2015-11-18 16:02:36 -08:00
Chris Bednarski 17be3385b2 Added networking page 2015-11-18 15:51:39 -08:00
Alex Dadgar a019b74e44 Merge pull request #456 from hashicorp/revert-454-revert-452-f-arg-list
Make drivers take args as a list rather than as a string
2015-11-18 15:33:55 -08:00