Alex Dadgar
3b323603b5
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
df9ce2680b
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
135340fef2
Version bump
2017-03-21 09:12:49 -07:00
Michael Schurter
30b574641f
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
c9641dbc67
Mention 0.5.5 tool incompat with 0.5.4 agents
2017-03-20 16:20:43 -07:00
Alex Dadgar
a171a014b3
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
128feb8e14
Merge pull request #2459 from sprutner/patch-1
...
Update index.html.md
2017-03-20 13:50:43 -07:00
sprutner
6b06939f6a
Update index.html.md
...
grammar
2017-03-20 13:48:04 -07:00
Alex Dadgar
d99849dc26
Merge pull request #2456 from vlm/master
...
ensuring bin directory exists before copying
2017-03-19 22:39:36 -07:00
Lev Walkin
4bb5b74489
ensuring bin directory exists before copying
2017-03-17 17:23:15 -07:00
Alex Dadgar
135fdb0e7b
changelog
2017-03-17 11:27:10 -07:00
Michael Schurter
9235e8eabb
Merge pull request #2455 from hashicorp/doc-load-upgrade
...
Mention #2361 in upgrade notes.
2017-03-17 10:52:44 -07:00
Michael Schurter
a22bf82596
Mention #2361 in upgrade notes.
2017-03-17 09:52:18 -07:00
Alex Dadgar
855c306ded
Merge pull request #2442 from jen20/deps-test-vault
...
build: Add Vault as an external test dependency
2017-03-16 15:10:05 -07:00
Alex Dadgar
20bbe30051
Merge pull request #2452 from jen20/deps-update-gopsutil
...
deps: Update github.com/shirou/gopsutil/...
2017-03-16 15:09:22 -07:00
Michael Schurter
ba674adc38
Merge pull request #2454 from hashicorp/b-fix-gc-test
...
Fix test deadlock due to alloc runner not running
2017-03-16 14:34:04 -07:00
Michael Schurter
39a8ce6cdb
Fix test deadlock due to alloc runner not running
...
Don't actualy call AllocRunner.Run() because that executes so much
unneeded code for this test. Manually close the waitCh to simulate Run()
exiting.
2017-03-16 13:22:08 -07:00
James Nugent
9514c324f8
deps: Update github.com/shirou/gopsutil/...
...
This adds support for Illumos for memory and host information, which
allows the fingerprinting tests to pass. It also contains fixes for
FreeBSD.
2017-03-15 18:18:39 -05:00
Sean Chittenden
33019eca7c
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
9bfeac3c1d
Update the vault config on website
2017-03-15 16:08:15 -07:00
Seth Vargo
9c47d07c3e
Merge pull request #2450 from hashicorp/sethvargo/sizing
...
Broken things fixed
2017-03-15 15:13:08 -07:00
Seth Vargo
9975e0f25a
Update container
2017-03-15 14:39:35 -07:00
Seth Vargo
ca0feb3a8c
Fix monospace font size
2017-03-15 14:17:02 -07:00
Alex Dadgar
07b33eeb9d
Merge branch 'master' of github.com:hashicorp/nomad
2017-03-15 11:30:28 -07:00
Alex Dadgar
23c4030fc4
Fix some website stuff
2017-03-15 11:29:36 -07:00
Seth Vargo
a9663cc5f6
Add header links
2017-03-14 18:56:42 -07:00
Michael Schurter
9f8067e340
Fix test by adding new env vars
2017-03-14 17:15:12 -07:00
Alex Dadgar
d220d9405b
return the recoverable err
2017-03-14 16:33:36 -07:00
Alex Dadgar
abce18749d
Fix tests that exec nomad
2017-03-14 16:04:33 -07:00
Alex Dadgar
b474c0d2a3
Release v0.5.5
2017-03-14 14:57:30 -07:00
Alex Dadgar
c1fd58d11e
Bump version
2017-03-14 14:51:11 -07:00
Alex Dadgar
40d0f3ce7d
Flush logs on err
2017-03-14 14:48:39 -07:00
Alex Dadgar
177bd14718
rename cpu_total_compute and docs
2017-03-14 14:15:49 -07:00
Alex Dadgar
1afba8d6e2
changelog
2017-03-14 13:59:02 -07:00
Alex Dadgar
4e4666f15d
Merge pull request #2447 from hashicorp/f-arm-misc
...
F arm misc
2017-03-14 13:58:03 -07:00
Alex Dadgar
5f7bf577cd
Docker doesn't need to init the stats helper
2017-03-14 13:41:57 -07:00
Alex Dadgar
a1a7941dec
Various fixes
...
This PR:
* Uses Go 1.8 executable lookup
* Stores any err message from stats init method
* Allows overriding of Cpu Compute for hosts where it can't be detected
2017-03-14 12:56:31 -07:00
Michael Schurter
06a4d3c6cd
Fix overriding build targets
2017-03-14 10:47:29 -07:00
Alex Dadgar
55f9d1ee84
changelog
2017-03-14 10:46:20 -07:00
Alex Dadgar
2a105c4eaa
Merge pull request #2427 from hashicorp/f-gc-limit
...
Limit parallelism during garbage collection
2017-03-14 10:45:29 -07:00
Alex Dadgar
7700a3447e
Review fixes
2017-03-14 10:45:15 -07:00
Michael Schurter
047b41f469
Merge pull request #2408 from hashicorp/b-2358-rkt-volume-name
...
Replace `_` with `-` in task names for rkt volumes
2017-03-14 10:10:00 -07:00
Alex Dadgar
a41175eb54
Merge pull request #2434 from hashicorp/f-skip-inplace-terminal-batch
...
Skip inplace update on terminal batch allocation
2017-03-14 10:06:58 -07:00
Michael Schurter
4a29ec3876
Merge pull request #2446 from jippi/patch-2
...
Fix #2445
2017-03-14 09:15:30 -07:00
Christian Winther
b12323f08c
Fix #2445
...
Close #2445 - typo in docs
2017-03-14 10:12:48 +01:00
Michael Schurter
7301efbfa1
Windows wasn't fixed -- see #2343 for updates
2017-03-13 18:22:05 -07:00
Michael Schurter
9d2fab552d
Merge pull request #2417 from hashicorp/b-fix-build-scripts
...
[needs testing] make bin creates a release binary for the host arch
2017-03-13 17:00:54 -07:00
James Nugent
a2b9901727
build: Add Vault as an external test dependency
...
Vault is required for the fingerprinting tests but is not currently
installed by the build process. This commit adds a new category of
external tools for test dependencies and `go get`'s them during the
bootstrap.
We also fix the syntax of the Makefile to use tabs throughout.
2017-03-13 17:14:48 -05:00
Alex Dadgar
493de9120a
Merge pull request #2439 from jen20/dep-update-gopsutil
...
deps: Update github.com/shirou/gopsutil
2017-03-13 13:36:26 -07:00
Michael Schurter
85d109f07f
Merge pull request #2412 from barnardb/agent-self
...
Return AgentSelf struct from Agent.Self() instead of map
2017-03-13 13:29:15 -07:00