1
0
mirror of https://github.com/docker/compose-cli.git synced 2026-10-23 18:09:06 +03:00

253 Commits

Author SHA1 Message Date
Milas Bowman
5593ef3034 cli: allow suppressing deprecation warning
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-05-18 11:49:58 -04:00
Milas Bowman
92edf30ce8 deprecation: text revisions
Co-authored-by: Han Yu <han@sent.com>
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-05-18 10:33:26 -04:00
Nicolas De Loof
53da0fed35 deprecation notice
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2023-05-16 15:51:50 +02:00
Milas Bowman
020489241f lint: update for Go 1.19 / golangci-lint 1.50.1
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-02-01 16:04:49 -05:00
Milas Bowman
e821c36bcc build: upgrade to Go 1.19 & build tweaks
* Use Go 1.19 and latest golangci-lint
* Bump support libraries (i.e. everything that does not
  touch cloud / Compose)
* Dockerfile caching/performance improvements

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
2023-02-01 16:04:49 -05:00
Sebastiaan van Stijn
fb71f3bc8a gofmt files with go 1.19
Prepare for future updates of Go, which may result in some changes in
formatting in GoDoc comments.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-07-25 12:31:30 +02:00
CrazyMax
1dce98712a Go 1.18
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-07-24 00:49:08 +02:00
dependabot[bot]
cc6af30acc Bump postgresql from 42.1.4 to 42.3.3 in /aci/e2e/aci-demo/words
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.1.4 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.1.4...REL42.3.3)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 01:15:06 +00:00
Mathieu Champlon
bef0ecf171 Bump compose to 2.0.1
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
2021-10-27 08:26:49 +02:00
Ulysses Souza
86470ba2b9 Fix e2e tests
ACI:
- "always-recreate-deps" and "force-recreate" default to 'api.RecreateDiverged'

ECS:
- project name

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-28 01:53:33 +02:00
Ulysses Souza
81c53672d5 Linter fixes
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-18 15:50:25 +02:00
Ulysses Souza
25b335924c Store context type in the context for reusing
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-17 19:26:24 +02:00
Ulysses Souza
fa7e0632ba Add checks for unsupported flags
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-09-17 10:19:02 +02:00
Nicolas De Loof
07f6f804a9 use docker/compose/v2
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-09-17 10:19:02 +02:00
Nicolas De Loof
88ba4599b2 move ACI/ECS -specific const to related packages
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-08-31 16:05:32 +02:00
Nicolas De Loof
7f18b47a9a prefer canonical compose.yaml file name
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-22 11:23:57 +02:00
Nicolas De Loof
49e7f2d45d Move compose v2 implementation under pkg/compose with dependencies
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +02:00
Nicolas De Loof
d90495e1cd move compose API into pkg/api
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-06-15 15:52:48 +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
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
Guillaume Tardif
003d61f6c6 Merge pull request #1673 from steele/support-wsl1-azure-login
Support Azure login page on WSL 1
2021-05-21 11:24:57 +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
James Steele
cac6bd410a Support Azure login page on WSL 1
The format reported by `/proc/version` differs between versions of WSL;
both report the text "Microsoft", albeit in different cases.

Signed-off-by: James Steele <james@kevel.org>
2021-05-15 22:06:33 +01:00
Nicolas De loof
4c0cbea24b Merge pull request #1623 from JulienTant/1391-add-cp 2021-05-06 15:49:51 +02:00
Guillaume Tardif
adcadf0af2 Use location specifed by user if provided, and do not override with group location. ACI allow deploying in any location regardless of resource group
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-05-05 17:06:26 +02:00
Julien Tant
8f9ce9d763 Add cp command
Signed-off-by: Julien Tant <julien@craftyx.fr>
2021-05-01 18:20:52 -07:00
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
Chris Crone
04bba675d2 aci-demo: Rework Dockerfiles
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-19 12:50:16 +02:00
Nicolas De loof
8e8635f520 Revert "E2e test improvements" 2021-04-13 17:15:19 +02:00
Chris Crone
faf120a5c0 aci-demo: Update web service Dockerfile
Signed-off-by: Chris Crone <christopher.crone@docker.com>
2021-04-13 15:11:36 +02:00
Guillaume Tardif
eb7732ffec Merge pull request #1505 from aiordache/image_cmd
Add `compose images` cmd
2021-04-08 11:24:35 +02:00
Nicolas De Loof
7d85485242 pause/unpause only need project name. use getContainers where possible
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-04-08 09:40:50 +02:00
aiordache
08055d7c7a Add compose images cmd
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-04-07 16:08:09 +02:00
Ulysses Souza
02744ac4f9 Add --ignore-pull-failures to command pull
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-24 14:44:04 -03:00
Guillaume Tardif
a86a4737da Merge pull request #1438 from docker/port
introduce `port` command for parity with docker-compose
2021-03-19 15:08:09 +01:00
Nicolas De Loof
8b38874aba introduce port command for parity with docker-compose
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-19 13:31:42 +01:00
Ulysses Souza
2fdc3bad48 Add restart command
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2021-03-16 02:02:36 -03:00
Nicolas De Loof
48402585fd replace passing parameters by context with singletons
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-12 15:28:17 +01:00
Nicolas De Loof
4c592700ee introduce docker compose events
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-08 12:19:05 +01:00
Nicolas De loof
f08c58f903 Merge pull request #1398 from aiordache/compose_top 2021-03-08 11:25:46 +01:00
aiordache
62f24c7086 Add ignore-push-failures flag to compose push
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 13:39:31 +01:00
aiordache
79af862613 Add compose top command
Signed-off-by: aiordache <anca.iordache@docker.com>
2021-03-05 12:44:16 +01:00
Nicolas De Loof
08e4222fbb introduce --build-args option
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-03 16:44:53 +01:00
Nicolas De Loof
6f73007265 support compose build --pull
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2021-03-02 09:06:21 +01:00
Guillaume Tardif
8f2af3011a continue waiting if expected container not yet ready for inspect
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-26 09:51:10 +01:00
Guillaume Tardif
e91947e4a5 ACI workaround invocation does not return, but container is actually running OK, trying to not block on this.
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-25 17:37:09 +01:00
Guillaume Tardif
3420df679b Merge pull request #1255 from karolz-ms/658-azure-sovereign-clouds
Add Azure sovereign cloud support
2021-02-25 14:17:30 +01:00
Nicolas De loof
c53398a422 Merge pull request #1348 from gtardif/compose_ls_all
Add —all option to compose ls, listing non running projects.
2021-02-24 15:17:34 +01:00
Guillaume Tardif
aa5619cef0 trying to better work around ACI flaky weird states
Signed-off-by: Guillaume Tardif <guillaume.tardif@gmail.com>
2021-02-24 14:06:54 +01:00