Commit Graph

8119 Commits

Author SHA1 Message Date
Jan De Cooman
b4ec045e9a added dnsoptions to the docker driver 2017-08-09 13:30:06 +02:00
Alex Dadgar
02808f9568 Merge branch 'master' of github.com:hashicorp/nomad 2017-08-08 11:09:37 -07:00
Alex Dadgar
2d3dd7f7cd Fix broken Template Diff Test 2017-08-08 11:09:27 -07:00
Rob Genova
35430492b0 Merge pull request #2986 from hashicorp/f-terraform-fixes
Terraform: enable Consul UI and bind Nomad to all interfaces
2017-08-08 11:09:25 -07:00
Alex Dadgar
56b4dc97b8 changelog 2017-08-08 11:05:31 -07:00
Alex Dadgar
2a1b8865f3 Merge pull request #2988 from jvoorhis/redact-vault-token
Redact Vault.Token from AgentSelf response.
2017-08-08 11:04:48 -07:00
Jeremy Voorhis
f7041f5710 Handle nil values when redacting vault token. 2017-08-08 10:54:11 -07:00
Alex Dadgar
b14cc6243f Merge pull request #2980 from hashicorp/b-doc-missing-node-allocations
Re-added Allocations documentation
2017-08-08 10:23:02 -07:00
Alex Dadgar
71838d6a80 Merge pull request #2979 from lfarnell/cleanup
Code cleanup
2017-08-08 10:21:15 -07:00
Alex Dadgar
efa71a472b Merge pull request #2989 from jrasell/patch-1
Update job.html read most recent deployment sample
2017-08-08 10:10:34 -07:00
James Rasell
a2cd9ad079 Update job.html read most recent deployment sample
The sample request incorrectly used `https://nomad.rocks/v1/job/my-job/deployments` which listed all deployments for the specified job. The sample request has therefore been updated to use the correct endpoint which returns only the jobs most recent deployment.
2017-08-08 10:47:24 +01:00
Jeremy Voorhis
5fa51080a7 Redact Vault.Token from AgentSelf response.
If Config.Vault.Token is defined, /v1/agent/self will return the string
`<redacted>`. If the token is not set, This endpoint will continue to
return the empty string.
2017-08-07 21:34:43 -07:00
Rob Genova
ab87f9506a update AMI ID; remove unnecessary output 2017-08-08 00:41:17 +00:00
Michael Schurter
d1aa60bdf4 Merge pull request #2983 from hashicorp/b-update-raft-atomics2
Update raft to fix atomics alingment on 32bit
2017-08-07 16:40:54 -07:00
Alex Dadgar
b258b91379 changelog 2017-08-07 16:31:18 -07:00
Alex Dadgar
798b779609 Merge pull request #2947 from hashicorp/f-vault-grace
Allow template to set Vault grace
2017-08-07 16:29:53 -07:00
Alex Dadgar
18e3bd9c2e Rename runnerConfig 2017-08-07 16:29:42 -07:00
Michael Schurter
3491d8a370 Update raft to fix atomics alingment on 32bit
Related to #2963

Also pulls in some state file syncing improvements
2017-08-07 16:07:35 -07:00
Charlie Voiselle
f4bcde52e2 Added code block styling 2017-08-07 17:34:18 -04:00
Charlie Voiselle
7ba5436f66 Re-added Allocations documentation
In a content reorganization, the allocations endpoint documentation was removed.  This just brings it back in and updates the output to match v0.6.0 output
2017-08-07 17:28:06 -04:00
Luke Farnell
7a56971508 fixed all spelling mistakes for goreport 2017-08-07 17:13:05 -04:00
Chelsea Komlo
a768eca445 Merge pull request #2964 from hashicorp/f-autocomplete-api
autocomplete api
2017-08-07 12:40:09 -07:00
Chelsea Holland Komlo
440fea755a update changelog 2017-08-07 19:25:55 +00:00
Michael Schurter
260794844f Merge pull request #2965 from hashicorp/b-2963-fix-arm-atomics
Use int32 for atomic ops to avoid alignment issues
2017-08-07 11:33:41 -07:00
Alex Dadgar
fcbef2b842 Changelog 2017-08-07 11:22:20 -07:00
Alex Dadgar
d23b925e61 Merge pull request #2959 from hashicorp/b-periodic-dispatcher
Fix restoration of parameterized, periodic jobs
2017-08-07 11:20:53 -07:00
Alex Dadgar
a08c5df2a3 Merge pull request #2956 from hashicorp/f-dev
Add `dev/` for configs for use by Nomad developers
2017-08-07 11:20:02 -07:00
Alex Dadgar
4663ebeafc Resolve comments 2017-08-07 11:19:46 -07:00
Alex Dadgar
078bdb0892 Merge pull request #2974 from nak3/fix-monitoring-docs
docs: fix tiny errors in monitoring spark app
2017-08-07 11:15:02 -07:00
Alex Dadgar
9ab6402eab Merge pull request #2975 from nak3/fix-link-hdfs
docs: fix invalid links for hdfs examples
2017-08-07 11:14:29 -07:00
Chelsea Holland Komlo
a1b59254fd code simplifications and logging 2017-08-07 17:28:46 +00:00
Alex Dadgar
46c4ac321f Update requirements.html.md
Fixes https://github.com/hashicorp/nomad/issues/2976
2017-08-07 09:58:02 -07:00
Chelsea Holland Komlo
e5e4fc4ad5 max index for any resource, if context is unspecified 2017-08-07 15:07:18 +00:00
Chelsea Holland Komlo
753b15727b syntax fixups and logging 2017-08-07 14:26:53 +00:00
Kenjiro Nakayama
d235472c31 docs: fix invalid link for hdfs examples 2017-08-06 14:24:51 +09:00
Kenjiro Nakayama
c164ac65fe docs: fix tiny errors in monitoring spark app 2017-08-06 14:22:56 +09:00
Alex Dadgar
386bf25e93 changelog 2017-08-04 17:00:11 -07:00
Alex Dadgar
4317492cb4 Merge pull request #2972 from hashicorp/d-doc-fixes
Small improvements to docs
2017-08-04 16:59:47 -07:00
Alex Dadgar
4428d8b885 Merge pull request #2961 from hashicorp/b-deployment-ttl
Lost allocs replaced even if deployment failed
2017-08-04 16:58:18 -07:00
Alex Dadgar
68778accb2 Small improvements to docs
This PR fixes an incorrect placement of the update stanza in the task
and also links from the env stanza into an example of using the template
block to generate dynamic environment variables.
2017-08-04 16:14:41 -07:00
Chelsea Holland Komlo
b2df34cf18 further refactoring 2017-08-04 22:50:41 +00:00
Michael Schurter
8b46d4089e Merge pull request #2968 from hashicorp/d-task-ports
Document <task> network env vars
2017-08-04 13:42:29 -07:00
Chelsea Holland Komlo
74f35dd1af if no context is specified, set maximum index for available contexts 2017-08-04 20:16:49 +00:00
Michael Schurter
29951abbd1 Document <task> network env vars
Looks like I accidently dropped them when combining env var listings in
PR #2709
2017-08-04 13:05:05 -07:00
Chelsea Holland Komlo
971183d6ec fix up tests to intantiate assertion test helper
add http tests for remaining contexts
2017-08-04 19:48:20 +00:00
Michael Schurter
dd6a2ec1a8 Merge pull request #2966 from sprutner/patch-3
Update revert.html.md.erb
2017-08-04 11:15:50 -07:00
Seth Rutner
2108e2a391 Update revert.html.md.erb
wrong command
2017-08-04 11:06:04 -07:00
Rob Genova
44b6f25380 bind Nomad to all interfaces; enable Consul UI 2017-08-04 18:00:05 +00:00
Michael Schurter
c075349a33 Use int32 for atomic ops to avoid alignment issues
From https://golang.org/pkg/sync/atomic/#pkg-note-BUG :

On both ARM and x86-32, it is the caller's responsibility to arrange for
64-bit alignment of 64-bit words accessed atomically. The first word in
a global variable or in an allocated struct or slice can be relied upon
to be 64-bit aligned.
2017-08-04 10:14:16 -07:00
Chelsea Holland Komlo
96a1723479 further refactoring 2017-08-04 15:19:35 +00:00