Commit Graph
4261 Commits
Author SHA1 Message Date
Daniel Nephin 27d5d2149c Compress after rewriting the archive.
Write a test showing compress failure.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: a04aa8fe28
Component: cli
2017-06-29 13:18:10 -04:00
Vincent Demeester d8218cc6ef Merge pull request #227 from dnephin/expose-config
expose config credentials without needing the Cli
Upstream-commit: 74af31be7f
Component: cli
2017-06-29 19:11:37 +02:00
Vincent Demeester c54c912237 Merge pull request #238 from vdemeester/update-go-connections
Update go-connections dependency
Upstream-commit: 8de604c857
Component: cli
2017-06-29 18:04:27 +02:00
Kenfe-Mickaël Laventure 38c47208e6 Merge pull request #255 from albers/system-prune-volume-warning
system prune: only warn for volumes if --volumes is given
Upstream-commit: 64486d7820
Component: cli
2017-06-29 08:50:16 -07:00
Harald Albers 4815e9227a Fix bash completion for swarm init|join --data-path-addr
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fa4dc8820a
Component: cli
2017-06-29 16:45:18 +02:00
Harald Albers 7c199971a1 Add bash completion for swarm ca
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 5bd00a563e
Component: cli
2017-06-29 16:28:50 +02:00
Harald Albers 7b10a8b5c9 system prune: only warn about volumes if --volumes is given
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 849b0e96a0
Component: cli
2017-06-29 15:07:21 +02:00
Vincent Demeester 2483818fef Merge pull request #262 from cdrage/on-failure-error
on_failure -> on-failure in compose code
Upstream-commit: 4c88a1cb53
Component: cli
2017-06-29 09:04:15 +02:00
Vincent Demeester fcdcc589ed Merge pull request #258 from adshmh/fix-daemon-unit-tests-output-leak
fixed output leak from daemon unit tests
Upstream-commit: e4e08baeba
Component: cli
2017-06-29 09:03:51 +02:00
Aaron Lehmann 7c4267f69a progress: Add unit tests
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: dd3eae84e1
Component: cli
2017-06-28 17:53:56 -07:00
Sebastiaan van Stijn 5570d38a23 Merge pull request #215 from imkin/default-max-size-param-doc
Adding docs for "overlay2.size" storage-opt
Upstream-commit: 0ec3e8a8d5
Component: cli
2017-06-28 14:23:34 -07:00
Charlie Drage f397c29ebe on_failure -> on-failure in compose code
on_failure should be on-failure

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
Upstream-commit: d3f9a6c610
Component: cli
2017-06-28 11:10:02 -04:00
Vincent Demeester d034f04bc4 Merge pull request #260 from aaronlehmann/verify-message
progress: Show success message when finished counting down
Upstream-commit: 92a2a1d539
Component: cli
2017-06-28 09:30:49 +02:00
Dhawal Yogesh Bhanushali 241ddf7729 Adding docs for "overlay2.size" storage-opt
Signed-off-by: Dhawal Yogesh Bhanushali <dbhanushali@vmware.com>
Upstream-commit: ff2552f7a1
Component: cli
2017-06-27 23:58:57 -07:00
Aaron Lehmann b057843522 progress: Show task error in place of progress bar
If a task encounters an error, the interactive "service create" and
"service update" commands should show that error instead of showing a
stuck progress bar.

To validate:

docker service create --detach=false --name broken --restart-condition=none --replicas 3 busybox asdf
and
docker service create --detach=false --name broken --mode global --restart-condition none busybox asdf

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 1ef585f65d
Component: cli
2017-06-27 15:12:31 -07:00
Aaron Lehmann ad9f81da7f progress: Show success message when finished counting down
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 82e069026b
Component: cli
2017-06-27 15:07:10 -07:00
Arash Deshmeh 2bf9a1e1f5 fixed the output leak from daemon unit tests
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
Upstream-commit: 69b226a89c
Component: cli
2017-06-27 14:22:49 -04:00
Victor Vieux 37752ce207 add --detach to docker scale
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Upstream-commit: 6c6b1091d9
Component: cli
2017-06-27 09:55:10 -07:00
Harald Albers d4b74e4fd3 Add bash completion for service create|update --network-(add|rm)
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: fa0f470a5f
Component: cli
2017-06-27 17:43:05 +02:00
Harald Albers 2d54e9fa16 Add bash completion for service create|update (update|rollback)-order
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 71dd0e0b66
Component: cli
2017-06-27 17:32:43 +02:00
Harald Albers 7fb6cb009c Add bash completion for system prune --volumes
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 36b572dfdf
Component: cli
2017-06-27 16:37:41 +02:00
Vincent Demeester ac616d52fb Rename NewConfigFile to New in configfile package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 105b21d1ab
Component: cli
2017-06-27 16:31:38 +02:00
Harald Albers 55b50a2ecf Add bash completion for plugin events
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: f0f7150537
Component: cli
2017-06-27 15:37:14 +02:00
Daniel Nephin 284dc93fb1 Add missing unit tests.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 62dfbef4d8
Component: cli
2017-06-27 13:46:47 +02:00
Daniel Nephin 2f4e7d39ca Move credential getting functions to the ConfigFile.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: a3cbc70147
Component: cli
2017-06-27 13:46:47 +02:00
Daniel Nephin c380487034 Cleanup config/credentials, remove dependency on config file.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: 33cbb70270
Component: cli
2017-06-27 13:45:50 +02:00
Daniel Nephin 4682e5be27 Move config file loading to more appropriate packages.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: a8c70e43a3
Component: cli
2017-06-27 13:45:50 +02:00
Harald Albers 098742e654 Add bash completion for service create --detach
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8baef1098e
Component: cli
2017-06-27 12:58:38 +02:00
Harald Albers 7a7da398c1 Fix bash completion for network create --internal
`--internal` is a boolean option. It was falsely treated as non-boolean.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 12dc9eb11f
Component: cli
2017-06-27 12:39:27 +02:00
Harald Albers 7612cca1fe Add bash completion for service create|update --entrypoint
Also fixes a wrong option: `--arg` should be `--args`.

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e0462e8472
Component: cli
2017-06-27 11:54:05 +02:00
Harald Albers b6d365bb3f Add bash completion for label filter of prune commands
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 8b99b65ca8
Component: cli
2017-06-27 11:28:52 +02:00
Sebastiaan van Stijn 59836240bc Merge pull request #230 from mstanleyjones/remove-userns-details
Remove specific config info about userns-remap
Upstream-commit: 2eac0bb7b7
Component: cli
2017-06-26 21:11:53 -07:00
Sebastiaan van Stijn 146ac6efc7 Merge pull request #225 from mstanleyjones/ps-markdown-formatting
Reformat filtering options in ps ref
Upstream-commit: 8fc3179111
Component: cli
2017-06-26 21:05:42 -07:00
Sebastiaan van Stijn f453764eee Merge pull request #207 from cyli/warn-swarm-ca-command
If `docker swarm ca` is not called with the `--rotate` flag, warn if other flags are passed
Upstream-commit: cfff0e2259
Component: cli
2017-06-26 20:56:54 -07:00
Tibor Vass 0fcd0709a5 Merge pull request #219 from vieux/scale
hide `--detach` for docker < 17.05
Upstream-commit: c3e5445659
Component: cli
2017-06-26 20:47:39 -07:00
Victor Vieux 5323af3564 hide --detach for docker < 17.05
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
Upstream-commit: db60f25561
Component: cli
2017-06-26 18:55:30 -07:00
Victor Vieux bc7c33134c Merge pull request #231 from tonistiigi/client-session-fssession
Incrementally sending build context
Upstream-commit: 0133e13353
Component: cli
2017-06-26 17:15:34 -07:00
Sebastiaan van Stijn 99068fccc9 Merge pull request #237 from aaronlehmann/progress-before-assignment
progress: Show progress of replicated tasks before they are assigned
Upstream-commit: 2f58992f85
Component: cli
2017-06-26 17:14:07 -07:00
Tonis Tiigi f1b5e42df0 Use long running session in builder
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>

Add incremental context send support

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: b95638a5ac
Component: cli
2017-06-26 16:30:01 -07:00
Sebastiaan van Stijn daace4e1a1 Merge pull request #241 from mstanleyjones/master
Fix false Liquid errors
Upstream-commit: 3648a8b9d0
Component: cli
2017-06-26 13:19:04 -07:00
Misty Stanley-Jones 6c88b7bdd9 Fix false Liquid errors
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Upstream-commit: 11c1729e00
Component: cli
2017-06-26 12:50:34 -07:00
Harald Albers 1f11d8b4bd Add bash completion for network create --ingress
Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: e4f9ad77c8
Component: cli
2017-06-25 00:27:14 +02:00
Vincent Demeester 6e00d88916 Update go-connections dependency
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 9f34e340b3
Component: cli
2017-06-24 12:40:26 +02:00
Sebastiaan van Stijn d0a0bd4e19 Merge pull request #235 from vdemeester/234-fix-warn
Add a line break after warning 👼
Upstream-commit: 298d486d8b
Component: cli
2017-06-24 02:17:26 -07:00
Aaron Lehmann 3b769b27be progress: Show progress of replicated tasks before they are assigned
This was only showing tasks that belong to nodes that are currently up,
so that tasks on down nodes don't appear to be stuck. But this
unintentionally excludes tasks that haven't been assigned yet, so if a
task is stuck before assignment, for example because no nodes meet its
constraints, a progress bar won't even be shown. The check should only
apply to tasks that have a node assignment.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: d3d09f67b1
Component: cli
2017-06-23 17:34:59 -07:00
Tonis Tiigi ec6218872a fix build issue with updated moby
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: ae8d049f9e
Component: cli
2017-06-23 16:12:20 -07:00
Daniel Nephin a2d1e59fe3 Merge pull request #236 from vdemeester/import-displayable-ports-from-moby
Import DisplayablePorts from moby/moby source
Upstream-commit: 8b6196ded7
Component: cli
2017-06-23 15:01:53 -04:00
Tonis Tiigi d33398c2c4 vendor: update moby
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Upstream-commit: 4adf701567
Component: cli
2017-06-23 11:34:22 -07:00
Daniel Nephin a254f57702 Fix cyclomatic complexity of two formatters
Signed-off-by: Daniel Nephin <dnephin@docker.com>
Upstream-commit: c60d13e539
Component: cli
2017-06-23 11:34:22 -07:00
Vincent Demeester 61f81c51e1 Add a line break after warning 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: b7fad8f1dc
Component: cli
2017-06-23 20:15:00 +02:00