Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] I was testing this issue using the latest ci artifacts (https://github.com/docker/compose/actions/runs/8063698832) and stumbled upon a regression #11552

Closed
luciangabor opened this issue Feb 27, 2024 · 2 comments · Fixed by compose-spec/compose-go#593

Comments

@luciangabor
Copy link

          I was testing this issue using the latest ci artifacts (https://github.com/docker/compose/actions/runs/8063698832) and stumbled upon a regression

here's my setup:

$ find -name '*.yaml' -print -exec cat {} \;
./compose.yaml
include:
  - path:
      - dir/included.yaml
./dir/included.yaml
services:
  service:
    extends:
      file: extended.yaml
      service: service
./dir/extended.yaml
services:
  service:
    build: .

the regression is about running compose from a different dir:

$ docker compose version
Docker Compose version e2762b1

$ find
.
./compose.yaml
./dir
./dir/included.yaml
./dir/extended.yaml

$ docker compose config
name: attach
services:
  service:
    build:
      context: /path/to/attach/dir
      dockerfile: Dockerfile
    networks:
      default: null
networks:
  default:
    name: attach_default

$ env -C dir docker compose config
cannot read extended.yaml

Originally posted by @luciangabor in #11529 (comment)

@luciangabor
Copy link
Author

luciangabor commented Feb 29, 2024

seems to be fixed

ups, nope

@luciangabor luciangabor reopened this Feb 29, 2024
@luciangabor luciangabor changed the title [FUTURE-BUG] I was testing this issue using the latest ci artifacts (https://github.com/docker/compose/actions/runs/8063698832) and stumbled upon a regression [BUG] I was testing this issue using the latest ci artifacts (https://github.com/docker/compose/actions/runs/8063698832) and stumbled upon a regression Mar 7, 2024
@luciangabor
Copy link
Author

it's part of 2.24.7 now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant