Commit graph

8373 commits

Author SHA1 Message Date
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
Alex Dadgar c172972b61 inspect 2017-08-22 13:19:29 -07:00
Alex Dadgar 554e17c3e9 node drain 2017-08-22 13:13:44 -07:00
Alex Dadgar 17e362e162 logs and fs 2017-08-22 13:11:32 -07:00
Alex Dadgar 02f26f3384 Autocomplete deployment commands 2017-08-22 13:05:24 -07:00
Clint Armstrong ae230395ba Allow retry of 500 API errors to be handled by restart policies 2017-08-22 14:04:46 -04:00
Alex Dadgar 37b7528683 changelog 2017-08-22 10:44:55 -07:00
Alex Dadgar 422332c8bf Merge pull request #3002 from jrasell/gh_2993
Add the Nomad agent version to the node-status CLI output.
2017-08-22 10:43:25 -07:00
Alex Dadgar a26b80f382 Merge branch 'master' of github.com:hashicorp/nomad 2017-08-21 17:58:58 -07:00
Alex Dadgar 01e532fe4a fix lxc 2017-08-21 17:43:51 -07:00
Alex Dadgar 4ae93ade9c fix lxc 2017-08-21 17:09:17 -07:00
Alex Dadgar 2a5f5030d3 remove printing of GOOS for generate 2017-08-21 15:18:24 -07:00
Alex Dadgar ddd3726d8f Merge pull request #2953 from jen20/gnumake
build: Replace shell scripts with GNUmakefile
2017-08-21 15:16:46 -07:00
Alex Dadgar c7d2b566e8 changelog 2017-08-21 14:12:38 -07:00
Alex Dadgar 690c11bbef Merge pull request #3070 from hashicorp/b-rolling
Placing allocs counts towards placement limit
2017-08-21 14:08:10 -07:00
Alex Dadgar 0aef02a4f9 fix test 2017-08-21 14:07:54 -07:00
Chelsea Komlo 49542712f9 Merge pull request #3068 from hashicorp/f-add-deployments-search-api
Add deployments to search api
2017-08-21 16:34:00 -04:00
Alex Dadgar 45f0c4f58c Merge pull request #3069 from clinta/mount-docs
add docs for mount
2017-08-21 12:54:37 -07:00
Alex Dadgar 9125b2e55d changelog 2017-08-21 12:53:48 -07:00
Alex Dadgar 27256ebcc6 Placing allocs counts towards placement limit
This PR makes placing new allocations count towards the limit. We do not
restrict how many new placements are made by the limit but we still
count towards the limit. This has the nice affect that if you have a
group with count = 5 and max_parallel = 1 but only 3 allocs exist for it
and a change is made, you will create 2 more at the new version but not
destroy one, taking you down to two running as you would have
previously.

Fixes https://github.com/hashicorp/nomad/issues/3053
2017-08-21 12:41:19 -07:00
Clint Armstrong 3cdcbc5c6b add docs for mount 2017-08-21 15:32:44 -04:00
Rob Genova 9933ea3a2c Merge pull request #3059 from hashicorp/d-minor-doc-updates-2
Minor doc updates
2017-08-21 11:20:26 -07:00
Alex Dadgar 14bae424e1 Merge pull request #3041 from hashicorp/b-3036-update-gopsutil
Update gopsutil to stop calling SetEnv
2017-08-21 10:42:04 -07:00
Chelsea Holland Komlo 50c20b1801 add deployments to search api 2017-08-21 15:20:55 +00:00
Alex Dadgar 1769b426ed fix hook 2017-08-20 20:45:00 -07:00
Rob Genova f6b072dd8e add bold formatting 2017-08-19 00:14:13 +00:00