Commit Graph

468 Commits

Author SHA1 Message Date
Nicolas De Loof 919d6c9ed8
LogPrinter should not be part of the API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-09 10:15:38 +02:00
Nicolas De loof 45a2c422e1
Merge pull request #1760 from ndeloof/split_writer
code cleanup: splitWriter does not use service/container name
2021-06-09 07:31:16 +02:00
Nicolas De loof 2edec5aa90
Merge pull request #1752 from ndeloof/up_backend
move up logic from CLI into local backend
2021-06-09 07:29:35 +02:00
Nicolas De Loof 9d5026e966
code cleanup: splitWriter does not use service/container name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-08 16:16:06 +02:00
Nicolas De loof d0e8ebef15
Merge pull request #1751 from ndeloof/pull_only_missing
only report pull progress if we have something to pull
2021-06-07 20:27:34 +02:00
Nicolas De Loof c135bd1d7c
move up logic from CLI into local backend
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 20:20:31 +02:00
Nicolas De Loof dec9169198
move progress to backend on "down"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:41:59 +02:00
Nicolas De Loof afa1618f17
only report pull progress if we have something to pull
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-07 15:31:49 +02:00
Nicolas De loof 165686838e
Merge pull request #1733 from ndeloof/pull_digested
stop using buildkit hack to pull images
2021-06-04 14:26:25 +02:00
Nicolas De Loof 82f35d1bac
Move progress writter into backend(s)
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 14:16:22 +02:00
Nicolas De Loof fe085df7b7
stop using buildkit hack to pull images
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-03 11:32:30 +02:00
Nicolas De Loof 907e8e1f24 implement healthcheck.disable by setting Test: "NONE"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-02 10:32:17 +02:00
Nicolas De loof 2315a1dad7
Merge pull request #1707 from docker/up_follow 2021-05-31 10:54:40 +02:00
Nicolas De Loof 4947a4037f
remove unresolved vars from env set by `exec`
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-27 16:19:28 +02:00
Nicolas De Loof 6f6ae071d6
improve container events watch robustness
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-26 14:04:38 +02:00
Nicolas De Loof c16834cba6
attach to containers added by "scale"
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 22:59:57 +02:00
Nicolas De loof 2605aae33f
Merge pull request #1711 from ndeloof/rename_race
prevent race condition renaming containers
2021-05-25 20:53:10 +02:00
Nicolas De Loof 5f09e330fb
prevent race condition renaming containers
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-25 14:02:07 +02:00
guillaume.tardif 7a25378590 Do not resolve mount linux abs path as windows path on windows (eg. /var/run/docker.sock => c:/var/run/docker.sock folder)
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-05-24 21:54:36 +02:00
Nicolas De loof ccaa1754d4
Merge pull request #1682 from ndeloof/exec_env
define exec env by merging service env with command line --env
2021-05-20 21:29:57 +02:00
Nicolas De Loof 04c3833450
define exec env by merging service env with command line --env
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 18:54:03 +02:00
Nicolas De loof d70b50bc3b
Merge pull request #1689 from chris-crone/bump-linter 2021-05-20 18:33:48 +02:00
Nicolas De Loof c76dd110c7
only (re)start selected services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-20 12:03:30 +02:00
Chris Crone d27bda5e1d build: Update golangci-lint
* Replace goling with revive as the former is deprecated

Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-05-19 15:00:53 +00:00
Nicolas De loof dbd936b704
Merge pull request #1679 from ndeloof/build_args
resolve build args on compose up --build
2021-05-17 16:32:38 +02:00
Nicolas De loof 2162bc922a
Merge pull request #1675 from ndeloof/ps_exitcode
ps shows healthcheck only for running container
2021-05-17 16:31:43 +02:00
Nicolas De loof 8f2e572edd
Merge pull request #1676 from ndeloof/bind_npipe
named pipe need to be mounted using the bind API
2021-05-17 16:30:45 +02:00
Nicolas De Loof 377bcd8048
only start current project services
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 11:05:23 +02:00
Nicolas De Loof 70eaf2cc61
resolve build args on compose up --build
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 10:54:05 +02:00
Nicolas De Loof 221f420ce2
ps shows healthcheck only for running container
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 10:02:47 +02:00
Nicolas De Loof 8f458570c7
named pipe need to be mounted using the bind API
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-17 09:40:54 +02:00
Nicolas De Loof fc25d3a54a
support mulitple bindings for same target port
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-10 08:55:49 +02:00
Nicolas De loof 8a5390ae3e
Merge pull request #1651 from ndeloof/ghcr_credentials 2021-05-07 12:19:17 +02:00
Nicolas De Loof e0ae9d21b4
pass authprovider to buildkit session in addition to driver's Auth parameter
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-07 11:49:20 +02:00
Nicolas De loof db6978aa57
Merge pull request #1628 from ulyssessouza/add-bypass-envvar
Support bypass envvars
2021-05-07 07:25:14 +02:00
Ulysses Souza f159bc4901 Support bypass envvars
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-06 15:47:31 -03:00
Nicolas De loof 4c0cbea24b
Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
Nicolas De Loof f40846126e
compose ps list stopped containers. -a is used to include oneoff
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-06 11:30:38 +02:00
Nicolas De loof f1aaab1943
Merge pull request #1648 from ndeloof/single_ulimit 2021-05-06 11:14:37 +02:00
Nicolas De Loof fa4d028f8e
apply single ulimit as soft+hard limit
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-06 10:31:25 +02:00
Nicolas De loof c308e1f1b9
Merge pull request #1647 from gtardif/fix_race_depens_on
Avoid using for variable in go func, as this creates race conditions
2021-05-06 10:02:20 +02:00
Guillaume Tardif 998dbf79f9 Avoid using for variable in go func, as this creates race conditions
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-06 09:43:12 +02:00
Guillaume Tardif 416af599aa Fix building compose files with absolute build context / Dockerfile
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 16:58:50 +02:00
Nicolas De loof 7840be9693
Merge pull request #1633 from ndeloof/ipaddress
configure service with ipAddress
2021-05-04 20:32:40 +02:00
Nicolas De Loof ba588275a3
configure service with ipAddress
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-04 15:53:09 +02:00
Nicolas De loof c64317a981
Merge pull request #1627 from ulyssessouza/add-services-on-ps
Add support for services on ps command
2021-05-04 12:45:29 +02:00
Nicolas De Loof 87abb4eb9c
don't invoke r.Close on error as r == nil
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-05-04 08:42:49 +02:00
Ulysses Souza 36d6c40e52 Add support for services on ps command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-05-03 20:03:52 -03:00
Julien Tant d827213d32 ignore linter err
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 11:57:55 -07:00
Julien Tant 42cd3da59d add tests
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-03 10:58:52 -07:00