Alex Dadgar
d698288f3a
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
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
d1562194a9
feedback
2017-03-28 11:10:11 -07:00
Alex Dadgar
b7cf08b297
Merge pull request #2486 from hashicorp/b-periodic-state
...
Fix periodic job state
2017-03-28 11:09:24 -07:00
Alex Dadgar
1f41efc9ab
Merge pull request #2484 from hashicorp/b-reference-restarts
...
Proper reference counting through task restarts
2017-03-28 11:03:38 -07:00
Seth Vargo
53766df20e
Update downloads page
2017-03-28 13:15:01 -04:00
Michael Schurter
8d5f2bb7da
Add #2290 #2490 to changelog
2017-03-28 09:48:44 -07:00
Alex Dadgar
6d2e380e27
remote cli
2017-03-28 09:47:57 -07:00
Alex Dadgar
74e91f007b
Merge pull request #2492 from burdiyan/patch-1
...
Mention Nomad CLI remote usage
2017-03-28 09:41:29 -07:00
Michael Schurter
fe98392dfc
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
5903612a84
Remove old variables
2017-03-28 10:52:36 -04:00
Alexandr Burdiyan
52dcd6d979
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
26e6073760
Remove overly clever code
2017-03-27 20:54:43 -07:00
Seth Vargo
4d85d967b1
Update styles
2017-03-27 23:37:59 -04:00
Michael Schurter
73da65d566
Fix TLS use in AllocFS API and region/dc detection
2017-03-27 17:38:16 -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
Alex Dadgar
7b9bf4ff0c
Merge pull request #2471 from lnguyen/git_docs
...
added git docs to artifacts
2017-03-27 11:37:35 -07:00
Alex Dadgar
97d243b55e
Merge pull request #2485 from Sonna/patch-1
...
Fix typo in documentation link
2017-03-27 11:30:26 -07:00
Alex Dadgar
06b03056c2
more verbose documentation on role based vault integration
2017-03-27 11:26:18 -07:00
Alex Dadgar
cc7cdc1131
document attr.unique.network.ip-address in common list
2017-03-27 10:45:16 -07:00
Alex Dadgar
231c0b9fda
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
2620a3bd63
bump vault
2017-03-27 10:10:42 -07:00
Alex Sonneveld
d586db3b64
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
99acbeb859
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
564367fa71
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
33fd492391
Remove incorrect list of supported protocols
...
The correct list is like 5 lines up
2017-03-24 15:37:17 -07:00
Alex Dadgar
2135315f95
Merge branch 'master' of github.com:hashicorp/nomad
2017-03-24 12:25:42 -07:00
Alex Dadgar
9190866c8d
Changelog
2017-03-24 12:25:34 -07:00
Alex Dadgar
68b9735fa7
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
0021961361
Fix vet
2017-03-24 12:24:47 -07:00
Alex Dadgar
9cf4bcab71
Fix panic when restarting non-running task
...
This PR fixes an issue that is hit when running templates with restart
mode in which the client could panic when the handle is not running.
Fixes https://github.com/hashicorp/nomad/issues/2479
2017-03-24 12:04:22 -07:00
Chris Spence
922724d379
Wrong shell variable used when changing directory
2017-03-24 15:27:32 +00:00
Long Nguyen
2f9751525a
added git docs to artifacts
2017-03-22 16:50:45 -04:00
Michael Schurter
e2968ee53b
Merge pull request #2468 from moritzheiber/master
...
Updated logo in README.md
2017-03-22 09:47:33 -07:00
Moritz Heiber
db03d98e8c
Updated logo in README.md
...
The logo file has been moved with [d96407769a ](d96407769a ) by @sethvargo. Hence the logo reference in the README.md is broken. This PR fixes that.
2017-03-22 17:41:41 +01:00
Alex Dadgar
84789d4d07
Changelog
2017-03-21 12:54:14 -07:00
Alex Dadgar
2e472f636a
Merge pull request #2465 from hashicorp/b-plan-diff
...
Fix diff alignment and remove no change DC
2017-03-21 12:53:18 -07:00
Alex Dadgar
c4435ee768
Fix diff alignment and remove no change DC
...
Old Output:
```
+/- Job: "example"
Datacenters {
Datacenters: "dc1"
}
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
New Output:
```
+/- Job: "example"
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
2017-03-21 11:42:10 -07:00
Alex Dadgar
456da65303
Fix output alignment and remove no-change DC
...
Old Output:
```
+/- Job: "example"
Datacenters {
Datacenters: "dc1"
}
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
New Output:
```
+/- Job: "example"
+/- Task Group: "cache" (1 create/destroy update)
+/- RestartPolicy {
+/- Attempts: "10" => "9"
Delay: "25000000000"
Interval: "300000000000"
Mode: "delay"
}
+/- EphemeralDisk {
Migrate: "false"
+/- SizeMB: "300" => "301"
Sticky: "false"
}
+/- Task: "redis" (forces create/destroy update)
+ Meta[key]: "value"
+/- Config {
image: "redis:3.2"
+/- port_map[0][db]: "6379" => "6380"
}
+/- Resources {
CPU: "500"
DiskMB: "0"
IOPS: "0"
+/- MemoryMB: "256" => "257"
}
+/- Service {
Name: "global-redis-check"
PortLabel: "db"
+/- Check {
Command: ""
InitialStatus: ""
Interval: "10000000000"
Name: "alive"
Path: ""
PortLabel: ""
Protocol: ""
+/- Timeout: "2000000000" => "3000000000"
Type: "tcp"
}
}
```
2017-03-21 11:31:06 -07:00
Alex Dadgar
4cac484ccf
Version bump
2017-03-21 09:12:49 -07:00
Michael Schurter
a29de1a1fb
Merge pull request #2462 from hashicorp/docs-0.5.5-upgrade
...
Mention 0.5.5 tool incompat with 0.5.4 agents
2017-03-20 16:55:25 -07:00
Michael Schurter
7630c3d793
Mention 0.5.5 tool incompat with 0.5.4 agents
2017-03-20 16:20:43 -07:00
Alex Dadgar
67c07c9932
Various fixes for setting user/group of task
...
This PR fixes two issues:
* Folder permissions in -dev mode were incorrect and not suitable for
running as a particular user.
* Was not setting the group membership properly for the launched
process.
Fixes https://github.com/hashicorp/nomad/issues/2160
2017-03-20 14:21:13 -07:00
Michael Schurter
7d97b8e0a9
Merge pull request #2459 from sprutner/patch-1
...
Update index.html.md
2017-03-20 13:50:43 -07:00
sprutner
8906a2bbc3
Update index.html.md
...
grammar
2017-03-20 13:48:04 -07:00
Alex Dadgar
7bea40a900
Merge pull request #2456 from vlm/master
...
ensuring bin directory exists before copying
2017-03-19 22:39:36 -07:00
Lev Walkin
fda40fada4
ensuring bin directory exists before copying
2017-03-17 17:23:15 -07:00