Commit Graph

8246 Commits

Author SHA1 Message Date
Michael Schurter
e0ea41e774 Test createCheckReg 2017-08-17 16:49:14 -07:00
Michael Schurter
7627c1705b Update and test service/check interpolation 2017-08-17 16:49:14 -07:00
Michael Schurter
99724b3858 Add missing consul/testutil/retry pkg 2017-08-17 16:44:21 -07:00
Michael Schurter
45a8617442 Add jobspec test for check method/header 2017-08-17 16:44:21 -07:00
Michael Schurter
c7e5ef7562 Update Consul to v0.9.2 for Header and Method 2017-08-17 16:44:21 -07:00
Michael Schurter
947516405a Add Header and Method support for HTTP checks 2017-08-17 16:44:21 -07:00
Michael Schurter
9d4b98f126 Fix broken link 2017-08-17 16:39:19 -07:00
Michael Schurter
ecefbf0a23 Add shutdown delay changelog entry 2017-08-17 14:39:42 -07:00
Michael Schurter
f143501c31 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
fbe85b5964 Lower ShutdownDelay for non-Travis testing 2017-08-17 14:23:42 -07:00
Alex Dadgar
880c303d1c changelog 2017-08-17 14:13:25 -07:00
Alex Dadgar
7750c6b99c Merge pull request #3051 from hashicorp/b-batcher
Fix race creating EvalFuture
2017-08-17 14:12:51 -07:00
Michael Schurter
08d9c4b067 Fix ShutdownDelay diff test 2017-08-17 14:05:51 -07:00
Michael Schurter
b4480cdcff Lower shutdown delay in test 2017-08-17 13:57:22 -07:00
Alex Dadgar
6f1506cb21 Fix race creating EvalFuture
This PR fixes https://github.com/hashicorp/nomad/issues/3044
2017-08-17 13:23:58 -07:00
Michael Schurter
32d782deb1 Add ShutdownDelay to JSON Job docs 2017-08-17 11:30:29 -07:00
Michael Schurter
ecf0d20af7 Make shutdown delay log DEBUG, not INFO 2017-08-17 11:28:33 -07:00
Alex Dadgar
15e25f1812 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
25d1d2e80e 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
48c4a03cbf Merge pull request #3045 from slobo/patch-1
Spelling fix: stana -> stanza
2017-08-17 09:24:11 -07:00
Slobodan Mišković
c653ead493 Spelling fix: stana -> stanza 2017-08-16 23:32:41 -07:00
Michael Schurter
beae45bad5 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
ac81f4aa0f bump version 2017-08-16 16:45:54 -07:00
Alex Dadgar
2bae6f2520 Merge pull request #3042 from hashicorp/f-version
Add version package
2017-08-16 16:32:31 -07:00
Alex Dadgar
7b7ef952f5 Fix tests 2017-08-16 16:26:52 -07:00
Alex Dadgar
c26ecb7092 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
Chelsea Komlo
b90980bd7d 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
99a1162a88 fix http test 2017-08-16 11:01:12 -07:00
Alex Dadgar
95e798fb3a Must be root for TestAllocDir_CreateDir 2017-08-16 10:46:14 -07:00
Chelsea Holland Komlo
ca6562adbd tab completion should only happen once 2017-08-16 17:04:47 +00:00
Chelsea Komlo
c7c19cab5d 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
af2f20f1bf tests for autocomplete functions 2017-08-15 20:21:50 +00:00
Alex Dadgar
f0f6b68bfc changelog 2017-08-15 12:30:42 -07:00
Alex Dadgar
47be9b580c 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
aabf2c0334 fixes 2017-08-15 12:27:05 -07:00
Alex Dadgar
1d60f05180 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
9032c0d579 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
ac5984125c comments 2017-08-15 12:23:29 -07:00
Michael Schurter
c459b6ac4a Merge pull request #3007 from hashicorp/b-blocking-refactor-2
Refactor blocking/migrating allocations
2017-08-15 10:57:36 -07:00
Michael Schurter
6bf1ea54bc Merge pull request #3027 from jkburges/patch-1
Match example update configuration to comment
2017-08-15 10:57:06 -07:00
Michael Schurter
44b69882a1 Fix formatting 2017-08-15 10:37:02 -07:00
jkburges
d69d41b247 Match example update configuration to comment
"two-at-a-time" == `max_parallel = 2`
2017-08-15 11:45:28 +10:00
Michael Schurter
d55b4c1a2b Cleanup comments and return val 2017-08-14 16:59:03 -07:00
Michael Schurter
8983bc07cc spelling 2017-08-14 16:55:59 -07:00
Michael Schurter
ce4b919de5 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
85b9dd9cce Move migrating state into prevAllocWatcher 2017-08-14 16:02:28 -07:00
Chelsea Holland Komlo
6f0413528a adding autocomplete for nodes, evals, and jobs 2017-08-14 20:44:28 +00:00
Chelsea Komlo
49bf7f9769 Merge pull request #2995 from hashicorp/f-allocation-autocomplete
Allocation autocomplete, client api
2017-08-14 15:26:39 -04:00
Michael Schurter
bd1154bd92 Merge pull request #3022 from hashicorp/b-check-validation
Fix timeout validation for script checks
2017-08-14 12:04:02 -07:00
Chelsea Holland Komlo
ffdea26651 update comment for revised contexts 2017-08-14 18:51:32 +00:00