Alex Dadgar
8dc8e17c1b
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
b6b2d75d63
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
f7985535d4
Merge pull request #2911 from hashicorp/d-api
...
Update API and JSON Job Documentation
2017-07-25 17:28:12 -07:00
Michael Schurter
b8af7598b0
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
fac2567521
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
2aab3b5dc1
Explain change in default advertise behavior
2017-07-25 17:15:39 -07:00
Michael Schurter
07436d4b03
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
ca5272dece
Mention node attrs
2017-07-25 16:53:10 -07:00
Michael Schurter
b1c65ca390
Prevent using env templates with signals
2017-07-25 16:34:41 -07:00
Alex Dadgar
9c655e1208
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
9099371a42
Mention restart
2017-07-25 16:26:42 -07:00
Alex Dadgar
5e98c3ce95
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
1aaff0849c
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
8f19146f41
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
e15e9ee976
Custom help output
2017-07-25 15:42:22 -07:00
Michael Schurter
5f1f91a46c
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
6d45210b9a
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
efd0ec5608
Merge pull request #2901 from hashicorp/sethvargo/subdir
...
Use a subdirectory for operator commands
2017-07-25 13:18:04 -07:00
Seth Vargo
0c5e980a8b
Add redirects
2017-07-25 16:00:34 -04:00
Seth Vargo
a293b81b2b
Use a subdirectory for operator commands
2017-07-25 15:55:35 -04:00
Michael Schurter
d2f8fdcad5
Fix comment
2017-07-25 12:13:05 -07:00
Michael Schurter
3e6231842d
Forgot to setcmdenv
...
This would leak a consul agent
2017-07-25 12:09:57 -07:00
Alex Dadgar
b1e83e4803
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
492239d3ee
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
da6a5ddaf0
Mention env templates in nomad init
2017-07-25 10:28:50 -07:00
Michael Schurter
6627d28bff
Mention templates & env vars in configuring tasks
2017-07-25 10:13:28 -07:00
Michael Schurter
46a17c39bf
Write secrets to secrets!
2017-07-25 09:51:11 -07:00
Michael Schurter
4b83eba599
Use seen more conservatively
2017-07-24 16:48:40 -07:00
Michael Schurter
19dd0be377
Use better example for env template
2017-07-24 16:40:39 -07:00
Michael Schurter
b01dd31f26
Don't attempt to restore tasks that never sync'd
2017-07-24 15:58:46 -07:00
Michael Schurter
24e5e2faa0
Advertise block shouldn't be needed in 0.6
2017-07-24 15:58:28 -07:00
Michael Schurter
cdf138eb27
Always increment failures...
...
...as it's used in calculating the backoff
2017-07-24 15:37:53 -07:00
Seth Vargo
4c0c642c1c
Merge pull request #2880 from hashicorp/sethvargo/updatesite
...
Update website branding
2017-07-24 17:56:06 -04:00
Seth Vargo
34b5e8945c
More changes
2017-07-24 15:14:02 -04:00
Michael Schurter
809724ad8d
Track whether Consul has ever been seen
...
Need a way to squelch Consul operation errors on shutdown. If it's never
been seen don't log errors about deregs failing.
2017-07-24 12:12:02 -07:00
Seth Vargo
12a855f11d
Add Kevin's copy changes
2017-07-24 15:11:17 -04:00
Seth Vargo
28ec0d11d3
Update anti-affinity
2017-07-24 14:46:01 -04:00
Seth Vargo
577f73d300
Use go not golang
2017-07-24 14:45:12 -04:00
Seth Vargo
d9c61578bc
Lowercase rkt
2017-07-24 14:42:02 -04:00
Seth Vargo
e6e1a88a61
Better rolling deploy text
2017-07-24 14:41:39 -04:00
Seth Vargo
1962c32d17
Mention more than bg
2017-07-24 14:41:14 -04:00
Michael Schurter
edbe62a879
Synchronously deregister agent on shutdown
...
Fixes #2891
Previously the agent services and checks were being asynchrously
deregistered on shutdown, so it was a race between the sync goroutine
deregistering them and Nomad shutting down.
This switches to synchronously deregister agent serivces and checks
which doesn't really have a downside since the sync goroutines retry
behavior doesn't help on shutdown anyway.
2017-07-24 11:40:37 -07:00
Seth Vargo
d143586c22
Space file system
2017-07-24 14:40:32 -04:00
Seth Vargo
52e7ed062b
Spark on left
2017-07-24 11:35:45 -04:00
Seth Vargo
6ea35462bd
Add better images for rolling deploys, bg, and machine failure
2017-07-24 11:35:45 -04:00
Seth Vargo
102085ca2a
Add rolling upgrades
2017-07-24 11:35:45 -04:00
Seth Vargo
bff302d49c
Add provider names
2017-07-24 11:35:44 -04:00
Seth Vargo
bfd469bfda
Add colored output to make Alex happy
2017-07-24 11:35:44 -04:00
Seth Vargo
f8e03ee2c7
Add svg for terminal circles
...
The HTML bullet is a different size in different browsers :(
2017-07-24 11:35:44 -04:00
Seth Vargo
3beff58030
Fix broken scrollbars on Safari
2017-07-24 11:35:44 -04:00