Sebastiaan van Stijn
04751fd58e
Merge pull request #1830 from thaJeztah/use_google_shlex
...
Switch to google/shlex
2019-04-18 17:53:37 +02:00
Sebastiaan van Stijn
438426e0fc
Merge pull request #1811 from thaJeztah/bump_grpc_1.12.2
...
bump google.golang.org/grpc v1.12.2
2019-04-18 17:49:19 +02:00
Sebastiaan van Stijn
71570160c1
Merge pull request #1826 from thaJeztah/bump_engine2
...
bump docker/docker ed07e1152879a4d156dff2e86abca3c4c811e743
2019-04-18 17:48:44 +02:00
Simon Ferquel
a3efd5d195
Cleanup context store interfaces
...
This remove the term "context" from context store interfaces, to make
them more concise
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-18 15:49:36 +02:00
Sebastiaan van Stijn
84b3805feb
Merge pull request #1836 from simonferquel/context-export-source
...
Split the context store interface
2019-04-18 15:36:13 +02:00
Simon Ferquel
225c9b189a
Split the context store interface
...
This is to make it easier to implement support for exporting contexts in
3rd party code, or to create mocks in tests.
2 exemples where it simplify things:
- docker-app desktop-specific context decorator (which rewrites parts of
the docker context to simplify UX when using on Docker Desktop contexts)
- ucp for including a context in the connection bundle
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-18 15:03:46 +02:00
Sebastiaan van Stijn
552e8d1a73
Merge pull request #1832 from thaJeztah/bump_golang_1.12.4
...
Bump Golang 1.12.4
2019-04-18 01:53:53 +02:00
Tibor Vass
2432af701a
Merge pull request #1808 from martencassel/securityopt-systempaths-unconfined
...
add cli integration for unconfined systempaths
2019-04-16 11:48:43 -07:00
Sebastiaan van Stijn
49bd6b729d
Merge pull request #1835 from dhiltgen/refined_login_warning
...
Refine warning for storing registry passwords
2019-04-16 10:36:24 +02:00
Daniel Hiltgen
5b3f171482
Add unit test coverage for token auth
...
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
2019-04-15 16:13:55 -07:00
Silvin Lubecki
f02d94afbb
Merge pull request #1825 from thaJeztah/bump_gotest_2.3.0
...
bump gotest.tools v2.3.0
2019-04-15 11:56:37 +02:00
Vincent Demeester
c61435b9c7
Merge pull request #1834 from thaJeztah/end_of_upstream_packages
...
vendor.conf: reserve space for downstream projects
2019-04-15 09:49:07 +02:00
Sebastiaan van Stijn
d043ab5993
Merge pull request #1823 from simonferquel/refactor-kubernetes-extras
...
Regroup all kubernetes extra-fields under x-kubernetes
2019-04-14 22:59:41 +02:00
Daniel Hiltgen
80d2496f99
Refine warning for storing registry passwords
...
This change refines the warning message returned during docker login to
only warn for unencrypted storage when the users password is being stored.
If the remote registry supports identity tokens, omit the warning,
since those tokens can be independently managed and revoked.
Signed-off-by: Daniel Hiltgen <daniel.hiltgen@docker.com>
2019-04-14 08:33:53 -07:00
Sebastiaan van Stijn
337a9611e2
bump gotestsum v0.3.4
...
https://github.com/gotestyourself/gotestsum/releases/tag/v0.3.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-14 16:51:12 +02:00
Sebastiaan van Stijn
8c5460a2cc
vendor.conf: reserve space for downstream projects
...
This helps merge conflicts in situations where downstream
projects have additional dependencies.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-14 16:21:12 +02:00
Sebastiaan van Stijn
cf47bb2cc2
Bump Golang 1.12.4
...
go1.12.4 (released 2019/04/11) fixes an issue where using the prebuilt
binary releases on older versions of GNU/Linux led to failures when linking
programs that used cgo. Only Linux users who hit this issue need to update.
See golang/go#31293 for details
Full diff: https://github.com/golang/go/compare/go1.12.3...go1.12.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-14 02:19:16 +02:00
Sebastiaan van Stijn
acb24f5164
Switch to google/shlex
...
The github.com/flynn-archive/go-shlex package is a fork of Google/shlex,
and the repository is now archived, so let's switch to the maintained
version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 17:51:15 +02:00
Sebastiaan van Stijn
c30e94533c
bump golang.org/x/sys 4b34438f7a67ee5f45cc6132e2bad873a20324e9
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:42 +02:00
Sebastiaan van Stijn
767fafdb32
bump golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:36 +02:00
Sebastiaan van Stijn
b6cee4567c
bump golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:33 +02:00
Sebastiaan van Stijn
34806a8b4c
bump golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:30 +02:00
Sebastiaan van Stijn
058f4337a4
bump opencontainers/runc v1.0.0-rc7-6-g029124da
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:27 +02:00
Sebastiaan van Stijn
a9c26efc3c
bump moby/buildkit b3028967ae6259c9a31c1a1deeccd30fe3469cce
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:24 +02:00
Sebastiaan van Stijn
9d37657f34
bump konsorten/go-windows-terminal-sequences 1.0.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:21 +02:00
Sebastiaan van Stijn
34e119e571
bump containerd/continuity 004b46473808b3e7a4a3049c20e4376c91eb966d
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:18 +02:00
Sebastiaan van Stijn
f07e16d42c
bump docker/docker ed07e1152879a4d156dff2e86abca3c4c811e743
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:09:15 +02:00
Sebastiaan van Stijn
40968111cc
bump github.com/google/shlex c34317bd91bf98fab745d77b03933cf8769299fe
...
full diff: 6f45313302...c34317bd91
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 03:00:54 +02:00
Sebastiaan van Stijn
c8d685457b
bump gotest.tools v2.3.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-13 01:47:37 +02:00
Sebastiaan van Stijn
25e6a64e2a
bump google.golang.org/grpc v1.12.2
...
full diff: https://github.com/grpc/grpc-go/compare/v1.12.0...v1.12.2
- grpc/grpc-go#2074 transport/server: fix race between writing status and header
- fix grpc/grpc-go#1972 Possible race sending headers from server while receiving message over size limit
- grpc/grpc-go#2074 transport: account for user configured small io write buffer
- fix grpc/grpc-go#2089 Server abruptly terminates connections if write buffer is small enough
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-12 20:46:34 +02:00
Brian Goff
58ec72afca
Merge pull request #1781 from dperny/swarm-credentialspec
...
Support using swarm Configs as CredentialSpecs in Services.
2019-04-12 09:35:03 -07:00
Drew Erny
42ec51e1ae
add support for config credentialspecs to compose
...
Signed-off-by: Drew Erny <drew.erny@docker.com>
2019-04-12 11:17:34 -05:00
Drew Erny
4cacd1304a
Add CredentialSpec tests
...
Adds tests for setting and updating swarm service CredentialSpecs,
especially when using a Config as a credential spec.
Signed-off-by: Drew Erny <drew.erny@docker.com>
2019-04-12 11:17:34 -05:00
Drew Erny
01f4f2e80a
Update CredentialSpec code to allow using configs
...
Updates the CredentialSpec handling code for services to allow using
swarm Configs.
Additionally, fixes a bug where the `--credential-spec` flag would not
be respected on service updates.
Signed-off-by: Drew Erny <drew.erny@docker.com>
2019-04-12 11:17:33 -05:00
Sebastiaan van Stijn
6511da877f
Add support for using Configs as CredentialSpecs in services
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-12 11:17:29 -05:00
Sebastiaan van Stijn
8b9cdab4e6
Merge pull request #1783 from sirlatrom/stack_compose_secret_driver
...
Add driver field to top-level secret object
2019-04-12 18:15:36 +02:00
Simon Ferquel
e0f20fd86a
Regroup all kubernetes extra-fields under x-kubernetes
...
This regroup all Kubernetes extra fields for compose-on-kubernetes
v1alpha3 in a single x-kubernetes object.
Also use the same naming scheme as cap_add etc. for fiels inside this
object.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-12 15:46:11 +02:00
Sebastiaan van Stijn
409c590fcf
Merge pull request #1815 from simonferquel/expose-to-internal-ports
...
Support internal Load Balancing for Kubernetes stacks
2019-04-12 14:02:15 +02:00
Simon Ferquel
cad20c759f
Support internal Load Balancing for Kubernetes stacks
...
On the server v0.4.21 has introduced a better way of dealing with
intra-stack networking: if the user can specify a list of endpoints
exposed internally, we now can setup a ClusterIP for this to avoid the
pitfalls of DNS-based load balancing.
This exposes the feature using the "Expose" compose field, and adds an
extra x-internal-service-type field to explicitly define how intra-stack
networking is handled on a service.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-12 11:43:30 +02:00
Vincent Demeester
a125283e01
Merge pull request #1822 from thaJeztah/format_vendor
...
Reformat vendor.conf and pin all deps by git-sha
2019-04-12 09:14:26 +02:00
Vincent Demeester
893f4a1194
Merge pull request #1818 from tao12345666333/bump-golang-1.12.3
...
Bump Golang 1.12.3
2019-04-12 09:10:23 +02:00
Sebastiaan van Stijn
9aa0d553c0
Sort vendor.conf alphabetically
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-12 01:33:10 +02:00
Sebastiaan van Stijn
6026ce4a8b
Reformat vendor.conf and pin all deps by git-sha
...
To make it better readable, and to encourage pinning
by sha, but "align" to a tagged release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-12 01:31:04 +02:00
Jintao Zhang
c55c801faf
Bump Golang 1.12.3
...
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
2019-04-11 10:44:16 +08:00
Sebastiaan van Stijn
ac758d9f80
Merge pull request #1817 from simonferquel/docker-host-context-warning
...
Add warnings when DOCKER_HOST conflicts with contexts
2019-04-10 15:01:20 +02:00
Simon Ferquel
1cefe057cd
Add warnings when DOCKER_HOST conflicts with contexts
...
For clarity, on `docker context use` or `docker context ls`, this adds a
warning if the DOCKER_HOST variable is set because it overrides the
active context.
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-10 10:14:47 +02:00
Sebastiaan van Stijn
d6af3e143e
Merge pull request #1773 from zappy-shu/create-context-from-current
...
add --from flag to context create
2019-04-09 16:38:46 +02:00
Brian Goff
f019bdcace
Merge pull request #1816 from thaJeztah/bump_golang_1.12.2
...
Bump Golang 1.12.2
2019-04-08 10:22:07 -07:00
Sebastiaan van Stijn
ed8733a940
Bump Golang 1.12.2
...
go1.12.2 (released 2019/04/05) includes fixes to the compiler, the go
command, the runtime, and the doc, net, net/http/httputil, and os packages.
See the Go 1.12.2 milestone on our issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.12.2
Full diff: https://github.com/golang/go/compare/go1.12.1...go1.12.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2019-04-08 18:53:12 +02:00
Harald Albers
7945010874
Add support for BuildKit specific options to bash completion
...
Signed-off-by: Harald Albers <github@albersweb.de>
2019-04-05 23:27:12 +02:00