Commit Graph

6621 Commits

Author SHA1 Message Date
Diptanu Choudhury d0d7c92bab Added tests 2017-02-16 13:52:39 -08:00
Diptanu Choudhury 7567209857 Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Alex Dadgar c62cd5cc55 Revendor docker client 2017-02-14 17:34:05 -08:00
Alex Dadgar 0e6b84145c Fix interval breaking two tests 2017-02-14 17:06:30 -08:00
Alex Dadgar ebef413ff4 Changelog 2017-02-14 11:08:28 -08:00
Alex Dadgar 1657c70426 Merge pull request #2310 from hashicorp/f-serf-reap
Handle Serf Reap event
2017-02-14 11:07:43 -08:00
Alex Dadgar 2be0a30566 changelog 2017-02-14 11:07:08 -08:00
Alex Dadgar dbc4eac936 Merge pull request #2309 from hashicorp/f-no-root-token
Disallow root policy from being specified
2017-02-14 11:06:31 -08:00
Alex Dadgar 88faad6808 changelog 2017-02-14 11:05:44 -08:00
Alex Dadgar b6357f96c5 Merge pull request #2308 from hashicorp/f-leader-task
Leader task
2017-02-14 11:03:32 -08:00
Alex Dadgar d24bd0979d changelog 2017-02-14 11:02:40 -08:00
Alex Dadgar 89fea63a53 Merge pull request #2305 from hashicorp/f-operator
Add nomad operator command for interacting with Raft configuration
2017-02-14 11:01:41 -08:00
Alex Dadgar 221277aa06 Respond to feedback 2017-02-14 11:01:12 -08:00
Alex Dadgar 407b35c7c8 Changelog 2017-02-14 10:46:09 -08:00
Alex Dadgar fe6dd74983 Merge pull request #2311 from hashicorp/f-no-interval
Validate the interval within a restart policy
2017-02-14 10:43:05 -08:00
Michael Schurter 3fd6932254 Merge pull request #2306 from greenboxal/improve-doc
Improve interpolation docs
2017-02-14 10:31:37 -08:00
Alex Dadgar 7d158a5a7f Validate the interval within a restart policy
This PR ensures that the interval specified is not less than 5 seconds.

Fixes https://github.com/hashicorp/nomad/issues/2286
2017-02-13 15:27:36 -08:00
Alex Dadgar 96c17714cf Fix test 2017-02-13 14:31:22 -08:00
Alex Dadgar 7c8bd12509 Handle Serf Reap event
This PR adds handling of the Serf member reap event to remove the peer
from Raft.
2017-02-13 14:22:54 -08:00
Alex Dadgar 0b2e2971fd Disallow root policy from being specified
This PR disallows the specification of a root policy by a Nomad task.
2017-02-13 10:51:29 -08:00
Alex Dadgar 4432b09e03 Remove old vault status 2017-02-13 10:44:10 -08:00
Alex Dadgar 9b72f77f0b Api Leader becomes a pointer 2017-02-13 10:43:33 -08:00
Alex Dadgar d6d2884125 Documentation 2017-02-13 10:18:34 -08:00
Jonathan Lima be98af8526 Improve interpolation docs 2017-02-12 01:47:17 -02:00
Alex Dadgar 238b4bcafd Add Leader support to client 2017-02-10 17:55:19 -08:00
Alex Dadgar 3ba8faeae3 Add leader task to api and server side 2017-02-10 16:57:47 -08:00
Jeff Mitchell c33e899dfa Update go-cleanhttp 2017-02-10 19:41:28 -05:00
Alex Dadgar a8f7492d8e Merge branch 'master' of github.com:hashicorp/nomad 2017-02-10 16:29:36 -08:00
Alex Dadgar 21ef1ce685 Add guard 2017-02-10 16:29:28 -08:00
Michael Schurter b92059a418 Merge pull request #2301 from hashicorp/b-fix-nil-resources
Fix upgrade path for created resources
2017-02-10 16:24:55 -08:00
Alex Dadgar b1cd81e997 Remove todos 2017-02-10 15:41:23 -08:00
Alex Dadgar 009bd88e2f Add outage guide and move bootstrapping 2017-02-10 15:30:34 -08:00
Michael Schurter fb59e42473 Fix test to assert new never-nil behavior 2017-02-10 10:11:15 -08:00
Alex Dadgar 7b9e39d75c Merge branch 'add-guides' into f-operator 2017-02-09 18:11:07 -08:00
Alex Dadgar 2d4d9b79d8 Operator command/endpoint/documentation 2017-02-09 18:04:46 -08:00
Michael Schurter 51e4fe9915 Use getters & setters with nil guards 2017-02-09 17:44:58 -08:00
Michael Schurter 37e7e7a3e5 Fix upgrade path for created resources
This *might* be a fix for #2295 -- I've been unable to reproduce the
bug. However, this guard seems wise regardless. I should never be
overwriting an intialized created resources with a nil.
2017-02-09 13:54:33 -08:00
Seth Vargo 3aa1d30772 Merge pull request #2298 from hashicorp/sethvargo-patch-1
Change cache to 4h
2017-02-09 14:38:51 -05:00
Seth Vargo 70d429bbd2 Cache assets longer 2017-02-09 14:38:46 -05:00
Seth Vargo cc66976f71 Change cache to 4h 2017-02-09 14:37:36 -05:00
Michael Schurter 1e2635ed45 Merge pull request #2297 from hashicorp/b-fix-arm-build
Fix 32bit arm build
2017-02-09 11:32:32 -08:00
Michael Schurter f2cf2b1df1 Fix 32bit arm build
Had to use the hack from https://github.com/golang/go/issues/12443
2017-02-09 11:22:17 -08:00
Alex Dadgar 4da380bbbf Vendor memberlist fixes 2017-02-08 16:07:33 -08:00
Alex Dadgar dea460281d Merge pull request #2282 from hashicorp/f-raft-v2-stage-one
Update to Raft V2 stage one
2017-02-08 15:26:16 -08:00
Alex Dadgar b51ba01d54 Merge pull request #2293 from hashicorp/f-vendor-memdb
Vendor MemDB
2017-02-08 14:51:01 -08:00
Alex Dadgar ae31f4c84e Respond to comments 2017-02-08 14:50:19 -08:00
Alex Dadgar eaf285b208 Fix missing summary restoration 2017-02-08 11:51:48 -08:00
Alex Dadgar 5d293c0f1e Add abandon tests and use snapshot for blocking queries 2017-02-08 11:18:03 -08:00
Sean Chittenden 782ade5b36
Update `vendor/vendor.json` to reflect `shiriou/gopsutil#313` being merged. 2017-02-07 22:41:43 -08:00
Alex Dadgar d182aac7a7 Fix nomad tests 2017-02-07 22:10:33 -08:00