Commit Graph

8400 Commits

Author SHA1 Message Date
Michael Schurter a4029a7948 Add jobspec test for check method/header 2017-08-17 16:44:21 -07:00
Michael Schurter 4e72a8dedf Update Consul to v0.9.2 for Header and Method 2017-08-17 16:44:21 -07:00
Michael Schurter bb8d5689d8 Add Header and Method support for HTTP checks 2017-08-17 16:44:21 -07:00
Michael Schurter 8b0fe6b2fd Fix broken link 2017-08-17 16:39:19 -07:00
Michael Schurter 93800d51b3 Add shutdown delay changelog entry 2017-08-17 14:39:42 -07:00
Michael Schurter b4813747d0 Merge pull request #3043 from hashicorp/f-2441-shutdown-delay
Add optional shutdown delay to tasks
2017-08-17 14:37:48 -07:00
Michael Schurter c709251ed6 Lower ShutdownDelay for non-Travis testing 2017-08-17 14:23:42 -07:00
Alex Dadgar 6669cf3c59 changelog 2017-08-17 14:13:25 -07:00
Alex Dadgar 3f5b7204dc Merge pull request #3051 from hashicorp/b-batcher
Fix race creating EvalFuture
2017-08-17 14:12:51 -07:00
Michael Schurter 8fdd58f55e Fix ShutdownDelay diff test 2017-08-17 14:05:51 -07:00
Michael Schurter b33b2fb4c0 Lower shutdown delay in test 2017-08-17 13:57:22 -07:00
Alex Dadgar 782abf4098 Fix race creating EvalFuture
This PR fixes https://github.com/hashicorp/nomad/issues/3044
2017-08-17 13:23:58 -07:00
Michael Schurter 188e89c77f Add ShutdownDelay to JSON Job docs 2017-08-17 11:30:29 -07:00
Michael Schurter 0726ca75e3 Make shutdown delay log DEBUG, not INFO 2017-08-17 11:28:33 -07:00
Alex Dadgar 83900faf79 Merge pull request #3048 from hashicorp/f-pre-push
Add a shared git hooks directory
2017-08-17 11:02:35 -07:00
Alex Dadgar 38f986ca7e Add a shared git hooks directory
This PR adds a place to share git hooks.
2017-08-17 10:55:53 -07:00
Michael Schurter dcc25db4a4 Merge pull request #3045 from slobo/patch-1
Spelling fix: stana -> stanza
2017-08-17 09:24:11 -07:00
Clint Armstrong f0460156ae restrict mount to volume type 2017-08-17 09:52:13 -04:00
Slobodan Mišković 7b5e5d695b Spelling fix: stana -> stanza 2017-08-16 23:32:41 -07:00
Michael Schurter d529b422b2 Add optional shutdown delay to tasks
Fixes #2441

Defaults to 0 (no delay) for backward compat and because this feature
should be opt-in.
2017-08-16 17:59:46 -07:00
Alex Dadgar ec10e07f61 bump version 2017-08-16 16:45:54 -07:00
Alex Dadgar 895c87252c Merge pull request #3042 from hashicorp/f-version
Add version package
2017-08-16 16:32:31 -07:00
Michael Schurter e569763196 Add #3041 to changelog 2017-08-16 16:27:32 -07:00
Alex Dadgar d6187cd3e8 Fix tests 2017-08-16 16:26:52 -07:00
Alex Dadgar 1a86aecf55 Add version package
This PR adds a version package and consolidates version strings into a
Version struct.
2017-08-16 15:44:21 -07:00
Michael Schurter 192db801d1 Update gopsutil to stop calling SetEnv
Fixes #3036
2017-08-16 15:05:24 -07:00
James Rasell 0d120228ea Updates based on feedback provided by dadgar. 2017-08-16 22:19:31 +01:00
Chelsea Komlo 755cc33f13 Merge pull request #3037 from hashicorp/b-limit-tab-autocomplete
Tab completion should only happen once
2017-08-16 14:25:14 -04:00
Alex Dadgar 828b9bfae4 fix http test 2017-08-16 11:01:12 -07:00
Alex Dadgar 3d69961c3a Must be root for TestAllocDir_CreateDir 2017-08-16 10:46:14 -07:00
Chelsea Holland Komlo c083af1e7c tab completion should only happen once 2017-08-16 17:04:47 +00:00
Chelsea Komlo 1ff04de2a7 Merge pull request #3026 from hashicorp/f-autocomplete-job-eval-node
Add autocomplete for nodes, evals, and jobs
2017-08-15 17:12:17 -04:00
Chelsea Holland Komlo 68679ee265 tests for autocomplete functions 2017-08-15 20:21:50 +00:00
Alex Dadgar f13345e156 changelog 2017-08-15 12:30:42 -07:00
Alex Dadgar d6e3dd0265 Merge pull request #3023 from hashicorp/b-bitmap
Fix panic occuring from improper bitmap size
2017-08-15 12:27:19 -07:00
Alex Dadgar 2453f13fc5 fixes 2017-08-15 12:27:05 -07:00
Alex Dadgar fdb8df4a55 Merge pull request #3024 from hashicorp/f-no-revert-target
Deployment desc  when no stable job and autorevert
2017-08-15 12:24:09 -07:00
Alex Dadgar 7dd86b5dfe Merge pull request #3025 from hashicorp/f-health-events
Emit task events explaining alloc health
2017-08-15 12:23:46 -07:00
Alex Dadgar bb165b97ef comments 2017-08-15 12:23:29 -07:00
Michael Schurter 02f48e5531 Merge pull request #3007 from hashicorp/b-blocking-refactor-2
Refactor blocking/migrating allocations
2017-08-15 10:57:36 -07:00
Michael Schurter ae5ca54d16 Merge pull request #3027 from jkburges/patch-1
Match example update configuration to comment
2017-08-15 10:57:06 -07:00
Michael Schurter 1126268a81 Fix formatting 2017-08-15 10:37:02 -07:00
jkburges 5f697eae06 Match example update configuration to comment
"two-at-a-time" == `max_parallel = 2`
2017-08-15 11:45:28 +10:00
Michael Schurter 74d5c272c6 Cleanup comments and return val 2017-08-14 16:59:03 -07:00
Michael Schurter 46b7fd45d7 spelling 2017-08-14 16:55:59 -07:00
Michael Schurter de8ea243b6 Return move errors from local Migrate like remote
Since alloc runner just logs these errors and continues there's no
reason not to return it.
2017-08-14 16:48:56 -07:00
Michael Schurter 7342e23669 Move migrating state into prevAllocWatcher 2017-08-14 16:02:28 -07:00
Chelsea Holland Komlo 499de71dfd adding autocomplete for nodes, evals, and jobs 2017-08-14 20:44:28 +00:00
Chelsea Komlo b9f189495a Merge pull request #2995 from hashicorp/f-allocation-autocomplete
Allocation autocomplete, client api
2017-08-14 15:26:39 -04:00
Michael Schurter 8693f6d69c Merge pull request #3022 from hashicorp/b-check-validation
Fix timeout validation for script checks
2017-08-14 12:04:02 -07:00