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

introduce restart for depends_on #10284

Merged
merged 1 commit into from Feb 18, 2023
Merged

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Feb 15, 2023

introduce support for restart on depends_on.
this allows to declare dependent service which, when restarted, need to also trigger configured service to be restarted. Typically applies to containers sharing namespaces.

updated compose-go to v1.11 where Normalize makes all dependencies explicit, we can filter dependencies and ignore those which are not impacted by dependencies to be restarted.

Also add support for repeated --env-file flag, as supported by compose-go v1.11

@ndeloof ndeloof changed the title WiP introduce restart for depends_on Feb 15, 2023
@codecov
Copy link

codecov bot commented Feb 15, 2023

Codecov Report

Base: 72.79% // Head: 73.89% // Increases project coverage by +1.10% 🎉

Coverage data is based on head (5933763) compared to base (8d56db5).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10284      +/-   ##
==========================================
+ Coverage   72.79%   73.89%   +1.10%     
==========================================
  Files           2        2              
  Lines         272      272              
==========================================
+ Hits          198      201       +3     
+ Misses         62       60       -2     
+ Partials       12       11       -1     
Impacted Files Coverage Δ
pkg/e2e/framework.go 72.15% <0.00%> (+1.17%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ndeloof ndeloof force-pushed the depends_on_restart branch 3 times, most recently from 93e1330 to ce9245b Compare February 17, 2023 15:52
@ndeloof ndeloof requested review from a team, nicksieger, StefanScherer, ulyssessouza, glours, milas and laurazard and removed request for a team February 17, 2023 15:53
@ndeloof ndeloof marked this pull request as ready for review February 17, 2023 15:56
@ndeloof ndeloof force-pushed the depends_on_restart branch 2 times, most recently from 9835821 to 55b7c3b Compare February 17, 2023 16:22
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.

None yet

2 participants