Guillaume Lours
149b882ebf
don't create from run command during dependencies creation process
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-06-24 11:26:52 +02:00
Nicolas De Loof
1d34661e91
fix support for additional_contexts with service sub-dependencies
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-06-12 09:47:19 +02:00
Nicolas De Loof
97530790fa
only look for required image in bake metadata
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-06-11 13:46:57 +02:00
Nicolas De Loof
0d0e12cc85
use Bake by default
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-06-05 16:20:44 +02:00
Nicolas De Loof
27e90a3fdf
end-to-end test
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-06-02 18:57:07 +02:00
Nicolas De Loof
f4fc010d6b
build dependent service images when required
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-06-02 12:28:43 +02:00
Guillaume Lours
d49a68ecbf
bridge - run transformer container as current user
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-05-27 10:35:30 +02:00
Guillaume Lours
be83f63f26
add e2e tests for bridge convert and transformers ls commands
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-05-27 10:35:30 +02:00
Nicolas De Loof
a54814ff39
e2e test
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-05-22 14:58:53 +02:00
Nicolas De Loof
4f6cc2a330
run ContainerStart sequentially
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-05-20 09:47:58 +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
Anvar Umuraliev
23fc76a540
Fix quiet option when using COMPOSE_BAKE=1
...
Signed-off-by: Anvar Umuraliev <an.umuraliev@gmail.com>
2025-05-15 15:42:25 +02:00
Alessio Perugini
f0f47a8aa8
e2e: add tests
...
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
Nicolas De Loof
0403f0d76d
e2e test for start_interval
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-04-30 11:08:09 +02:00
Anvar Umuraliev
f8dae06df8
Add support for COMPOSE_PROGRESS env variable
...
COMPOSE_PROGRESS variable supports 5 values:
- "auto" - detect console capabilities
- "tty" - use terminal capability for advanced rendering
- "plain" - dump raw events to output
- "quiet" - don't display events
- "json" - outputs a machine-readable JSON stream
Signed-off-by: Anvar Umuraliev <an.umuraliev@gmail.com>
2025-04-25 11:56:07 +02:00
Nicolas De Loof
955e4ed94e
introduce networks.interface_name
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-04-24 12:06:17 +02:00
Nicolas De Loof
01e83defc2
introduce volume.type=image
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-04-09 16:59:42 +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
342a2a9e71
Fix support for depends_on.restart in up and restart commands
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-19 15:29:50 +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
Matiboux
9129abe516
Fix edge-case bug path prefix check for watch & bind mounts
...
Signed-off-by: Matiboux <matiboux@gmail.com>
2025-03-17 17:40:40 +01:00
Nicolas De Loof
ea07ba8e2a
fix support for secret set by env inside included file
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-14 16:21:45 +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
Guillaume Lours
55b5f233c2
use Defang secret-detector to identify potential secret leaks before publishing OCI artifacts
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-11 15:02:37 +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
Nicolas De Loof
66a47169d5
Publish compose file with required siblings used by extends
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-07 13:58:10 +01:00
Nicolas De Loof
4c2ecb542f
reject compose file with bind mounts
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-04 16:10:53 +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
Nicolas De Loof
19571c2c81
e2e test for watch.include
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-03-03 21:59:26 +01:00
Guillaume Lours
66dfa7d181
block the publication of an OCI artifact if one or more services contain only a build section
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2025-03-03 16:23:21 +01:00
Nicolas De Loof
e38b729a30
fix service: additional_contexts running internal buildkit client
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-02-25 09:47:02 +01:00
Sebastiaan van Stijn
6f1f76c0e6
pkg/e2e: fix contains: use assert.Contains (testifylint)
...
pkg/e2e/ps_test.go:50:5: contains: use assert.Contains (testifylint)
assert.True(t, strings.Contains(line, "127.0.0.1:8001->8000/tcp"))
^
pkg/e2e/ps_test.go:54:5: contains: use assert.Contains (testifylint)
assert.True(t, strings.Contains(line, "80/tcp, 443/tcp, 8080/tcp"))
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-02-10 17:03:36 +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
Nicolas De Loof
f14c15fa57
capture error message reported by bake and forward to compose
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-31 17:05:11 +01:00
Nicolas De Loof
8d68ef587f
fix exporter to only load image for default platform
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-31 17:05:11 +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
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
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
Nicolas De Loof
d04b3f48e4
e2e test covering multi-service rebuild with common resources
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-22 12:05:58 +01:00
Nicolas De Loof
ed10804e0f
manage watch
applied to mulitple services
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-22 12:05:58 +01:00
Nicolas De Loof
fa39503469
image can be set to a local ID, that isn't a valid docker ref
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-09 09:55:30 +01:00
Nicolas De Loof
2b21c5df93
fix relative path in compose file
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2025-01-07 14:59:47 +01:00
Guillaume Lours
34bcd03a76
add --pull to run command
...
Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
2024-12-18 12:20:02 +01:00
Sebastiaan van Stijn
446e00520c
format code with gofumpt
...
Format the code with gofumpt to prevent my IDE from reformatting
every time I open a file. gofumpt provides a superset of gofmt,
so should not impact users that are not using gofumpt.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-12-17 16:50:14 +01:00
Nicolas De Loof
c01c9c29f4
e2e test to prevent future regression
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-12-16 15:46:47 +01:00
Nicolas De Loof
a20b69ac5b
e2e test for recreate volume
...
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-12-13 09:52:22 +01:00
Joana Hrotko
332311358e
Recreate container on volume configuration change
...
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2024-12-12 19:11:00 +01:00