Skip to content

Apply no-deps before we select and mutate target service#10789

Merged
glours merged 1 commit intodocker:v2from
ndeloof:run_no_deps
Jul 10, 2023
Merged

Apply no-deps before we select and mutate target service#10789
glours merged 1 commit intodocker:v2from
ndeloof:run_no_deps

Conversation

@ndeloof
Copy link
Copy Markdown
Contributor

@ndeloof ndeloof commented Jul 10, 2023

What I did
project.ForServices mutates the project and services to remove depends_on relations, so we have to run it first before we select the run target to mutate it (again) otherwise we override project.ForServices tweaks

Related issue
fixes #10751

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof requested review from a team, StefanScherer, glours, laurazard, milas, nicksieger and ulyssessouza and removed request for a team July 10, 2023 09:52
Copy link
Copy Markdown
Contributor

@glours glours left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@milas milas left a comment

Choose a reason for hiding this comment

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

A test case might be nice here to help improve coverage around depends_on 😉

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
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.

[BUG] service is required by service but is disabled

3 participants