Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DdevProjectConfig (used in add-ons) doesn't include config overrides. #7154

@stasadev

Description

@stasadev

Preliminary checklist

Output of ddev debug test

Expand `ddev debug test` diagnostic information
[COPY-PASTE HERE THE OUTPUT OF `ddev debug test`]

Expected Behavior

DdevProjectConfig includes data from .ddev/config.yaml and .ddev/config.*.yaml

Actual Behavior

DdevProjectConfig only includes data from .ddev/config.yaml

Steps To Reproduce

# ddev-sqlsrv has `omit_containers: [db]`
$ ddev add-on get ddev/ddev-sqlsrv

# it doesn't fail, but it should, because ddev-mydumper requires a db
$ ddev add-on get stasadev/ddev-mydumper --version v1.0.2

Anything else?

I fixed it on the add-on side by using ddev debug configyaml.

This fails as expected:

$ ddev add-on get stasadev/ddev-mydumper
...
Unable to install the add-on because no db service was found
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions