Michael Schurter
b064d3d367
Merge pull request #2899 from hashicorp/d-mention-env-in-init
...
Mention env templates in nomad init
2017-07-26 11:17:47 -07:00
Michael Schurter
99f9762787
Test for template envvar validation
2017-07-25 20:27:18 -07:00
Alex Dadgar
c0ce26366b
Merge pull request #2892 from hashicorp/f-parallel-nomad
...
Parallel Nomad pkg tests and more reliable test Vault
2017-07-25 17:43:00 -07:00
Alex Dadgar
9415ef5b47
Use LookupPath to add the exe extension
2017-07-25 17:42:36 -07:00
Alex Dadgar
8c9234e319
Make test Vault pick random ports
2017-07-25 17:40:59 -07:00
Alex Dadgar
bd5959a4bb
parallel nomad tests
2017-07-25 17:39:36 -07:00
Alex Dadgar
843b803b81
Merge pull request #2903 from hashicorp/d-cli
...
New commands docs and small CLI fixes
2017-07-25 17:37:24 -07:00
Alex Dadgar
c38c964d3b
Fix indentation
2017-07-25 17:37:09 -07:00
Michael Schurter
4901816810
Missing period
2017-07-25 17:37:09 -07:00
Alex Dadgar
487e1eafee
New commands docs and small fixes
...
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar
278195e6dc
validate
2017-07-25 17:37:09 -07:00
Alex Dadgar
92991771f2
inspect
2017-07-25 17:37:09 -07:00
Alex Dadgar
82e128f038
Fix eval-status bug
2017-07-25 17:37:09 -07:00
Alex Dadgar
fcc4655b6f
alloc-status
2017-07-25 17:37:09 -07:00
Alex Dadgar
f977c7e7f8
Status command
2017-07-25 17:34:43 -07:00
Alex Dadgar
c1e333074b
Merge pull request #2906 from hashicorp/f-custom-help
...
Use a custom help output function
2017-07-25 17:31:44 -07:00
Alex Dadgar
6986e54f92
Merge pull request #2907 from hashicorp/b-promote-err
...
Expose FSM errors into deployment watcher and API
2017-07-25 17:31:33 -07:00
Alex Dadgar
cf629764c6
Merge pull request #2908 from hashicorp/b-min-healthy-validation
...
Validate that min_healthy_time < healthy_deadline
2017-07-25 17:28:38 -07:00
Alex Dadgar
a6a0e7f7a1
Merge pull request #2911 from hashicorp/d-api
...
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Michael Schurter
abf3b992a1
Merge pull request #2910 from hashicorp/d-upgrading-0.6
...
Explain change in default advertise behavior
2017-07-25 17:20:39 -07:00
Alex Dadgar
58898e1426
Update API and JSON Job Documentation
...
This PR updates the api documentation to reflect 0.6 HTTP API and the
JSON job specification as well.
2017-07-25 17:18:15 -07:00
Michael Schurter
0e3e79b749
Explain change in default advertise behavior
2017-07-25 17:15:39 -07:00
Michael Schurter
93c2696df5
Merge pull request #2898 from hashicorp/d-config-tasks-env
...
Mention templates & env vars in configuring tasks
2017-07-25 16:54:55 -07:00
Michael Schurter
df6172a888
Mention node attrs
2017-07-25 16:53:10 -07:00
Michael Schurter
e76d1e56ec
Prevent using env templates with signals
2017-07-25 16:34:41 -07:00
Alex Dadgar
08b31d4545
Validate that min_healthy_time < healthy_deadline
...
This PR adds a validation check to the update stanza to ensure that the
min_healthy_time is feasible.
2017-07-25 16:30:53 -07:00
Michael Schurter
58d5cd140d
Mention restart
2017-07-25 16:26:42 -07:00
Alex Dadgar
d46f7da36c
Expose FSM errors into deployment watcher and API
...
This PR exposes errors returned by the FSM to the deployment watcher and
thus the API. It also adds an error to handle the case of promoting a
deployment that has no eligible canaries.
2017-07-25 16:23:22 -07:00
Michael Schurter
fe27034044
Merge pull request #2894 from hashicorp/b-2891-consul-shutdown-race
...
Synchronously deregister agent on shutdown
2017-07-25 16:22:46 -07:00
Michael Schurter
f0c713f4fa
Merge pull request #2905 from hashicorp/remove-testing-dep
...
Use go-testing-interface instead of testing
2017-07-25 16:06:51 -07:00
Alex Dadgar
9c610a8862
Custom help output
2017-07-25 15:42:22 -07:00
Michael Schurter
55bd0c8df7
Use go-testing-interface instead of testing
...
This drops the testings stdlib pkg from our dependencies. Saves a
whopping 46kb on our binary (was really hoping for more of a win there),
but also avoids potential ugliness with how testing sets flags.
2017-07-25 15:35:19 -07:00
Michael Schurter
887c3e0e24
Merge pull request #2895 from hashicorp/d-env-example
...
Use better example for env template
2017-07-25 14:58:19 -07:00
Alex Dadgar
9b50dffae2
Merge pull request #2901 from hashicorp/sethvargo/subdir
...
Use a subdirectory for operator commands
2017-07-25 13:18:04 -07:00
Seth Vargo
934d83b866
Add redirects
2017-07-25 16:00:34 -04:00
Seth Vargo
36fe551231
Use a subdirectory for operator commands
2017-07-25 15:55:35 -04:00
Michael Schurter
e04267da4f
Fix comment
2017-07-25 12:13:05 -07:00
Michael Schurter
9a3f6af77e
Forgot to setcmdenv
...
This would leak a consul agent
2017-07-25 12:09:57 -07:00
Alex Dadgar
91d177eb21
Merge pull request #2900 from hashicorp/b-multi-tg
...
Improve multiple group handling in a deployment
2017-07-25 11:33:21 -07:00
Alex Dadgar
78e246eab5
Improve multiple group handling in a deployment
...
This PR resolves a bug in which a job with multiple task groups would
create new deployment objects each, thus clearing out all other task
groups deployment state.
2017-07-25 11:27:47 -07:00
Michael Schurter
7079ad0c42
Mention env templates in nomad init
2017-07-25 10:28:50 -07:00
Michael Schurter
b6eb02ac6c
Mention templates & env vars in configuring tasks
2017-07-25 10:13:28 -07:00
Michael Schurter
5f4d17671a
Write secrets to secrets!
2017-07-25 09:51:11 -07:00
Michael Schurter
4666d85a29
Use seen more conservatively
2017-07-24 16:48:40 -07:00
Michael Schurter
41e550d176
Use better example for env template
2017-07-24 16:40:39 -07:00
Michael Schurter
fd1d8a9e1d
Don't attempt to restore tasks that never sync'd
2017-07-24 15:58:46 -07:00
Michael Schurter
7f5cc6ae13
Advertise block shouldn't be needed in 0.6
2017-07-24 15:58:28 -07:00
Michael Schurter
8e5d95df08
Always increment failures...
...
...as it's used in calculating the backoff
2017-07-24 15:37:53 -07:00
Seth Vargo
f64754a818
Merge pull request #2880 from hashicorp/sethvargo/updatesite
...
Update website branding
2017-07-24 17:56:06 -04:00
Seth Vargo
95e8ea98d3
More changes
2017-07-24 15:14:02 -04:00