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

watch involves up --build after change has been detected #10399

Merged
merged 1 commit into from Mar 24, 2023

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Mar 24, 2023

What I did
removed explicit request to rebuild images, then invoke up. Replaced by configuring services watched to have pull_policy=build so that images will always been rebuild. watch to rebuild image after changes has been detected is then strictly equivalent to compose up --build SERVICE

Related issue
As reported by @milas, after an initial rebuild, watch would run up but not rebuild anymore

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

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof requested review from a team, nicksieger, StefanScherer, ulyssessouza, glours, milas and laurazard and removed request for a team March 24, 2023 09:49
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.04 🎉

Comparison is base (925bc6f) 60.09% compared to head (d637cc3) 60.14%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10399      +/-   ##
==========================================
+ Coverage   60.09%   60.14%   +0.04%     
==========================================
  Files         104      104              
  Lines        9012     9005       -7     
==========================================
  Hits         5416     5416              
+ Misses       3030     3023       -7     
  Partials      566      566              
Impacted Files Coverage Δ
pkg/compose/watch.go 25.22% <0.00%> (+0.75%) ⬆️

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
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.

👍🏻

@milas milas merged commit fd28ab8 into docker:v2 Mar 24, 2023
23 of 24 checks passed
@ndeloof ndeloof deleted the watch_rebuild branch December 20, 2023 13:55
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