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
Chelsea Holland Komlo
3319fb5822
fixups from code review
2017-08-14 17:56:03 +00:00
Alex Dadgar
06b1044cfe
Fix integration test
2017-08-14 10:52:49 -07:00
Chelsea Holland Komlo
c770119e16
context constants should be in both api and structs pkg
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
4edc38d5c2
using contexts constants in replace of string contexts
...
fix up endpoints
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
01b3338b71
use constants for contexts
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
553d8ad91c
code refactoring and fixups
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
7c5ef641c1
change endpoint to /v1/search
2017-08-14 17:38:10 +00:00
Chelsea Holland Komlo
c3f2490ee8
update comments
...
refactor for simplicity
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
0fdc461f67
even in rounding down for queries, full prefixes are matched against ids
...
only applies to uuids, not jobs
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
787f7bc0c4
rename to cluster search
...
comment updates
2017-08-14 17:36:14 +00:00
Chelsea Holland Komlo
a45bf60c22
fix failing test assertion
...
small refactors
2017-08-14 17:35:35 +00:00
Chelsea Holland Komlo
34bb3d36bd
autocomplete for allocation ids
2017-08-14 17:35:35 +00:00
Chelsea Holland Komlo
4d711cb504
round down odd prefixes
2017-08-14 17:35:35 +00:00
Michael Schurter
0100425988
Add #3022 changelog entry
2017-08-14 10:29:57 -07:00
Alex Dadgar
6589794a79
Merge pull request #3019 from jen20/import-formatting2
...
build: Apply goimports formatting to various files
2017-08-14 10:25:06 -07:00
Michael Schurter
c1091edc98
Fix timeout validation for script checks
...
It appears this was disabled a year ago when defaulting and validation
code was probably different: 91bbc5c3c7
Fixes an issue reported via the mailing list:
https://groups.google.com/d/msg/nomad-tool/yiPCTfOpYn4/yv7MMPUABQAJ
2017-08-14 10:23:52 -07:00
James Nugent
fda3868577
build: Apply goimports formatting to various files
...
The following files were not formatted as the output of goimports(1)
would create, causing the goimports linter to fail:
command/agent/resources_endpoint.go
nomad/resources_endpoint.go
nomad/resources_endpoint_test.go
2017-08-14 11:51:47 +08:00
Alex Dadgar
acf8f6760e
Deployment desc when no stable job and autorevert
...
This PR adds a specialized description when the job has autorevert set
and there is no job to revert to.
2017-08-12 15:50:51 -07:00
Alex Dadgar
7e6b14cf5d
Fix panic occuring from improper bitmap size
...
This PR fixes an allignment calculation when determining the bitmap
size.
Fixes https://github.com/hashicorp/nomad/issues/3008
2017-08-12 15:37:02 -07:00
Alex Dadgar
0f2a05714b
test
2017-08-12 14:42:53 -07:00
Alex Dadgar
2a0f267771
Merge pull request #3014 from hynek/patch-4
...
Fix number of primary nouns in Nomad
2017-08-12 14:34:41 -07:00
Alex Dadgar
2f7b7e3bc4
Refactor health watcher and emit events
2017-08-12 14:23:36 -07:00
Hynek Schlawack
0566af8d83
Off by one!
2017-08-12 16:06:20 +02:00
Michael Schurter
be36bfb15a
Merge pull request #2923 from hashicorp/d-tls-guide
...
TLS Guide
2017-08-11 21:03:52 -07:00
Michael Schurter
cadbe7a77f
Rename guide from tls to securing-nomad
2017-08-11 21:02:52 -07:00