Skip to content

checkConsistency must ignore disabled service if required=false#609

Merged
ndeloof merged 1 commit intocompose-spec:mainfrom
ndeloof:checkConsistency_depends_on
Mar 22, 2024
Merged

checkConsistency must ignore disabled service if required=false#609
ndeloof merged 1 commit intocompose-spec:mainfrom
ndeloof:checkConsistency_depends_on

Conversation

@ndeloof
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof commented Mar 22, 2024

after #606 checkConsistency will fail if a service referred by depends_on is disabled by profile (see https://github.com/docker/compose/blob/main/pkg/e2e/fixtures/dependencies/deps-not-required.yaml)

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof force-pushed the checkConsistency_depends_on branch from c456611 to 0a93416 Compare March 22, 2024 07:09
@ndeloof ndeloof requested review from glours, jhrotko, laurazard and milas and removed request for glours March 22, 2024 07:36
Copy link
Copy Markdown
Collaborator

@jhrotko jhrotko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ndeloof ndeloof merged commit d0722c0 into compose-spec:main Mar 22, 2024
@ndeloof ndeloof deleted the checkConsistency_depends_on branch March 22, 2024 09:43
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 this pull request may close these issues.

2 participants