Chelsea Holland Komlo
3d743a476a
small fixups
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
d231b4aa0f
fix autocomplete to list all matches
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
a05d7a2a20
default to job status if no arguments are provided
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
ffe95a1a62
adds any resource autocomplete
...
defaults to listing jobs if no id is provided
2017-08-25 16:42:11 +00:00
Chelsea Holland Komlo
74c51e63bd
job names causes errors when searching other contexts, only log but not return this err
2017-08-25 16:42:11 +00:00
Alex Dadgar
95c68156bc
vendor complete library
2017-08-25 09:39:04 -07:00
Chelsea Holland Komlo
83cc71aed9
alignment and fixups from code review
2017-08-25 14:12:23 +00:00
Clint Armstrong
dc8eab6adc
Set MaxParallel default to 1
2017-08-25 07:56:40 -04:00
Chelsea Holland Komlo
f8e2a4c54c
add HTTP documentation for search api
2017-08-25 00:14:04 +00:00
Alex Dadgar
cf09c2af24
Fix confusing batch job example
2017-08-24 17:12:43 -07:00
Alex Dadgar
020b70c081
Merge pull request #3091 from jippi/patch-3
...
Add missing ReconcileSummaries API method
2017-08-24 17:02:39 -07:00
Alex Dadgar
8eb3db6e98
Describe the all parameter when listing job allocs
...
Fixes https://github.com/hashicorp/nomad/issues/3092
2017-08-24 17:01:24 -07:00
Alex Dadgar
af50ce1411
changelog
2017-08-24 16:58:31 -07:00
Alex Dadgar
876732833f
Merge pull request #3073 from clinta/docker-500
...
Allow retry of 500 API errors to be handled by restart policies
2017-08-24 16:57:36 -07:00
Alex Dadgar
50512dfac0
changelog
2017-08-24 13:25:25 -07:00
Alex Dadgar
724f023ce9
Merge pull request #3089 from hashicorp/b-link-local
...
Handle interfaces that only have link-local addrs
2017-08-24 13:24:08 -07:00
Christian Winther
c788fb1803
Add missing ReconcileSummaries API method
...
References https://www.nomadproject.io/api/system.html#reconcile-summaries
2017-08-24 11:55:10 +02:00
Armon Dadgar
16a18e9db6
Fix Golang update in Vagrant provisioner
2017-08-23 19:55:39 -07:00
Chelsea Komlo
c2b1c23d8a
Merge pull request #3075 from hashicorp/fix-build-lxc-failure
...
Root permissions are needed for testing certain functionality
2017-08-23 20:01:22 -04:00
Chelsea Komlo
dd03bc2968
Merge pull request #3087 from hashicorp/f-flag-autocomplete
...
Enable autocompletion of flags
2017-08-23 19:56:52 -04:00
Chelsea Holland Komlo
74f193daa8
Root permissions are needed for testing certain functionality
2017-08-23 23:43:51 +00:00
Chelsea Komlo
af67b73770
Merge pull request #3078 from hashicorp/b-remove-make-bin
...
Use make release target, remove make bin
2017-08-23 19:35:11 -04:00
Alex Dadgar
cf7a3fdf51
Autocomplete global flags
2017-08-23 23:29:29 +00:00
Chelsea Holland Komlo
8d4b963151
small fixes and cleanup
2017-08-23 23:04:47 +00:00
Chelsea Holland Komlo
ed2a544502
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
35f5c8f2dd
use PredictAnything when an flag accepts an argument
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
f0849b96c3
fixes for changelog
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
f253b86ae2
update changelog
2017-08-23 22:57:07 +00:00
Chelsea Holland Komlo
2721e5890f
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
860db2e4a9
Revendor isatty since it is used by mitchellh/cli
2017-08-23 15:46:56 -07:00
Alex Dadgar
fd7d614ae4
Handle interfaces that only have link-local addrs
...
This PR changes the fingerprint handling of network interfaces that only
contain link local addresses. The new behavior is to prefer globally
routable addresses and if none are detected, to fall back to link local
addresses if the operator hasn't disallowed it. This gives us pre 0.6
behavior for interfaces with only link local addresses but 0.6+ behavior
for IPv6 interfaces that will always have a link-local address.
Fixes https://github.com/hashicorp/nomad/issues/3005
/cc diptanuc
2017-08-23 15:32:22 -07:00
Alex Dadgar
5cdc74d713
Merge pull request #3057 from hashicorp/f-tty
...
Detect STDOUT isn't a TTY and disable color
2017-08-23 14:36:08 -07:00
Alex Dadgar
2ee5b6c39d
Change tty detection library
2017-08-23 14:35:50 -07:00
Alex Dadgar
6830ddb2a5
changelog
2017-08-23 14:35:50 -07:00
Alex Dadgar
3f0fc016e5
Detect STDOUT isn't a TTY and disable color
...
This PR disables color output when the STDOUT is not a TTY. This makes
running commands under `watch` or other commands nicer.
2017-08-23 14:35:26 -07:00
Alex Dadgar
34485622e1
Merge pull request #3056 from hashicorp/b-auto-revert
...
Fix purging job versions
2017-08-23 14:20:48 -07:00
Alex Dadgar
4fd4e5c6c9
Merge pull request #3077 from hashicorp/f-docker-mounts
...
Clean up docker mounts
2017-08-23 14:17:10 -07:00
Alex Dadgar
211a793530
resolve feedback
2017-08-23 14:17:00 -07:00
Alex Dadgar
9cae84192e
Merge pull request #3086 from hashicorp/d-deployment
...
Clarify deployment api docs
2017-08-23 13:36:55 -07:00
Alex Dadgar
139ec4916c
bump consul version
2017-08-23 10:45:54 -07:00
Alex Dadgar
876c0e4cc7
clarify deployment api docs
2017-08-23 10:35:29 -07:00
Alex Dadgar
8ece6064db
Merge pull request #3083 from nicolaevladescu/master
...
Fix typo Automtic -> Automatic
2017-08-23 10:06:19 -07:00
Nicolae Vlădescu
ee56faec04
Fix typo Automtic -> Automatic
2017-08-23 17:09:47 +03:00
Chelsea Holland Komlo
69eccd9c96
use make release target, remove make bin
2017-08-22 22:38:17 +00:00
Alex Dadgar
653733e093
Clean up docker mounts
2017-08-22 14:12:44 -07:00
Alex Dadgar
e05c45c4f5
Merge pull request #3076 from hashicorp/f-autocomplete-args
...
Autocomplete arguments for remaining commands
2017-08-22 14:04:22 -07:00
Alex Dadgar
00947f3ff4
move autocomplete functions to top for consistency of placement
2017-08-22 13:41:42 -07:00
Alex Dadgar
f79c14ac4c
flesh out the rest of the job subcommands
2017-08-22 13:39:06 -07:00
Alex Dadgar
b41be1f85b
update older autocomplete tests to inject state
2017-08-22 13:33:12 -07:00
Alex Dadgar
e3a71f6c53
nomad stop
2017-08-22 13:22:29 -07:00