Commit graph

7908 commits

Author SHA1 Message Date
Jonathan Ballet 3ffb39ea2b Upgrade go-sockaddr/template to latest version + upgrade CHANGELOG 2017-06-25 20:55:40 +02:00
Rob Genova fddf190f5f cleanup build/provision shell scripts 2017-06-25 11:54:56 -07:00
Rob Genova 7f1c84c59c slight tweak to Packer README 2017-06-25 11:54:29 -07:00
Rob Genova 7a938fde20 cleanup Vagrantfile, Terraform configs and Nomad job files 2017-06-25 11:10:14 -07:00
Rob Genova dbbaea9e09 reformat Packer README 2017-06-25 11:09:05 -07:00
Rob Genova 72f45ff634 README formatting 2017-06-25 10:45:30 -07:00
Rob Genova da8811a097 various script and config file tweaks 2017-06-25 10:09:54 -07:00
Rob Genova ebc20d47da update READMEs 2017-06-25 10:09:28 -07:00
Rob Genova e52ae12941 obscure KEY_NAME 2017-06-24 16:51:26 -07:00
Rob Genova 2edf307503 update READMEs 2017-06-24 16:50:11 -07:00
Rob Genova e509a5478b update top level README 2017-06-24 16:28:55 -07:00
Rob Genova 708dcd1cc7 add job files and Dockerfiles 2017-06-24 16:28:12 -07:00
Rob Genova 4752dcd117 refactor build and provisioning scripts to support DNS integration, HDFS 2017-06-24 16:25:46 -07:00
Rob Genova 1e6cb9042f refactor Terraform module, Packer config; bump tool version #s in Vagrantfile 2017-06-24 16:24:24 -07:00
Jeremy Voorhis cd2a9e7bea Remove an errant # from vault policy sample. 2017-06-23 21:15:25 -07:00
Michael Schurter 8fcf866a7d Fix some tests still expecting reverted behavior 2017-06-23 16:51:38 -07:00
Michael Schurter e81252ba45 Default no_host_uuid to true instead of false
The host UUID isn't unique in many virtualized cases and of dubious
value even when it is univerally unique. Default to a random UUID.
2017-06-23 16:23:01 -07:00
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