Guillaume Lours
7e198ee6a3
remove provenance build flag for now
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-05-20 18:21:05 +02:00
Guillaume Lours
0566431c64
only use attestation when building image outside the development inner loop
...
when building a image, by default attestation are generated and modify the image ID which trigger a container recreation on up, run command even if there isn't any changes on the image content itself
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-05-20 18:21:05 +02:00
Nicolas De Loof
2352a4a016
introduce config --lock-image-digests
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-05-19 13:53:01 +02:00
Guillaume Lours
009a239510
remove convert alias from config command
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-05-19 12:30:09 +02:00
Alessio Perugini
f0f47a8aa8
e2e: add tests
...
Signed-off-by: Alessio Perugini <alessio@perugini.xyz>
2025-05-06 22:33:52 +02:00
Alessio Perugini
d6e3fa6d74
Fix config --variables not honoring the --format flag
...
When providing the --variables with --format flag, the current
implementation always printed in human readable form.
This patch correctly add the missing format in the formatter.Print
function, making the commands behave as an user would expect.
Example:
`config --variables --format json`
Signed-off-by: Alessio Perugini <alessio@perugini.xyz>
2025-05-06 22:33:52 +02:00
Nicolas De Loof
16e83f002d
introduce build --check
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-05-06 07:54:30 +02:00
Nicolas De Loof
fc8c56b407
select services implicitly declared by a service:xx build dependency
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-05-05 10:20:19 +02:00
Anvar Umuraliev
5bb46035cf
Set --progress flag default value from env if provided
...
Signed-off-by: Anvar Umuraliev <an.umuraliev@gmail.com>
2025-04-25 11:56:07 +02:00
Guillaume Lours
02c747a7de
bump compose-go to custom version of v2.5.0
...
should be replace by v2.5.1 it will be released
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-04-03 15:13:44 +02:00
Suleiman Dibirov
b543380708
feat(run): Add --quiet and --quiet-build options for the run command
...
Signed-off-by: Suleiman Dibirov <idsulik@gmail.com>
2025-04-03 14:50:38 +02:00
Guillaume Lours
7bedb5a02c
bump golangci-lint to version v2.0.2
...
and apply migration script
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-31 18:50:15 +02:00
Nicolas De Loof
0badcf3c8d
include implicit build dependencies in build command
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-28 10:25:41 +01:00
Nicolas De Loof
43e456145c
fix scale completion
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-26 17:44:54 +01:00
Nicolas De Loof
75368c7859
introduce build --print
to dump equivalent bakefile
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-26 12:24:31 +01:00
Nicolas De Loof
a0d1c3f944
introduce config --no-env-resolution
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-24 15:46:04 +01:00
Remco Kranenburg
b0badf1eb0
Set watch option --prune=true as default
...
Signed-off-by: Remco Kranenburg <remco.kranenburg@crunchr.com>
2025-03-19 17:48:05 +01:00
Nicolas De Loof
6a8c0988cf
run only loads required service env_file and ignores others
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-18 09:39:15 +01:00
Nicolas De Loof
f38f3f754c
PWD
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-17 17:26:45 +01:00
Max Proske
432ae23b0e
Test commandName subcommand order
...
Signed-off-by: Max Proske <max@mproske.com>
2025-03-14 10:00:45 +01:00
Guillaume Lours
13618756dc
make publish a regular command of Compose
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-13 16:17:00 +01:00
Dominik Menke
6c1e21572a
lint: address gofumpt issues
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
33e863ac6c
fix linting issue
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
f70209cf15
review: move Summary/Replica collection from cmd/ to pkg/
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
62e832eb50
compose top: reduce tabwriter padding
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
80e8fda14f
compose top: ensure CMD is right-most column
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
375a279785
top: expose container labels
...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Dominik Menke
a766e1669a
condense output of compose top
...
This changes the output format of `compose top` and inlines the service
container name into the table.
Previously, `compose top` had printed something like:
<service name>
UID PID ...
root 1 ...
Now, the output looks more like this:
SERVICE UID PID ...
<name> root 1 ...
Signed-off-by: Dominik Menke <dom@digineo.de>
2025-03-13 14:23:51 +01:00
Matt Landis
793c6f1715
add cli.isatty attribute to spans generated by compose
...
Signed-off-by: Matt Landis <matt.landis@docker.com>
2025-03-13 09:06:15 +01:00
Nicolas De Loof
83cafe2838
Add support to pass env-from-file to docker compose run
...
Signed-off-by: Vedant Koditkar <vedant.koditkar@outlook.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-12 09:04:39 +01:00
Nicolas De Loof
8615e9a7c1
deprecate --y, prefer --yes
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-11 09:01:36 +01:00
Nicolas De Loof
b23728941d
only load env_file after services have been selected
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-10 08:32:03 +01:00
Guillaume Lours
41e6094041
add warning message when a remote configuration include an another remote config
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-07 16:30:32 +01:00
Guillaume Lours
7b88c5b0ed
display interpolation variables and their values when running a remote stack
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-06 09:46:37 +01:00
Nicolas De Loof
bcd000ab40
refuse to publish compose file with local include
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-04 15:55:17 +01:00
Guillaume Lours
b6c8a2b9fc
display the location of OCI or GIT Compose stack download
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-03 22:09:06 +01:00
Max Proske
876ecc48be
Test version command
...
Signed-off-by: Max Proske <max@mproske.com>
2025-02-26 16:35:08 +01:00
Sebastiaan van Stijn
cf2fc2005c
go.mod: docker/docker, docker/cli v28.0.0, buildx v0.21.1
...
full diff:
- https://github.com/docker/docker/compare/v27.5.1...v28.0.0
- https://github.com/docker/cli/compare/v27.5.1...v28.0.0
- https://github.com/docker/buildx/compare/v0.20.1...v0.21.1
Co-authored-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-21 15:23:25 +01:00
Nicolas De Loof
b27f56eb19
fix error message when detach is implied by wait
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-02-21 09:48:56 +01:00
Max Proske
4e593ed074
Fix pull --parallel and --no-parallel deprecation warnings missing
...
Signed-off-by: Max Proske <max@mproske.com>
2025-02-20 14:09:58 +01:00
Max Proske
2884d6df0d
Fix ls --quiet help description
...
Signed-off-by: Max Proske <max@mproske.com>
2025-02-10 17:30:39 +01:00
Max Proske
6ecb8d40ae
Full test coverage for convert compatibility cmd
...
Signed-off-by: Max Proske <max@mproske.com>
2025-02-05 18:08:54 +01:00
Nicolas De Loof
a6a39422e4
remove cli.args opentelemetry attribute
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-02-05 16:29:45 +01:00
Max Proske
40cd08f318
Update link in stats --help output
...
Signed-off-by: Max Proske <max@mproske.com>
2025-02-04 18:12:17 +01:00
Nicolas De Loof
5e2abb6c26
support additional_context reference to another service
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-02-03 17:23:35 +01:00
Guillaume Lours
806ac91cf6
add warning when trying to publish env variables with OCI artifact
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-01-30 17:37:07 +01:00
Nicolas De Loof
1c073c0a04
watch should ony build selected services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-30 13:47:21 +01:00
Guillaume Lours
840288895e
add --with-env flag to publish command
...
this flag allow publishing env variables in the Compose OCI artifact
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-01-29 15:45:00 +01:00
Nicolas De Loof
4b70ff0ccd
fix support for ssh key from CLI flags
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-29 11:28:41 +01:00
Nicolas De Loof
23351ece81
remove exit code per error type used by legacy metrics system
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-28 10:26:41 +01:00