Nicolas De Loof
06b033db6c
`Event` is way too generic noon
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Nicolas De Loof
27d640dd41
e2e test and alignment with docker-compose output
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Nicolas De Loof
f3d093cb54
introduce cascade stop "--abort-on-container-exit" option
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Nicolas De Loof
7a7114fb5f
Capture container exit code and dump on console
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-09 17:07:24 +01:00
Guillaume Tardif
1562af9e41
Merge pull request #1249 from aiordache/kube_convert_cmd
...
Kube backend: Add `compose convert`
2021-02-09 11:31:26 +01:00
Nicolas De loof
c663ea6ffe
Merge pull request #1260 from gtardif/down_warn_nothing_to_remove
...
Down warning when nothing to remove
2021-02-09 10:49:03 +01:00
aiordache
f21326a319
Add output flag for writing chart files
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 18:10:02 +01:00
Guillaume Tardif
ec302a2e10
Fix display glitch when sending a single “Done” event with no previous “Working” event ont he same ID
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-08 17:21:18 +01:00
Guillaume Tardif
58e10a7af2
Display warning in `docker compose down` if nothing to remove (no container, no network)
...
For reference, `docker-compose` displays `WARNING: Network sentences_default not found`
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-08 17:20:36 +01:00
Guillaume Tardif
ec26ba5230
Merge pull request #1256 from ulyssessouza/e2e-secrets
...
Add content based e2e tests for configs and secrets
2021-02-08 16:18:36 +01:00
Guillaume Tardif
66fb7903ad
Merge pull request #1246 from ulyssessouza/label-envfiles
...
Add environment_files label on service's `env_file` section
2021-02-08 16:09:44 +01:00
Guillaume Tardif
ff5e3a5e92
Merge pull request #1245 from aiordache/kube_logs_cmd
...
Kube backend: Implement `compose logs`
2021-02-08 16:08:37 +01:00
aiordache
9be77beb73
Add compose logs test
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:20:49 +01:00
aiordache
1e7ce90561
Kube backend: add the `compose logs` command
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:19:47 +01:00
aiordache
a9247e5412
Kube backend: add `compose convert` for displaying the generated chart content
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-08 15:18:12 +01:00
Guillaume Tardif
9f56fc9fd6
Merge pull request #1258 from docker/red-e2e_compose_flags
...
Adapt e2e tests to compose flag order
2021-02-08 15:11:35 +01:00
Guillaume Tardif
a5affa447f
Adapt e2e tests to compose flag order
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-08 11:33:10 +01:00
Ulysses Souza
b9f34a168b
Add content based e2e tests for configs and secrets
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-08 02:57:02 -03:00
Guillaume Tardif
a5b148bda1
Merge pull request #1251 from gtardif/compose_health_display
...
Remove the HEALTH column in `docker compose ps`
2021-02-05 17:55:04 +01:00
Ulysses Souza
dc80f6b6e7
Add environment_files label
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-05 10:59:54 -03:00
Guillaume Tardif
24d40ba6ac
Merge pull request #1226 from docker/loglevel
...
Add support for --log-level
2021-02-05 12:38:13 +01:00
Guillaume Tardif
ad140697fc
Remove the HEALTH status in `docker compose ps` and combine values from fields “state” and “health”. Rename column STATE => STATUS.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 12:19:45 +01:00
Guillaume Tardif
42adbaeb8e
Merge pull request #1250 from docker/fix_logs
...
Filter out one_off containers on `compose logs`
2021-02-05 11:36:49 +01:00
Anca Iordache
2c22717624
Merge pull request #1244 from gtardif/kube_compose_ps
...
Kube compose ps
2021-02-05 11:22:14 +01:00
Nicolas De Loof
a1bc5c721d
Filter out one_off containers on `compose logs`
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-05 11:15:43 +01:00
Guillaume Tardif
de7ce7084e
Merge pull request #1241 from ulyssessouza/add-configs-bind
...
Add configs bind mount support
2021-02-05 11:15:23 +01:00
Guillaume Tardif
677bfc9ce5
Set kube namespace properly
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 11:09:06 +01:00
Guillaume Tardif
15c0b883fe
hide non running containers if no --all option
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:49:31 +01:00
Guillaume Tardif
f368036ddd
Add compose ps listing pod statuses (retrieve pods from compose project label)
...
This does not yet retrieve port sharing data (need to reconcile ports with kube services)
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
73e94b4ba5
Add Kube client
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 10:07:52 +01:00
Guillaume Tardif
f433fb89d1
Merge pull request #1247 from gtardif/revert_name_prefix
...
Revert "Prefix kube resource with compose project name "
2021-02-05 09:51:11 +01:00
Guillaume Tardif
211a1d5d2d
Revert "Prefix kube resource with compose project name to avoid name clashes between projects. "
...
This reverts commit 6b61902a23
.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-05 09:40:40 +01:00
Ulysses Souza
8d8934e449
Add configs bind mount support
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-02-04 19:24:34 -03:00
Nicolas De Loof
9f80214dc2
Make -l -D -H non-persistent to avoid conflict with subcommands
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-04 17:13:44 +01:00
Guillaume Tardif
caec924532
Merge pull request #1243 from gtardif/Kube_name_clash
...
Prefix kube resource with compose project name to avoid name clashes between projects.
2021-02-04 15:30:23 +01:00
Guillaume Tardif
6b61902a23
Prefix kube resource with compose project name to avoid name clashes between projects.
...
Kube resource name follow the form `<PROJECT>-<SERVICE>`. (“_” are not allowed there, using “-“. Project names can include “-“, so we can’t parse back to retrieve project and service names, we MUST rely on labels.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-04 13:55:27 +01:00
Guillaume Tardif
12dcf4cc37
Merge pull request #1229 from gtardif/refacto_helm_init
...
Init helm action by default with no logger, don’t require callers to initialise it.
2021-02-04 10:02:33 +01:00
Guillaume Tardif
4620d8b527
Merge pull request #1240 from docker/not_vpc
...
clearer error message and fix typo
2021-02-04 10:02:20 +01:00
Nicolas De Loof
2484dfa5b5
clearer error message and fix typo
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-04 08:02:22 +01:00
Nicolas De loof
74107bf512
Merge pull request #1231 from gtardif/compose_down_remove_orphans
...
Expose `—remove-orphans` in compose down command
2021-02-03 16:17:31 +01:00
Guillaume Tardif
af62c52716
Merge pull request #1230 from gtardif/fix_progress_time_display
...
Avoid negative elapsed the display when only one event is sent.
2021-02-03 15:55:50 +01:00
Guillaume Tardif
4b20d77a86
Expose `—remove-orphans` in compose down command
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:50:49 +01:00
Guillaume Tardif
f0dbc60676
Avoid negative elapsed the display when only one event is sent.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 15:39:58 +01:00
Guillaume Tardif
e3f1bc99d3
Init helm action by default with no logger, don’t require callers to initialise it.
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 14:20:22 +01:00
Nicolas De loof
09f9a117e2
Merge pull request #1228 from gtardif/healthcheck_e2e
...
Adding e2e test for local compose healthcheck in compose ps
2021-02-03 14:04:42 +01:00
Guillaume Tardif
bf56815251
Adding e2e test for local compose healthcheck in compose ps
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-03 12:54:22 +01:00
Guillaume Tardif
7d0be7ad5a
Merge pull request #1221 from aiordache/kube_progress_writer
...
Kube backend: Add progress writer to `compose up/down`
2021-02-03 12:01:03 +01:00
Nicolas De Loof
4cbb33e20d
Add support for --log-level
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-02-03 11:49:21 +01:00
aiordache
560014f248
Add progress writer to compose up/down
...
- remove intermediate compose interface
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-02-03 11:37:54 +01:00
Nicolas De loof
628417f02d
Merge pull request #1225 from docker/kill
...
Add kill command
2021-02-03 11:06:06 +01:00