Commit Graph

7003 Commits

Author SHA1 Message Date
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
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 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
Alex Dadgar 1402e32c0a document attr.unique.network.ip-address in common list 2017-03-27 10:45:16 -07:00
Alex Dadgar 787be30f13 Fix periodic job state
This PR fixes an issue in which a periodic job would incorrectly
transistion to status dead.

Fixes https://github.com/hashicorp/nomad/issues/2268
2017-03-27 10:35:36 -07:00
Alex Dadgar a4ef87c6e5 bump vault 2017-03-27 10:10:42 -07:00
Alex Sonneveld 1e7a230d25 Remove localhost URL in `nomad plan` command link
Remove the reference to `http://localhost:4567` within the Rolling Update
strategy documentation and fix the link to the `nomad plan` command
documentation.
2017-03-27 12:00:38 +11:00
Alex Dadgar c2b718108a Merge pull request #2477 from fiddyspence/bug_wrongshell_variable
Wrong shell variable used when changing directory
2017-03-26 14:08:34 -07:00
Alex Dadgar 4ecebe7d8c Proper reference counting through task restarts
This PR fixes an issue in which the reference count on a Docker image
would become inflated through task restarts.
2017-03-25 17:05:53 -07:00
Michael Schurter 05d42c73a8 Remove incorrect list of supported protocols
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Michael Schurter 0e6c564406 Improve artifact download error message
Fixes #2289

Unfortunately took more RecoverableError hijinx than I would have liked.
There might be a better way.
2017-03-24 15:26:05 -07:00
Alex Dadgar e774059725 Merge branch 'master' of github.com:hashicorp/nomad 2017-03-24 12:25:42 -07:00
Alex Dadgar bbdef03e43 Changelog 2017-03-24 12:25:34 -07:00
Alex Dadgar 73371f62dc Merge pull request #2480 from hashicorp/b-restart-panic
Fix panic when restarting non-running task
2017-03-24 12:25:00 -07:00
Alex Dadgar 7e6c08191d Fix vet 2017-03-24 12:24:47 -07:00