Nicolas De Loof
15eab93b31
docker compose exec to return command exit code
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:58:45 +02:00
Nicolas De Loof
e433777796
resolve build args without value from environment
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-29 10:43:09 +02:00
Nicolas De loof
962dc9478f
Merge pull request #1604 from ndeloof/bind_volume
...
when bind mount has CreateHostPath set, use bind API
2021-04-28 18:42:19 +02:00
Guillaume Tardif
850f81c44f
Add rm --all flag for backward compatibility (deprecated - no effect)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-28 14:37:44 +02:00
Nicolas De Loof
b33588b725
when bind mount has CreateHostPath set, use bind API
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-27 17:03:16 +02:00
Guillaume Tardif
38b4220bdb
Merge pull request #1603 from gtardif/compose-cli-plugin-version
...
Separate compose CLI plugin version from Cloud integration version
2021-04-27 10:56:59 +02:00
Guillaume Tardif
28bd7bda3e
Separate compose CLI plugin version from Cloud integration version
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-27 09:16:41 +02:00
Nicolas De loof
9370ca315a
Merge pull request #1600 from gtardif/doc_readme
...
Update readme and clarify relation to docker-compose
2021-04-26 17:22:37 +02:00
Nicolas De loof
a1aa6e3ef0
Merge pull request #1596 from ndeloof/override
...
load sibling compose-override file when auto-discovered from parent dir
2021-04-26 17:19:28 +02:00
Guillaume Tardif
0312556f73
Update readme and clarify relation to docker-compose
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 16:34:36 +02:00
Nicolas De Loof
92c9be5f87
load override sibling compose file when auto-discovered from parent dir
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-26 14:41:06 +02:00
Guillaume Tardif
8d86f578ed
Merge pull request #1594 from gtardif/fix_test_race
...
Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
2021-04-26 12:12:25 +02:00
Guillaume Tardif
6c5bd67c19
Fix race in TestAttachRestart : wait for logs to appear rather than have a fixed TTL for the application
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-26 12:01:24 +02:00
Nicolas De loof
d99a5101a2
Merge pull request #1586 from gtardif/fix_win_test_paths
2021-04-23 16:17:11 +02:00
guillaume.tardif
df7f57e227
one more windows adaptation
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 13:21:10 +02:00
Guillaume Tardif
95179f1625
Compose Cancel test not compile/run on windows (no signals)
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 12:39:55 +02:00
Guillaume Tardif
1607370b81
Merge pull request #1588 from ndeloof/prefer_cli_plugin
...
On default context, "compose" is implemented by CLI Plugin
2021-04-23 12:28:00 +02:00
Nicolas De Loof
9123c75142
On default context, "compose" is implemented by CLI Plugin
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-23 12:06:14 +02:00
guillaume.tardif
4fa4284eb4
Adapt compose tests to pass with Desktop Windows
...
Signed-off-by: guillaume.tardif <guillaume.tardif@gmail.com>
2021-04-23 12:04:42 +02:00
Guillaume Tardif
61a448226b
Merge pull request #1587 from gtardif/cli_plugin_linux_install
...
Install compose cli plugin in addition to compose-cli binary with scripted install
2021-04-23 11:56:00 +02:00
Guillaume Tardif
14b8052d83
Install compose cli plugin in addition to compose-cli binary with scripted install
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 11:34:22 +02:00
Guillaume Tardif
ad42fc6c4d
Merge pull request #1578 from rjruizes/patch-1
...
fix typo in ecs-architecture.md
2021-04-23 11:02:00 +02:00
Nicolas De loof
fa05d4397a
Merge pull request #1539 from docker/inject
2021-04-23 11:00:02 +02:00
Guillaume Tardif
de3fa40bae
Handle Ctrl+C for compose CLI plugin.
...
Could do something nicer passing the context to the compose command, rather than intercepting it and checking if it’s “.WithCancel” or not...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-23 10:21:05 +02:00
Guillaume Tardif
0785114b90
Also ensure we don’t need compose cloud integration to run compose CLI plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 22:03:52 +02:00
Nicolas De Loof
db38d1244c
Retrieve compose failure category by exit code
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 18:01:28 +02:00
Nicolas De Loof
d8aa00a766
wrap compose cobra command to set exitcode according to metrics status
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:29 +02:00
Guillaume Tardif
1fce1623ee
Cross build & package compose-cli plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:29 +02:00
Guillaume Tardif
c7dc12d310
E2E tests using compose CLI plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 17:51:29 +02:00
Guillaume Tardif
1dc97e8c4b
Compose as a cli plugin
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:29 +02:00
Nicolas De Loof
85af8cdaaa
local backend to rely on dockerCli's LoadDefaultConfigFile
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:51:28 +02:00
Nicolas De Loof
0bdad7e551
pass compose.Service to cobra commands, dependency-injection style
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 17:50:56 +02:00
Nicolas De loof
f41efa3484
Merge pull request #1583 from gtardif/fix_port_display
...
Fir port display assertion, Docker engine returns 2 entries in container inspect
2021-04-22 17:46:28 +02:00
Guillaume Tardif
ec693fc5f8
Fir port display assertion, Docker engine returns 2 entries in container inspect
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 17:34:26 +02:00
Roman Ruiz-Esparza
39b70e56ee
fix typo in ecs-architecture.md
...
Signed-off-by: Roman Ruiz-Esparza <rjruizes@ncsu.edu>
2021-04-22 11:10:35 -04:00
Guillaume Tardif
da6cb7c8b0
Merge pull request #1581 from gtardif/fix_down_no_composefile
...
Fix down not working if run from a different folder than up, because container labels stored relative paths
2021-04-22 17:00:57 +02:00
Guillaume Tardif
cc0423df6e
Fix down not working if run from a different folder than up, because container labels stored relative paths
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-22 16:19:31 +02:00
Nicolas De loof
92920a03e0
Merge pull request #1579 from aiordache/build_fields
...
Remove service.Build and service.PullPolicy from config hash
2021-04-22 15:46:10 +02:00
Nicolas De loof
bce61295ba
Merge pull request #1554 from docker/poll_completed
...
fix race condition with init containers
2021-04-22 09:05:33 +02:00
Nicolas De Loof
c83c46293f
fix race: poll for service completion. Using waitContainer might happend after container exit
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-22 08:51:25 +02:00
aiordache
44d2b29d0f
Remove service.Build and service.PullPolicy fields when generating the config hash
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-21 10:23:36 +02:00
Nicolas De loof
cd4a08d0d6
Merge pull request #1530 from aiordache/recreate_after_build
2021-04-20 21:05:37 +02:00
Nicolas De loof
510ffc10a5
Merge pull request #1577 from ndeloof/stop_services
...
only stop/remove selected services
2021-04-20 21:05:03 +02:00
Nicolas De Loof
5cead2266d
only stop/remove selected services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-20 19:06:41 +02:00
aiordache
c227fd5c5f
refactor to reduce calls to InspectRawImage
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-20 15:18:08 +02:00
aiordache
31de84f547
Set image digest as service image to trigger recreation after build
...
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-20 15:15:24 +02:00
Nicolas De loof
d37dffe5e2
Merge pull request #1513 from gtardif/fix_concurrent_map_writes
...
Avoid panic: concurrent map writes
2021-04-20 14:28:13 +02:00
Guillaume Tardif
b96dc49bcb
Avoid panic: concurrent map writes
...
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-04-20 11:13:00 +02:00
Nicolas De loof
d86649140f
Merge pull request #1573 from ulyssessouza/network-progress-fix
...
Fix progress writer network creation and removal
2021-04-19 22:44:37 +02:00
Ulysses Souza
0fbeedfb6e
Fix progress writer network creation and removal
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-04-19 17:27:10 -03:00