Commit graph

7065 commits

Author SHA1 Message Date
Alex Dadgar 54a4d01bf6 Fix error checking 2017-03-29 13:59:43 -07:00
Alex Dadgar 6bee23047a Fix variable capture and add tests
This PR fixes token revocation and adds tests to make sure it is
working. The 0.5.6 RC1's token revocation does not work becasue the
token's value is captured at the instantiation of the deferred
stoprenewal statement rather than its exectution.
2017-03-29 13:17:50 -07:00
Cameron Stokes 02f8bc8080 Grammar fix. 2017-03-29 11:49:09 -07:00
Michael Schurter 2717be8feb Merge pull request #2498 from neumayer/fixtypo
Fix typo and be consistent in naming
2017-03-29 09:12:38 -07:00
Robert Neumayer 804f83f1fb Fix typo and be consistent in naming 2017-03-29 09:33:54 +02:00
Alex Dadgar cfc001625f
Release v0.5.6-rc1 2017-03-28 14:18:23 -07:00
Alex Dadgar 81a63aaf76 bump version 2017-03-28 13:32:52 -07:00
Alex Dadgar 51cb550c74 Merge pull request #2497 from hashicorp/v-vendor
Vendor consul & consul-template
2017-03-28 13:16:13 -07:00
Michael Schurter dd37cb23be Mention #2289 ##2482 in changelog 2017-03-28 12:49:31 -07:00
Michael Schurter ae3810052d Merge pull request #2482 from hashicorp/f-2289-better-artifact-err
Improve artifact download error message
2017-03-28 12:48:22 -07:00
Alex Dadgar c6dd744cfd add missing 2017-03-28 12:41:38 -07:00
Michael Schurter 33ed383911 Merge pull request #2494 from hashicorp/b-2491-task-env
Don't take a reference a var in a loop
2017-03-28 12:26:41 -07:00
Michael Schurter 2d07b75308 Recoverable struct field must be exported 2017-03-28 12:18:57 -07:00
Alex Dadgar 2e297a5191 Vendor consul 2017-03-28 12:00:27 -07:00
Alex Dadgar 4f5563c169 Consul-template 2017-03-28 11:51:15 -07:00
Alex Dadgar 0e0ab0fb25 Merge pull request #2496 from vrenjith/patch-1
disk is not a supported entry at task level
2017-03-28 11:38:47 -07:00
vrenjith b78474b7a1 Update task.html.md 2017-03-29 00:06:47 +05:30
vrenjith d494897000 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
Michael Schurter 1653b42400 Merge branch 'master' into b-2491-task-env 2017-03-28 11:28:00 -07:00
Alex Dadgar 3ca5b1d7ec changelog and version 2017-03-28 11:22:00 -07:00
Alex Dadgar 1e95ae7e6a Merge pull request #2495 from hashicorp/b-vault-stop-renew
Stop Vault token renew on task exit
2017-03-28 11:14:18 -07:00
Alex Dadgar 7bcf40bf65 Merge pull request #2489 from hashicorp/b-immediate-periodic
Fix dispatch of periodic job
2017-03-28 11:13:50 -07:00
Alex Dadgar 5e7e19de4b Merge pull request #2461 from hashicorp/b-groups
Various fixes for setting user/group of task
2017-03-28 11:13:27 -07:00
Alex Dadgar 3b493b29b0 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 5b36a90723 feedback 2017-03-28 11:10:11 -07:00
Alex Dadgar 050a7bbcc7 Merge pull request #2486 from hashicorp/b-periodic-state
Fix periodic job state
2017-03-28 11:09:24 -07:00
Alex Dadgar f6ea92a40b Merge pull request #2484 from hashicorp/b-reference-restarts
Proper reference counting through task restarts
2017-03-28 11:03:38 -07:00
Michael Schurter d58bcde183 Make test more accurate and add changelog entry 2017-03-28 10:53:26 -07:00
Alex Dadgar d1645f47b1 Stop Vault token renew on task exit
This PR fixes an oversight in which the client would attempt to renew a
token even after the task exits.

Fixes https://github.com/hashicorp/nomad/issues/2475
2017-03-28 10:53:15 -07:00
Michael Schurter 9a0c66b55b Don't take a reference a var in a loop
Fixes #2491
2017-03-28 10:16:27 -07:00
Seth Vargo 5358040a70
Update downloads page 2017-03-28 13:15:01 -04:00
Michael Schurter cca840e4a7 Add #2290 #2490 to changelog 2017-03-28 09:48:44 -07:00
Alex Dadgar 55046ffa02 remote cli 2017-03-28 09:47:57 -07:00
Alex Dadgar 6488b4f5fd Merge pull request #2492 from burdiyan/patch-1
Mention Nomad CLI remote usage
2017-03-28 09:41:29 -07:00
Michael Schurter f2288b022d Merge pull request #2490 from hashicorp/b-fix-api-tls
Fix TLS use in AllocFS API and region/dc detection
2017-03-28 09:40:22 -07:00
Seth Vargo 158d9e52bb
Remove old variables 2017-03-28 10:52:36 -04:00
Alexandr Burdiyan 90af58f392 Mention Nomad CLI remote usage
Added information about `NOMAD_ADDR` environment variable for Nomad CLI remote usage.
2017-03-28 12:08:35 +02:00
Michael Schurter 9a94b94bc8 Remove overly clever code 2017-03-27 20:54:43 -07:00
Seth Vargo 3d0a3806c7
Update styles 2017-03-27 23:37:59 -04:00
Michael Schurter 8310032c5c Fix TLS use in AllocFS API and region/dc detection 2017-03-27 17:38:16 -07:00
Alex Dadgar 103e8d21fb Fix dispatch of periodic job
This PR fixes an issue in which when a periodic and parameterized job
was dispatched, an allocation would be immediately created.

Fixes https://github.com/hashicorp/nomad/issues/2470
2017-03-27 16:55:17 -07:00
Michael Schurter 41dcc72033 Recoverable is a method now, not a field 2017-03-27 15:41:35 -07:00
Michael Schurter 507862ade3 Add WrapRecoverable helper 2017-03-27 15:37:15 -07:00
Alex Dadgar 23562d77c9 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 8af76ef796 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 68650f78b9 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-27 11:44:58 -07:00
Alex Dadgar 7d74fb60ea Fix update docs 2017-03-27 11:44:46 -07:00
Alex Dadgar b364c2f1e6 Merge pull request #2471 from lnguyen/git_docs
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar 830d025755 Merge pull request #2485 from Sonna/patch-1
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar c9731671ad more verbose documentation on role based vault integration 2017-03-27 11:26:18 -07:00