Commit Graph

8015 Commits

Author SHA1 Message Date
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
Alex Dadgar 62c55c8fc9 fix slow resolve on mac 2017-07-22 19:58:30 -07:00
Alex Dadgar 72d055aa9c drop rkt deadline 2017-07-22 19:54:06 -07:00
Alex Dadgar 219fecc705 Merge branch 'master' of github.com:hashicorp/nomad 2017-07-22 19:48:54 -07:00
Alex Dadgar d760e68774 darwin test fixes 2017-07-22 19:48:47 -07:00
Alex Dadgar 553bc91725 Parallel client tests (#2890)
* alloc_runner

* Random tests

* parallel task_runner and no exec compatible check

* Parallel client

* Fail fast and use random ports

* Fix docker port mapping

* Make concurrent pull less timing dependant

* up parallel

* Fixes

* don't build chroots in parallel on travis

* Reduce parallelism on travis with lxc/rkt

* make java test app not run forever

* drop parallelism a little

* use docker ports that are out of the os's ephemeral port range

* Limit even more on travis

* rkt deadline
2017-07-22 19:04:36 -07:00
Alex Dadgar b6f0782732 typo 2017-07-22 12:55:30 -07:00
Alex Dadgar 8cf9d15b01 typo 2017-07-22 12:33:07 -07:00
Alex Dadgar 9e9c20ca77 small fixes 2017-07-22 12:25:02 -07:00
Alex Dadgar 5a3df2ed89 Merge pull request #2888 from hashicorp/b-fix-allocrunner-test
Fix TestAllocRunner_TaskLeader_StopTG and unrelated races
2017-07-22 11:44:04 -07:00
Alex Dadgar 46c8bec9b0 faster vaultclient 2017-07-21 19:38:37 -07:00
Alex Dadgar 4dd5d943c7 remove root requirement on consul integration check 2017-07-21 19:32:41 -07:00
Alex Dadgar 219ef8a640 parallel deploymentwatcher tests 2017-07-21 19:23:24 -07:00
Alex Dadgar e9a1397f34 Merge pull request #2889 from hashicorp/f-parallel-api
Parallel API tests
2017-07-21 18:05:23 -07:00
Alex Dadgar 789751d84e Parallel 2017-07-21 16:33:04 -07:00
Michael Schurter d840fc8c95 Fix tr race by not sharing alloc/task
prestart only needs the original alloc/task so pass their pointers in.
Task updates may concurrently replace the pointer on tr.
2017-07-21 16:17:42 -07:00
Michael Schurter a22cfa8387 Minor test race fix 2017-07-21 16:17:23 -07:00
Michael Schurter 9a7a1d8c13 Fix race by not accessing tr.task from ar 2017-07-21 16:16:53 -07:00
Michael Schurter 2e9a1e3fa6 Remove unneeded saveTaskRunnerState method
Collapse it into the one place it's called
2017-07-21 16:16:02 -07:00