Commit graph

7741 commits

Author SHA1 Message Date
Michael Schurter 9b531d51a6 Remove defunct DRIVER references in docs
Simplifies things greatly!
2017-06-23 15:32:47 -07:00
Michael Schurter 5a274e6683 Style and comments 2017-06-23 15:20:04 -07:00
Michael Schurter cff8546035 Fix spelling & re-add immutable state struct 2017-06-23 13:01:39 -07:00
Alex Dadgar 0a85733f7e Merge pull request #2733 from grossws/patch-1
HCL typo fix
2017-06-23 11:36:41 -07:00
Michael Schurter d359d3b554 Rename immutable -> alloc
meh; naming is hard
2017-06-23 10:58:36 -07:00
Konstantin Gribov ea5e5788af HCL typo fix 2017-06-23 20:40:50 +03:00
Michael Schurter af2fc0f1bc Persist Alloc when EvalID changes 2017-06-22 17:33:12 -07:00
Michael Schurter 9e686e84a1 Remove DRIVER env vars from docs 2017-06-22 16:16:17 -07:00
Michael Schurter 641bb7e031 Merge pull request #2729 from hashicorp/b-2696-lookup-ip-on-path
Update go-sockaddr to lookup ip on $PATH
2017-06-22 14:08:26 -07:00
Michael Schurter 3c66f4ddc8 Update go-sockaddr to lookup ip on $PATH
Fixes #2696
2017-06-22 13:46:48 -07:00
Michael Schurter 8b93ec023c Fixup example 2017-06-21 17:19:08 -07:00
Michael Schurter f3a6ddc57d Remove DRIVER env vars
Also make NOMAD_ADDR_* use host ip:port for consistency. NOMAD_PORT_*
varies based on port map and the driver IP isn't exposed as an env var
as the only place it can be used is in script checks anyway.
2017-06-21 17:19:08 -07:00
Michael Schurter 0633d0c286 Have Qemu return PortMap 2017-06-21 17:19:08 -07:00
Michael Schurter 5b59bea67b Move caonicalization from nomad/structs/ to api/ 2017-06-21 17:19:08 -07:00
Michael Schurter 38a0695687 Simplify Docker Networks processing 2017-06-21 17:19:08 -07:00
Michael Schurter fec83b271a Bump error log level 2017-06-21 17:19:08 -07:00
Michael Schurter 73c696e717 Remove readme 2017-06-21 17:19:08 -07:00
Michael Schurter 7fd41b778d Add script to demo weave in vagrant 2017-06-21 17:19:08 -07:00
Michael Schurter 9da78ae25f Remove debug logging 2017-06-21 17:19:08 -07:00
Michael Schurter 8d677bc6b9 Fix lxc tests 2017-06-21 17:19:08 -07:00
Michael Schurter 8d440b1675 Skip DRIVER env vars for labels without a port mapping 2017-06-21 17:19:08 -07:00
Michael Schurter 817554eb9d Document address_mode 2017-06-21 17:19:08 -07:00
Michael Schurter f85f43bdfb Consolidate envvars in a partial template 2017-06-21 17:19:08 -07:00
Michael Schurter c0eff81383 Fix Service.AddressMode changes during task updates 2017-06-21 17:19:08 -07:00
Michael Schurter 67d154a274 Test driver network advertisement and checks 2017-06-21 17:19:08 -07:00
Michael Schurter b9bfb84b53 Implement DriverNetwork and Service.AddressMode
Ideally DriverNetwork would be fully populated in Driver.Prestart, but
Docker doesn't assign the container's IP until you start the container.

However, it's important to setup the port env vars before calling
Driver.Start, so Prestart should populate that.
2017-06-21 17:19:08 -07:00
Michael Schurter 9993616e4f Merge pull request #2724 from hashicorp/b-2701-fix-server-check
Fix path used by Nomad Server HTTP Check
2017-06-21 13:09:48 -07:00
Michael Schurter 9185b21e99 docker should already be installed by services
This package no longer exists so trying to install it broke our build.
It has been renamed docker-ce.
2017-06-21 10:51:56 -07:00
Michael Schurter 95a00cbef1 Fix path used by Nomad Server HTTP Check
Fixes #2701
2017-06-21 10:41:28 -07:00
Alex Dadgar efebc29688 Merge pull request #2716 from hynek/master
Explain term signal behavior for Docker tasks
2017-06-20 12:36:42 -07:00
Hynek Schlawack dc8d7ad23d STOPSIGNAL 2017-06-17 10:17:48 +02:00
Michael Schurter 9f0918a767 Merge pull request #2717 from hashicorp/paddy_typo
Fix typo in job-dispatch docs.
2017-06-16 16:05:40 -07:00
Paddy 13bddfaa84 Fix typo in job-dispatch docs.
canidate -> candidate.
2017-06-16 16:04:12 -07:00
Rob Genova 0de149d900 tweak top level README 2017-06-16 14:46:51 -07:00
Michael Schurter 6d2d011809 Merge pull request #2714 from hynek/patch-2
Fix typos
2017-06-16 09:48:51 -07:00
Michael Schurter 86be49f8d7 Merge pull request #2713 from hynek/patch-1
Fix documentation of -tail/-f
2017-06-16 09:46:23 -07:00
Hynek Schlawack f002ba29d1 Explain term signal behavior for Docker tasks 2017-06-16 17:24:54 +02:00
Hynek Schlawack 59ab34c264 Fix typos 2017-06-16 16:10:12 +02:00
Hynek Schlawack e3d5c69e0b Fix documentation of -tail/-f
Previously, -tail is erroneously documented as -f and -f and -n are not documented at all. 

This patch fixes both.
2017-06-16 15:50:40 +02:00
Rob Genova b234a4e3d8 update READMEs 2017-06-15 15:49:02 -07:00
Rob Genova 2a55f9ce2b use appropriate AMI name 2017-06-15 15:48:18 -07:00
Rob Genova fe5797bfaa install latest versions of products 2017-06-15 15:47:46 -07:00
Rob Genova 7ef28b1604 Fix minor syntax issue 2017-06-15 15:46:53 -07:00
Michael Schurter b69e060071 Log PID when sending signals 2017-06-12 11:11:36 -07:00
Alex Dadgar 7330f0dd8a Merge pull request #2693 from katiebayes/master
update middleman version 25 to 26
2017-06-12 09:15:58 +01:00
Michael Schurter ffb417a300 Merge pull request #2697 from hashicorp/b-port-map
Fix port map interpolation for docker
2017-06-09 13:29:36 -07:00
Michael Schurter d6e03b4ef4 Merge pull request #2702 from hashicorp/add-no-overlay-option
Add no overlay option
2017-06-09 12:33:46 -07:00
Michael Schurter a3827d2cc6 Fix bad merge conflict resolution 2017-06-09 10:40:47 -07:00
Michael Schurter eabd6759c6 Merge branch 'master' into add-no-overlay-option 2017-06-09 09:59:35 -07:00
Katie Bayes 129e05b77b fix middleman update to version 26 2017-06-09 08:55:05 -04:00