Commit Graph

4668 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 993b78d276 Merge pull request #239 from albers/completion-network-create--ingress
Add bash completion for `docker network create --ingress`
2017-06-30 00:05:44 -07:00
Sebastiaan van Stijn 0b050a599f Merge pull request #233 from dnephin/build-stdin-with-compress
Build stdin with compress
2017-06-29 18:38:55 -07:00
Sebastiaan van Stijn 40a636efc1 Merge pull request #244 from thaJeztah/tiny-builder-docs-improvements
Some builder docs improvements
2017-06-29 18:34:03 -07:00
Arash Deshmeh 244e28f41f add unit tests to task package
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-06-29 17:57:31 -04:00
Daniel Nephin 81e9837859 Refactor caCommand
Split out a swarmCAOptions struct for options that are shared between
the ca and update commands.

Change the 'no trust root' message to an error.

Add some unit tests.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-29 17:57:06 -04:00
Sebastiaan van Stijn 29b419eed5
Some builder docs improvements
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2017-06-29 14:20:16 -07:00
Daniel Nephin a04aa8fe28 Compress after rewriting the archive.
Write a test showing compress failure.

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

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
2017-06-28 11:10:02 -04:00
Vincent Demeester 92a2a1d539 Merge pull request #260 from aaronlehmann/verify-message
progress: Show success message when finished counting down
2017-06-28 09:30:49 +02:00
Dhawal Yogesh Bhanushali ff2552f7a1 Adding docs for "overlay2.size" storage-opt
Signed-off-by: Dhawal Yogesh Bhanushali <dbhanushali@vmware.com>
2017-06-27 23:58:57 -07:00
Aaron Lehmann 1ef585f65d 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>
2017-06-27 15:12:31 -07:00
Aaron Lehmann 82e069026b progress: Show success message when finished counting down
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-27 15:07:10 -07:00
Arash Deshmeh 69b226a89c fixed the output leak from daemon unit tests
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2017-06-27 14:22:49 -04:00
Victor Vieux 6c6b1091d9 add --detach to docker scale
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-27 09:55:10 -07:00
Harald Albers fa0f470a5f Add bash completion for `service create|update --network-(add|rm)`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 17:43:05 +02:00
Harald Albers 71dd0e0b66 Add bash completion for `service create|update (update|rollback)-order`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 17:32:43 +02:00
Harald Albers 36b572dfdf Add bash completion for `system prune --volumes`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 16:37:41 +02:00
Vincent Demeester 105b21d1ab
Rename NewConfigFile to New in configfile package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-27 16:31:38 +02:00
Harald Albers f0f7150537 Add bash completion for plugin events
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 15:37:14 +02:00
Daniel Nephin 62dfbef4d8
Add missing unit tests.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:46:47 +02:00
Daniel Nephin a3cbc70147
Move credential getting functions to the ConfigFile.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:46:47 +02:00
Daniel Nephin 33cbb70270
Cleanup config/credentials, remove dependency on config file.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:45:50 +02:00
Daniel Nephin a8c70e43a3
Move config file loading to more appropriate packages.
Signed-off-by: Daniel Nephin <dnephin@docker.com>
2017-06-27 13:45:50 +02:00
Harald Albers 8baef1098e Add bash completion for `service create --detach`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 12:58:38 +02:00
Harald Albers 12dc9eb11f 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>
2017-06-27 12:39:27 +02:00
Harald Albers e0462e8472 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>
2017-06-27 11:54:05 +02:00
Harald Albers 8b99b65ca8 Add bash completion for `label` filter of `prune` commands
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-27 11:28:52 +02:00
Sebastiaan van Stijn 2eac0bb7b7 Merge pull request #230 from mstanleyjones/remove-userns-details
Remove specific config info about userns-remap
2017-06-26 21:11:53 -07:00
Sebastiaan van Stijn 8fc3179111 Merge pull request #225 from mstanleyjones/ps-markdown-formatting
Reformat filtering options in ps ref
2017-06-26 21:05:42 -07:00
Sebastiaan van Stijn cfff0e2259 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
2017-06-26 20:56:54 -07:00
Tibor Vass c3e5445659 Merge pull request #219 from vieux/scale
hide `--detach` for docker < 17.05
2017-06-26 20:47:39 -07:00
Victor Vieux db60f25561 hide --detach for docker < 17.05
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2017-06-26 18:55:30 -07:00
Victor Vieux 0133e13353 Merge pull request #231 from tonistiigi/client-session-fssession
Incrementally sending build context
2017-06-26 17:15:34 -07:00
Sebastiaan van Stijn 2f58992f85 Merge pull request #237 from aaronlehmann/progress-before-assignment
progress: Show progress of replicated tasks before they are assigned
2017-06-26 17:14:07 -07:00
Tonis Tiigi b95638a5ac 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>
2017-06-26 16:30:01 -07:00
Sebastiaan van Stijn 3648a8b9d0 Merge pull request #241 from mstanleyjones/master
Fix false Liquid errors
2017-06-26 13:19:04 -07:00
Misty Stanley-Jones 11c1729e00 Fix false Liquid errors
Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2017-06-26 12:50:34 -07:00
Harald Albers e4f9ad77c8 Add bash completion for `network create --ingress`
Signed-off-by: Harald Albers <github@albersweb.de>
2017-06-25 00:27:14 +02:00
Vincent Demeester 9f34e340b3
Update go-connections dependency
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
2017-06-24 12:40:26 +02:00
Sebastiaan van Stijn 298d486d8b Merge pull request #235 from vdemeester/234-fix-warn
Add a line break after warning 👼
2017-06-24 02:17:26 -07:00