Skip to content

using --process-compose-file to merge configurations fails #2700

@jay-aye-see-kay

Description

@jay-aye-see-kay

What happened?

Using the --process-compose-file flag to merge configurations fails, if no merging config this doesn't seem to be an issue

❯ devbox services up --process-compose-file process-compose.extras.yaml
Info: Ensuring packages are installed.
✓ Computed the Devbox environment.
Lockfile is up to date, resolution step is skipped
Already up to date
Done in 252ms
Info: Package "[email protected]" already in devbox.json
Info: Package "[email protected]" was already in devbox.json and was not modified
Info: Ensuring packages are installed.
✓ Computed the Devbox environment.
Starting all services: <...> 
25-09-16 15:52:29.381 FTL error="project /Users/jack/code/my-porject/process-compose.yaml is already specified in files to load"
Process-compose was terminated remotely, exit status 1

Steps to reproduce

  1. Create a process-compose.yaml file
  2. Create a second process-compose.extras.yaml file that overrides some of the config defined in the main one (i.e set is_disabled: "false")
  3. run devbox services up --process-compose-file process-compose.extras.yaml and see error message above instead of running services

Command

services

devbox.json

Devbox version

0.16.0

Nix version

nix (Nix) 2.26.2

What system does this bug occur on?

macOS (Apple Silicon)

Debug logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageIssue needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions