Commit Graph

  • b80bb0586e Migrate CLI commands to use LoadProject API main Guillaume Lours 2025-10-29 18:34:25 +01:00
  • d74274bc04 Add LoadProject method to Compose SDK API Guillaume Lours 2025-10-29 14:50:29 +01:00
  • 10f15cacdd fix typo in error message Stanislav Zhuk 2025-10-29 17:25:46 +02:00
  • 3658a063bb add AlwaysOkPrompt to replace 'AlwaysYes' current implementation' Guillaume Lours 2025-10-31 12:00:29 +01:00
  • 74a4ccdd85 fix various linting issues Sebastiaan van Stijn 2025-10-28 20:57:51 +01:00
  • 0d21922234 test checking bake internal load build definition v2.40.x Guillaume Lours 2025-10-30 18:20:25 +01:00
  • 6719f47bd4 test checking bake internal load build definition Guillaume Lours 2025-10-30 18:20:25 +01:00
  • 49b1c1e932 bump compose-go to version v2.9.1 v2.40.3 Guillaume Lours 2025-10-30 09:32:50 +01:00
  • 3eb2934eb7 bump compose-go to version v2.9.1 Guillaume Lours 2025-10-30 09:32:50 +01:00
  • 19351bbd7d fix compose_run_build_once_test.go Suleiman Dibirov 2025-10-30 09:05:09 +02:00
  • 3de9b0cc71 fix(git): Add validation for Git subdirectory paths to prevent traversal Suleiman Dibirov 2025-10-30 07:55:31 +02:00
  • 1d4acfb5fa Update e2e tests in compose_run_build_once_test.go to use project names for Docker Compose commands. Suleiman Dibirov 2025-10-28 18:43:40 +02:00
  • 670a181f77 Revert "no parallel in compose_run_build_once_test.go" Suleiman Dibirov 2025-10-28 18:35:54 +02:00
  • 739ae1b773 no parallel in compose_run_build_once_test.go Suleiman Dibirov 2025-10-28 18:02:35 +02:00
  • 141921e72b lint fix Suleiman Dibirov 2025-10-28 17:22:49 +02:00
  • c6bec2e712 add e2e tests Suleiman Dibirov 2025-10-28 16:15:32 +02:00
  • 0bd132b547 fix(run): Ensure images exist only for the target service in run command Suleiman Dibirov 2025-10-28 16:08:44 +02:00
  • c416ea7036 fix compose_run_build_once_test.go Suleiman Dibirov 2025-10-30 09:05:09 +02:00
  • 0d396bbacb fix(git): Add validation for Git subdirectory paths to prevent traversal Suleiman Dibirov 2025-10-30 07:55:31 +02:00
  • ee86f5527c run hooks on restart Nicolas De Loof 2025-10-27 08:08:15 +01:00
  • d0f2c3504a prompt default implementation to prevent a panic Nicolas De Loof 2025-10-24 09:56:47 +02:00
  • db1c279447 Code Cleanup Nicolas De Loof 2025-10-23 18:12:58 +02:00
  • 5e209ea113 Fix help output for "exec --no-tty" option Anton Ovchinnikov 2025-10-23 16:53:54 +02:00
  • 5dec597d4b fix OCI compose override support Nicolas De Loof 2025-10-23 10:04:40 +02:00
  • 47f6d02bef Test to check writeComposeFile detects invalid OCI artifact Nicolas De Loof 2025-10-22 19:35:03 +02:00
  • fc74c78963 Update e2e tests in compose_run_build_once_test.go to use project names for Docker Compose commands. Suleiman Dibirov 2025-10-28 18:43:40 +02:00
  • 658bff335f Revert "no parallel in compose_run_build_once_test.go" Suleiman Dibirov 2025-10-28 18:35:54 +02:00
  • 80030e1390 no parallel in compose_run_build_once_test.go Suleiman Dibirov 2025-10-28 18:02:35 +02:00
  • 6a35be5112 lint fix Suleiman Dibirov 2025-10-28 17:22:49 +02:00
  • 0c854a6ab7 add e2e tests Suleiman Dibirov 2025-10-28 16:15:32 +02:00
  • 557e0b6ec7 fix(run): Ensure images exist only for the target service in run command Suleiman Dibirov 2025-10-28 16:08:44 +02:00
  • a8933c91e7 stop progress UI during build to prevent interference with buildkit Display Nicolas De Loof 2025-10-28 16:41:39 +01:00
  • 7e3993bcac skip Start[ed|ing] events to avpd mix with container logs Nicolas De Loof 2025-10-27 16:38:56 +01:00
  • fd4f2f99cf register TTYWritter as an Event Processor Nicolas De Loof 2025-10-27 09:45:35 +01:00
  • ae25d27e5a remove unused RunWithStatus, always pass operation as title Nicolas De Loof 2025-10-27 08:50:31 +01:00
  • 394466683a use eventBus to collect tasks progress Nicolas De Loof 2025-10-24 11:14:28 +02:00
  • e5c8b68642 decouple Event from tty progress writer Nicolas De Loof 2025-10-24 09:45:47 +02:00
  • bf50c99193 pretend cli.Out is a containerd console.File Nicolas De Loof 2025-10-28 11:48:09 +01:00
  • 8274be8d08 configure Compose service with io.Reader and io.Writer remove usage of internal IO interfaces Guillaume Lours 2025-10-27 18:12:10 +01:00
  • 86e91e010d Add streamOverrideWrapper to intercepts command.Cli stream methods and transparently returns custom streams when provided via options Add new GetConfiguredStreams function to Compose API definition Guillaume Lours 2025-10-24 16:32:45 +02:00
  • e1678c5c43 Introduce abstractions to support SDK usage without requiring Docker CLI Guillaume Lours 2025-10-23 16:10:30 +02:00
  • 5924387e89 run hooks on restart Nicolas De Loof 2025-10-27 08:08:15 +01:00
  • 7f668bd7fe Setup Compose service using functional parameters This commit introduces WithMaxConcurrency and WithDryRun to replace direct mutators on composeService commands and flags are translated into a set of functional parameters which are eventually applied as a ComposeService is created just before being actually used by a command Nicolas De Loof 2025-10-23 15:25:32 +02:00
  • 3ce52883cb prompt default implementation to prevent a panic Nicolas De Loof 2025-10-24 09:56:47 +02:00
  • ac3b8fd8a5 Code Cleanup Nicolas De Loof 2025-10-23 18:12:58 +02:00
  • 8619f5d72a Fix help output for "exec --no-tty" option Anton Ovchinnikov 2025-10-23 16:53:54 +02:00
  • e59150baa8 fix OCI compose override support Nicolas De Loof 2025-10-23 10:04:40 +02:00
  • 6a90742ef2 Test to check writeComposeFile detects invalid OCI artifact Nicolas De Loof 2025-10-22 19:35:03 +02:00
  • 6007d4c7e7 publish env_file references as opaque hash to prevent paths conflicts v2.40.2 Nicolas De Loof 2025-10-21 19:32:20 +02:00
  • 69bcb962bf Enforce compose files from OCI artifact all get into the same target (cache) folder Guillaume Lours 2025-10-21 18:12:44 +02:00
  • 9b4fcce034 introduce WithPrompt to configure compose backend to use a plugable UI component for user interaction Nicolas De Loof 2025-10-22 14:26:46 +02:00
  • da5c57c29d test digest or canonical reference, not only tag, when checking if an image is already present Guillaume Lours 2025-10-20 17:44:57 +02:00
  • e25265dd55 remove unused code to only rely on api.Service Nicolas De Loof 2025-10-20 12:36:30 +02:00
  • e19e1278b5 fail build if minimal required version of buildx isn't installed Nicolas De Loof 2025-10-18 14:54:32 +02:00
  • 585c4db4f9 Compose can't create a tar with adequate uid:gid ownership as we can't get container UID/GID as int by ContainerInspect revert https://github.com/docker/compose/pull/13288 Nicolas De Loof 2025-10-20 08:26:03 +02:00
  • be8c7e6c60 make CTRL+Z a no-op operation on Windows v2.40.1 Guillaume Lours 2025-10-17 14:51:31 +02:00
  • 27f59d7f42 Detect failure to access os.TempDir Nicolas De Loof 2025-10-10 13:46:51 +02:00
  • 2681ed17a7 mutualize code from injectSecrets / injectConfigs Nicolas De Loof 2025-10-15 11:41:59 +02:00
  • ee75be342b Set secret/config uid:gid to match container's USER Nicolas De Loof 2025-10-15 11:10:27 +02:00
  • 157617480a fix race-condition bug in publish command Paul Thiele 2025-10-16 08:55:54 +02:00
  • 88aae9c46e support Ctrl+Z to run compose in background Nicolas De Loof 2025-10-15 16:48:16 +02:00
  • 7755302348 use fixed version of compose bridge transformer images to avoid CI issue on Compose when a new version is released and change the outputs Guillaume Lours 2025-10-14 08:57:31 +02:00
  • 147923c44c bump golang to version 1.24.9 Guillaume Lours 2025-10-14 08:51:30 +02:00
  • 289faae5fa fix(publish): in publish(), select all profiles in the project to publish. Olivier Goulpeau 2025-10-10 18:42:59 +02:00
  • e7aa484b78 fix(publish): in processFile(), load the compose file passing the project.Profiles to the loader.Options. Olivier Goulpeau 2025-10-10 15:08:27 +02:00
  • ae3309afab pkg/compose: build with bake: drop support for buildx v0.16 and lower Sebastiaan van Stijn 2025-10-13 17:43:35 +02:00
  • bb98f4f5f3
    build(deps): bump google.golang.org/grpc from 1.74.2 to 1.76.0 dependabot/go_modules/google.golang.org/grpc-1.76.0 dependabot[bot] 2025-10-13 19:26:02 +00:00
  • 0b5fb36eb5 build(deps): bump docker/buildx v0.29.1, moby/buildkit v0.25.1 Sebastiaan van Stijn 2025-10-13 17:23:40 +02:00
  • 63920c4cc0 pkg/compose: align classic builder implementation with docker/cli Sebastiaan van Stijn 2025-10-13 15:04:27 +02:00
  • a03f2562df bake only interpolates ${*} Nicolas De Loof 2025-10-08 12:20:34 +02:00
  • a07f2b8ded build(deps): bump golang.org/x/sys from 0.36.0 to 0.37.0 dependabot[bot] 2025-10-09 09:13:43 +00:00
  • f45a3ebcfd build(deps): bump github.com/docker/cli dependabot[bot] 2025-10-09 09:13:48 +00:00
  • 7fec70b6c7 build(deps): bump github.com/docker/docker dependabot[bot] 2025-10-09 09:13:55 +00:00
  • ce463d50b2 Fix: set PWD only if not set Kian Eliasi 2025-10-08 10:23:30 +03:30
  • fa7e85ed83 Write error to watcher error channel if Start() fails Benedikt Radtke 2025-10-04 01:20:59 +02:00
  • d9423f6872 build(deps): bump github.com/docker/cli v2.40.0 dependabot[bot] 2025-10-03 09:03:23 +00:00
  • 5add90240d build(deps): bump github.com/docker/docker dependabot[bot] 2025-10-03 09:03:12 +00:00
  • 07602f2070 publish Compose application as compose.yaml + images Nicolas De Loof 2025-09-29 09:48:34 +02:00
  • cf7e31f731 escape $ in bake.json as interpolation already has been managed by compose Nicolas De Loof 2025-10-03 09:05:09 +02:00
  • fa08127456 use containerd client for OCI operations Nicolas De Loof 2025-09-29 13:21:25 +02:00
  • 4ee52ad168 pass bake secrets by env Nicolas De Loof 2025-09-29 08:15:44 +02:00
  • 4a4776ec57 cmd/compose: fix minor linting issues Sebastiaan van Stijn 2025-09-29 13:36:49 +02:00
  • 713de5bb9e pkg/compose: explicitly map AuthConfig fields instead of a direct cast Sebastiaan van Stijn 2025-09-29 13:49:26 +02:00
  • 9ded1684cd gha: update test-matrix: remove docker 26.x Sebastiaan van Stijn 2025-09-29 14:05:59 +02:00
  • 8bc8593fd0 provider services: use '--project-name=' notation Guillaume Lours 2025-09-29 09:42:44 +02:00
  • 8978c1027d use containerd registry client Nicolas De Loof 2025-09-25 14:25:39 +02:00
  • 032e0309ee cmd: pluginMain: use WithUserAgent option Sebastiaan van Stijn 2025-09-24 15:16:40 +02:00
  • 38ba35e165 pkg/mocks: re-generate mocks Sebastiaan van Stijn 2025-09-25 15:57:47 +02:00
  • 56e0ba8080 build(deps): bump github.com/docker/docker, docker/cli v28.5.0-rc.1 Sebastiaan van Stijn 2025-09-24 15:09:59 +02:00
  • 9752fa5500 pluginMain: remove uses of DockerCLI.Apply Sebastiaan van Stijn 2025-09-24 12:49:05 +02:00
  • 4761fd88b0 pkg/compose: build: remove permissions warning on Windows Sebastiaan van Stijn 2025-09-19 19:30:11 +02:00
  • 02c8e63545 pkg/watch: remove unused IsWindowsShortReadError Sebastiaan van Stijn 2025-07-01 11:11:56 +02:00
  • ab7a6e9322 pkg/compose: remove uses of deprecated mitchellh/mapstructure module Sebastiaan van Stijn 2025-09-23 22:03:04 +02:00
  • 2ca7b96e33 resolve secrets based on env var before executing bake Nicolas De Loof 2025-09-22 10:31:34 +02:00
  • a32dc3da72 test: Set stop_signal to SIGTERM v2.39.4 Ricardo Branco 2025-09-05 23:14:44 +02:00
  • db260938c1 bump compose-go to version v2.9.0 Guillaume Lours 2025-09-19 09:58:17 +02:00
  • 5aea94794c Update comment on run command with tty & piped command Guillaume Lours 2025-09-19 09:37:58 +02:00
  • d07c437ce8 dectect if piped run command and disable tty if so Guillaume Lours 2025-09-18 17:37:04 +02:00
  • da72230c39 remove tty attribute from run options and use dedicated variable to avoid confusion Guillaume Lours 2025-09-18 15:28:00 +02:00
  • a429c09dfa fix support for build with bake when target docker endpoint requires TLS Nicolas De Loof 2025-09-17 17:31:01 +02:00