Commit graph

7981 commits

Author SHA1 Message Date
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
Seth Vargo 878f8925c1
Add Apache Spark logo 2017-07-24 11:35:43 -04:00
Seth Vargo f34c11f808
Remove cubes.js 2017-07-24 11:35:43 -04:00
Seth Vargo eaa7357c14
Update homepage to match 2017-07-24 11:35:43 -04:00
Seth Vargo 8a28167adc
Update logos and colors 2017-07-24 11:35:42 -04:00
Alex Dadgar 031da7a21c fix vet 2017-07-22 22:43:33 -07:00
Alex Dadgar 6616a582fb Remove unneeded consul vendor 2017-07-22 22:42:45 -07:00
Alex Dadgar 27ec9b1428 reset travis script 2017-07-22 22:25:20 -07:00
Alex Dadgar b1b61b892a whats going on 2017-07-22 21:44:53 -07:00
Alex Dadgar 0f3f1ea68b travis check fixes 2017-07-22 21:01:22 -07:00
Alex Dadgar c1a72d24e6 fingerprinters 2017-07-22 20:38:03 -07:00