Commit Graph

4175 Commits

Author SHA1 Message Date
Harald Albers fc0dafbbd1 Improve bash completion for `service create|update --detach`
bash completion usually completes boolean options that default to `true`
with the `=false` suffix because that is the only syntax that really
changes behavior.
For this option, I implemented completion falsely.

Signed-off-by: Harald Albers <github@albersweb.de>
2017-07-03 17:40:23 +02:00
Vincent Demeester 85b41c3e71 Merge pull request #213 from dnephin/improve-swarm-ca-cmd
Refactor and UI changes to `swarm ca` command
2017-07-03 17:02:45 +02:00
Daniel Nephin 379b762495 Merge pull request #273 from adshmh/add-unit-tests-to-task-package
add unit tests to task package
2017-06-30 11:41:24 -04:00
Vincent Demeester afcc75ddfe Merge pull request #268 from albers/completion-swarm-ca
Add bash completion for `swarm ca`
2017-06-30 11:42:28 +02:00
Vincent Demeester 9689ccab1b Merge pull request #269 from albers/completion-swarm-init--data-path-addr
Fix bash completion for `swarm init|join --data-path-addr`
2017-06-30 10:29:35 +02:00
Sebastiaan van Stijn b306817220 Merge pull request #250 from albers/completion-service-create--detach
Add bash completion for `service create --detach`
2017-06-30 01:16:19 -07:00
Sebastiaan van Stijn c726ccaf6c Merge pull request #256 from albers/completion-service-update-order
Add bash completion for `service create|update (update|rollback)-order`
2017-06-30 01:12:57 -07:00
Sebastiaan van Stijn 321c692868 Merge pull request #257 from albers/completion-service--network-add
Add bash completion for `service create|update --network-(add|rm)`
2017-06-30 01:11:22 -07:00
Sebastiaan van Stijn d1ccfcaf2a Merge pull request #251 from albers/completion-plugin-events
Add bash completion for plugin events
2017-06-30 01:02:53 -07:00
Sebastiaan van Stijn 495ab9b3e9 Merge pull request #254 from albers/completion-system-prune--volumes
Add bash completion for `system prune --volumes`
2017-06-30 01:01:14 -07:00
Sebastiaan van Stijn b45c7d614e Merge pull request #249 from albers/completion-fix-network-create--internal
Fix bash completion for `network create --internal`
2017-06-30 00:11:38 -07:00
Sebastiaan van Stijn 1c4d070cf5 Merge pull request #247 from albers/completion-service--entrypoint
Add bash completion for `service create|update --entrypoint`
2017-06-30 00:09:20 -07:00
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
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 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
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
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