compose/cmd/compose
Nicolas De Loof 795a4159e0
Some checks are pending
ci / validate (lint) (push) Waiting to run
ci / validate (relay-lint) (push) Waiting to run
ci / validate (relay-test) (push) Waiting to run
ci / validate (validate-docs) (push) Waiting to run
ci / validate (validate-go-mod) (push) Waiting to run
ci / validate (validate-headers) (push) Waiting to run
ci / validate (validate-mocks) (push) Waiting to run
ci / binary (push) Waiting to run
ci / binary-finalize (push) Blocked by required conditions
ci / bin-image-test (push) Waiting to run
ci / relay-image-test (push) Waiting to run
ci / test (push) Waiting to run
ci / e2e (plugin, oldstable, graphdriver) (push) Waiting to run
ci / e2e (standalone, oldstable, graphdriver) (push) Waiting to run
ci / e2e (plugin, stable, containerd) (push) Waiting to run
ci / e2e (plugin, stable, graphdriver) (push) Waiting to run
ci / e2e (standalone, stable, containerd) (push) Waiting to run
ci / e2e (standalone, stable, graphdriver) (push) Waiting to run
ci / coverage (push) Blocked by required conditions
ci / release (push) Blocked by required conditions
merge / bin-image-prepare (push) Waiting to run
merge / bin-image (push) Blocked by required conditions
merge / relay-image (push) Waiting to run
merge / module-image (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
zizmor / zizmor (push) Waiting to run
test(cmd/compose): update TestResolveImageDigests for compose-go#929
compose-go's WithImagesResolved no longer special-cases a type=image
volume source that happens to match another service's name -- per
compose-spec/compose-go#929, such a source is always resolved as a
plain docker image reference, never treated as an implicit reference
to that service's locally built image. This surfaced as a real CI
failure after bumping the compose-go pin: the mock in
TestResolveImageDigests only expected calls for nginx/someimage/
hookimage and panicked on the now-unexpected lookup for "builder".

Update the test to expect the volume source to resolve like any other
image reference, and drop the stale comment in resolveServiceImageDigests
describing the old, now-removed behavior.

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
2026-09-21 18:01:16 +02:00
..
alpha.go
attach.go
backend.go
bridge.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
bridge_test.go fix(compose): reject unknown subcommands under bridge/transformations 2026-08-31 17:08:47 +02:00
build.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
build_test.go fix(build): hand unresolved 'auto' progress mode to bake 2026-09-07 14:11:12 +02:00
commit.go
completion.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
compose.go fix(compose): move the job-target refusal into projectOrName itself 2026-09-21 16:35:20 +02:00
compose_oci_test.go
compose_progress_test.go refactor(display): rebuild the TTY progress renderer on a model/layout/screen split 2026-09-09 16:50:05 +02:00
compose_test.go fix(compose): move the job-target refusal into projectOrName itself 2026-09-21 16:35:20 +02:00
config.go test(cmd/compose): update TestResolveImageDigests for compose-go#929 2026-09-21 18:01:16 +02:00
config_test.go test(cmd/compose): update TestResolveImageDigests for compose-go#929 2026-09-21 18:01:16 +02:00
cp.go
create.go fix(create, start): clear error when targeting a job by name 2026-09-21 16:35:20 +02:00
down.go
events.go fix(events): validate service names before subscribing to events 2026-08-18 10:48:59 +02:00
exec.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
export.go
generate.go golangci-lint: enable perfsprint linter 2026-09-10 10:25:34 +02:00
hooks.go
hooks_test.go
images.go
kill.go
list.go chore: inline needless single-use helpers 2026-08-14 22:49:53 +02:00
logs.go docs: compose logs: add more links for flag descriptions 2026-06-10 09:36:31 +02:00
options.go cmd/prompt: remove uses of github.com/AlecAivazis/survey/v2 2026-09-11 15:30:07 +02:00
options_test.go build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
pause.go
port.go fix(port): preserve tie order for dual-stack port publishers 2026-09-14 10:48:03 +02:00
ps.go fix(ps): honor psFormat from Docker CLI config when no --format flag given 2026-08-20 14:05:34 +02:00
publish.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
pull.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
pullOptions_test.go build(deps): adopt compose-go jobs and the container-spec layering 2026-09-21 16:35:20 +02:00
push.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
remove.go
restart.go
run.go fix(run): correlate jobTargetErr against the specific failing name 2026-09-21 16:35:20 +02:00
run_test.go fix(run): correlate jobTargetErr against the specific failing name 2026-09-21 16:35:20 +02:00
scale.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
start.go fix(compose): move the job-target refusal into projectOrName itself 2026-09-21 16:35:20 +02:00
stats.go
stop.go
top.go
top_test.go
unsupported_attributes.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
unsupported_attributes_test.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
up.go run: execute jobs exactly like services 2026-09-21 16:35:20 +02:00
up_test.go run: execute jobs exactly like services 2026-09-21 16:35:20 +02:00
version.go
version_test.go
viz.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00
viz_test.go
volumes.go
wait.go
watch.go feat(compose): warn on unsupported compose-file attributes 2026-09-09 16:32:04 +02:00