Commit Graph

104 Commits

Author SHA1 Message Date
Seth Vargo
4d144e404f Cleanup links to limit redirects 2017-05-30 20:25:11 -04:00
Michael Schurter
aac319cd16 Merge pull request #2654 from hashicorp/f-env-consul
Add envconsul-like support and refactor environment handling
2017-05-30 14:40:14 -07:00
Alex Dadgar
65465e9ac6 Update artifact.html.md 2017-05-30 09:47:17 -07:00
Christian Winther
5bbe5f14fe correct arifact docs
It's not clear today that `destination`  *always* is a directory, and never a destination file

I've been bitten by this multiple times, as the docs today seem like it's possible to download remote file `x` and put it in dir `y` *and* rename the file to `z`
2017-05-30 12:37:52 +02:00
Michael Schurter
43cc0a08a9 Minor wording updates 2017-05-24 13:55:21 -07:00
Alex Dadgar
28b256f6d8 Update template.html.md 2017-05-24 09:54:22 -07:00
Michael Schurter
826aec455f Document env templates 2017-05-23 17:25:21 -07:00
Alex Dadgar
45c9e4b8cb Merge pull request #2646 from derzufall/patch-1
Docu was misleading
2017-05-16 12:35:08 -04:00
Jeff Fraser
134a80cab4 Small typo fix in vault stanza 2017-05-16 11:46:59 -04:00
Ni Br
da97094816 Docu was misleading
The actual parameter for go-getter is 'sshkey' and not 'sshkeys'. The current docu is wrong here... corrected this. kkthxbai
2017-05-16 17:01:10 +02:00
Alex Dadgar
9a4f8a6de6 better change_mode explanation for templates 2017-05-03 12:40:27 -07:00
Alex Dadgar
93d7626ac5 fix old arch 2017-05-01 17:36:20 -07:00
Bill Anderson
81e74ada8c Update constraint.html.md
Fix Distinct Constraint header
2017-04-24 11:31:20 -04:00
Michael Schurter
a5dcf6bbd9 Document tls_skip_verify 2017-04-19 12:45:34 -07:00
Michael Schurter
10cb924b2c Refactor Consul Syncer into new ServiceClient
Fixes #2478 #2474 #1995 #2294

The new client only handles agent and task service advertisement. Server
discovery is mostly unchanged.

The Nomad client agent now handles all Consul operations instead of the
executor handling task related operations. When upgrading from an
earlier version of Nomad existing executors will be told to deregister
from Consul so that the Nomad agent can re-register the task's services
and checks.

Drivers - other than qemu - now support an Exec method for executing
abritrary commands in a task's environment. This is used to implement
script checks.

Interfaces are used extensively to avoid interacting with Consul in
tests that don't assert any Consul related behavior.
2017-04-19 12:42:47 -07:00
Alex Dadgar
c005d29fc1 Make logging clearer 2017-04-11 12:34:09 -07:00
Mitchell Hashimoto
aa6d74f26f Update dispatch_payload.html.md 2017-04-06 12:53:47 -07:00
vrenjith
57673dc62a Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith
90f8bae938 disk is not a supported entry at task level
Removed the reference to `disk` in the `resources` overview statement
2017-03-29 00:05:17 +05:30
Alex Dadgar
3750f97ac6 Merge pull request #2488 from hashicorp/f-node-values-template
Access Node Meta and Attrs in template
2017-03-28 11:10:29 -07:00
Alex Dadgar
63978511be Access Node Meta and Attrs in template
This PR allows accessing the Node's attributes and metadata as in a
template.

```
template {
    data = "{{ env \"attr.unique.network.ip-address\" }}"
    destination = "local/out"
}
```
2017-03-27 15:15:33 -07:00
Michael Schurter
d126741ebd Merge pull request #2483 from hashicorp/docs-artifact-source
Remove incorrect list of supported protocols
2017-03-27 15:12:56 -07:00
Alex Dadgar
dd2d419e34 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar
d8936bdafa Fix update docs 2017-03-27 11:44:46 -07:00
Michael Schurter
33fd492391 Remove incorrect list of supported protocols
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Long Nguyen
2f9751525a added git docs to artifacts 2017-03-22 16:50:45 -04:00
Sean Chittenden
74a7e42f62 Tweak docs to note that a port will wire up both a TCP and UDP port. 2017-03-15 16:10:01 -07:00
Alex Dadgar
6d74650c96 Fix some website stuff 2017-03-15 11:29:36 -07:00
Christian Winther
7aed171038 Fix #2445
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Alex Dadgar
8acc69ccb3 documentation 2017-03-11 16:18:01 -08:00
Sergey Mezentsev
bcc1783e92 Remove 'disk space' from docs 2017-03-04 22:54:49 +03:00
Alex Dadgar
8865bb8598 Fix mbits default on website 2017-03-01 16:36:59 -08:00
Alex Dadgar
2a683cddea Update go-getter and add support for git and hg
Fixes https://github.com/hashicorp/nomad/issues/2042
2017-03-01 14:46:04 -08:00
James Nugent
50c90dbbde docs: Add note about max_kill_timeout to tasks
This commit makes an explicit note in the documentation for the Nomad
task specification about capping of `max_kill_timeout` based on agent
configuration as well as task configuration.
2017-02-21 22:03:10 -06:00
Alex Dadgar
ee76b78922 rebase 2017-02-20 16:43:28 -08:00
Alex Dadgar
8d101c0d25 Allow specification of timezones 2017-02-15 14:37:06 -08:00
Alex Dadgar
b1f062f1b0 Documentation 2017-02-13 10:18:34 -08:00
Seth Vargo
0394abacc7 Fix comments on parameterized jobs 2017-02-06 13:59:07 -05:00
Alex Dadgar
be67eb3dcb Grammar fix 2017-02-02 11:28:04 -08:00
Alex Dadgar
9afa48310e Template destination file permissions.
This PR allows setting the file permissions of the rendered template.
2017-01-31 20:10:01 -08:00
Alex Dadgar
7e549679e9 Respond to comments 2017-01-26 11:34:44 -08:00
Alex Dadgar
7e6fcfc792 move file 2017-01-25 22:16:20 -08:00
Alex Dadgar
30abdb09cc JSON job 2017-01-25 22:15:00 -08:00
Alex Dadgar
f49912cbab alphabetical 2017-01-25 21:27:44 -08:00
Alex Dadgar
98c17e5195 Rename meta/parsing 2017-01-25 21:27:44 -08:00
Alex Dadgar
b456e7fff1 dispatch_payload 2017-01-25 21:27:44 -08:00
Alex Dadgar
78bfc6a4af Parameterized page 2017-01-25 21:27:44 -08:00
Alex Dadgar
60707215cf Update template json docs 2017-01-24 09:12:42 -08:00
Igor Yamolov
1e59510f47 Add template reference to task object documentation 2017-01-24 16:54:13 +03:00
Michael Schurter
8903dbecae Try to use more useful example env vars 2017-01-23 17:02:23 -08:00