Граф коммитов

106 Коммитов

Автор SHA1 Сообщение Дата
Silvin Lubecki 198b282b66 Bump docker/cli to master revision abafad3df202a691bc07332ea166af548a6cd9a0
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2020-04-21 14:14:01 +02:00
ulyssessouza 864442b8a7 Use docker/buildx repo intead of a fork
Signed-off-by: ulyssessouza <ulyssessouza@gmail.com>
2020-01-07 16:22:26 +01:00
Ulysses Souza 1573491769 Use fork of buildx to fix file finalizer
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-01-07 16:18:07 +01:00
Nicolas De Loof 3064a5da7f use docker/reference.Store to manage tags/digest by app image ID
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2020-01-07 12:53:57 +01:00
Nicolas De Loof 06944d9137 Use multierror
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-11-27 08:42:43 +01:00
Yves Brissaud 16810230d8 bump cnab-to-oci to v0.3.0-beta2
This version contains code that allows to read and use relocation map
during fixup phase

See https://github.com/docker/cnab-to-oci/pull/82

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2019-11-26 14:46:15 +01:00
Nicolas De Loof 05a8a012f9
jackpal/gateway#21 was merged
https://github.com/jackpal/gateway/pull/21

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-11-18 10:51:54 +01:00
Anca Iordache ed930a8041 vendor update
Signed-off-by: Anca Iordache <anca.iordache@docker.com>
2019-11-12 13:49:42 +01:00
Guillaume Lours 240f7a865c Add inspect command to display info of running application only
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2019-11-08 13:13:53 +01:00
Guillaume Lours 3f6a0417c6 Vendor Docker CLI to 6318939f30e01585b34eb6a68a54b890a8d54eb0 & gojsonschema to v1.2.0
Signed-off-by: Guillaume Lours <guillaume.lours@docker.com>
2019-11-08 13:13:07 +01:00
Yves Brissaud c9a62caae9 Bump cnab-go and others
Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2019-11-07 19:30:51 +01:00
Yves Brissaud dc83704d7f Update cnab-to-oci to v0.3.0-beta1 and cnab schema version to 1.0.0
Allow to push all images from the push/fixup command

Signed-off-by: Yves Brissaud <yves.brissaud@docker.com>
2019-11-07 19:01:27 +01:00
Nicolas De Loof 8beb2f1398 Discover the IP address to based on default gateway
Without this check, Linux bridge docker0 or Winwdows DockerNAT could be
selected as "host IP" but won't allow to route to container
Same issue probalby exists on Linux with docker0 bridge
Here we discover the default gateway, and search for the interface
configured on the same network.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-11-07 17:39:29 +01:00
Nicolas De Loof c94e7daa80 Dep ensure
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-07 15:40:55 +02:00
Nicolas De Loof 9d6eb024d2 Bundle is not a command anymore
Code moved to packager

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-07 15:40:55 +02:00
Nicolas De Loof b81704555c Include fixes by buildx team
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-07 15:40:55 +02:00
Nicolas De Loof 3194afc479 Introduce `build` command by cloning `buildx bake`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-07 15:40:55 +02:00
Christopher Crone 90470cf306 vendor: Bump docker/cli
This allows us to rely on the upstream yaml.v2 library as it includes a
mitigation for malicious YAML files (see:
https://github.com/kubernetes/kubernetes/issues/83253).

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-10-01 16:44:03 +02:00
Nicolas De Loof 0df017d9e7
When none set, generate a random installation name
For uniformity with `docker run` user experience.
Note a full implementation would required to get the engine manage
random name unicity, like it does for containers.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-10-01 09:55:39 +02:00
Ulysses Souza c148977613 Bump docker CLI
Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-09-24 15:41:37 +02:00
Nicolas De loof daee95392e Remove `completion` command (#607)
* Remove `completion` command
* Bump cobra dependency for better zsh completion

`docker app completion` is not consistent with docker CLI
replaced by `--completion` flag (hidden)

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2019-09-09 17:49:57 +02:00
Djordje Lukic 6f5f3154d0 Update cnab-to-oci and cnab-go to latest
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-08-21 17:16:45 +02:00
Djordje Lukic 384883a300 Add debug logs (#590)
* Add more logs
Fixed some logs that didn't log the error buffer from the invocation
image.
* Update cnab-to-oci dependency
And pass a logger when pushing and pulling

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-08-20 11:01:18 +02:00
Djordje Lukic 0d7c51e4dc Remove renderers
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-08-14 14:44:35 +02:00
Jean-Christophe Sirot b9aa0edbc7 Remove remaining duffle dependency and minor refactoring of parameter handling due to cnab-go update
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2019-07-30 16:59:35 +02:00
Ulysses Souza 60a1f22a9a
Merge pull request #571 from rumpl/chore-update-cnab-to-oci
Update cnab-to-oci
2019-07-15 16:11:46 +02:00
Djordje Lukic 62a24c7224 Update cnab-to-oci
So that we can depend on containerd/containerd directly

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2019-07-12 15:36:10 +02:00
Silvin Lubecki 3e7bcada07 Bump docker/cli 19.03 with rollback_config interpolation fix
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-07-12 14:11:52 +02:00
Jean-Christophe Sirot a7e36bd231 Bump cnab-to-oci, cnab-go and duffle dependencies
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2019-06-27 17:37:09 +02:00
Jean-Christophe Sirot de4e7d0ead Bump cnab-go and duffle dependencies. Reflect Bundle struct modifcations (mandatory schema version, JSON schema validation) in the code and tests
Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2019-06-25 19:15:49 +02:00
Silvin Lubecki 212415ea4c Bump github.com/docker/cnab-to-oci with Custom field fix
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-06-11 18:06:08 +02:00
Silvin Lubecki 7630d7bafb Bump github.com/deislabs/duffle and github.com/deislabs/cnab-go
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-06-11 16:18:16 +02:00
Silvin Lubecki cbdc83942e Mark the app plugin as an experimental plugin. Only a cli with experimental flag enabled will list docker app as a plugin.
Bump docker/cli to the last 19.03

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-05-24 16:48:49 +02:00
Silvin Lubecki b4a8a4a6f9 Bump docker/cli
Bump docker/docker
Fix last changes on context stores made on docker/cli (the main store interface has been split to multiple smaller interfaces).

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-05-23 16:58:59 +02:00
Christopher Crone ba8173dd91 Bump docker/cli to latest 19.03 branch
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-04-18 15:05:19 +02:00
Simon Ferquel e47b30f8ac Move to kube 1.14.1
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-17 11:48:41 +02:00
Simon Ferquel db0b30d5ff Update vendoring
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-04-17 11:27:39 +02:00
Jean-Christophe Sirot 6b0d2deff5 - Update k8s dependencies to 1.14.0
- Use a custom duffle branch using github.com/deislabs/cnab-go/bundle (waiting for https://github.com/deislabs/duffle/pull/681 to be merged)

Signed-off-by: Jean-Christophe Sirot <jean-christophe.sirot@docker.com>
2019-04-17 11:27:39 +02:00
Silvin Lubecki bd8b7aca41 Add an Application Store, which can initialize a common bundle store, a claim store per context and a credential store per context.
* Removed duffle home dependency
* Renaming all claim messages with installation

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-04-16 16:44:07 +02:00
Christopher Crone 105642c9bb Fix shorthand help flag
Update docker/cli vendoring (which required a bump of docker/docker) in
order to include this fix: https://github.com/docker/cli/pull/1787

Signed-off-by: Christopher Crone <christopher.crone@docker.com>
2019-04-02 15:26:26 +02:00
Ian Campbell e93616cfbe Uses `Set.Merge` helper from duffle.
Using a temporary fork until the PR is merged.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-03-27 13:14:09 +00:00
Ian Campbell 1255e0dd29 Switch back to duffle master.
Since https://github.com/deislabs/duffle/pull/664 is now merged.

Signed-off-by: Ian Campbell <ijc@docker.com>
2019-03-26 17:13:36 +00:00
Silvin Lubecki 867378b7a8 Bumping deislabs/duffle to get the new "apply-to" field on parameters and configure container streams.
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
2019-03-25 12:05:20 +01:00
Simon Ferquel 860ed137a0 Bump docker/cli vendoring
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-03-18 15:16:35 +01:00
Simon Ferquel 534ad7f55c Vendoring bump for cnab-to-oci, containerd, x/sys
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-03-15 16:27:36 +01:00
Nick Adcock aecbf56806 get bind mount socket path from docker endpoint
Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2019-03-15 10:07:47 +00:00
Nick Adcock 939b9a38a9 Handled empty target context name when deciding to mount bindings
Testing with local and tcp hosts

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
2019-03-15 10:07:47 +00:00
Simon Ferquel 5168e5b508 Ground work for non-root
Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-03-15 10:07:47 +00:00
Simon Ferquel 401e7a7741 Fix support for insecure registries
Updates the cnab-to-oci vendoring so that we support both registries in plain HTTP and registries with invalid certificates. This makes --insecure-registries flag behave like dockerd.

Signed-off-by: Simon Ferquel <simon.ferquel@docker.com>
2019-03-11 16:19:17 +01:00
Ulysses Souza 064a9172c2 Fix e2e binaries path and cli vendor override
- Update docker/cli is now pointing to chris-crone/cli.
The change needs the merge of https://github.com/docker/cli/pull/1718
and https://github.com/docker/cli/pull/1690
- Fix issues relative paths in Jenkinsfile and Jenkinsfile.baguette
- Avoid using '--config' in favor of env variable 'DOCKER_CONFIG'

Signed-off-by: Ulysses Souza <ulysses.souza@docker.com>
2019-03-08 11:59:30 +01:00