Skip to content

don't apply "rebuild" watch strategy by default#10710

Merged
ndeloof merged 1 commit intodocker:v2from
ndeloof:no_default_watch
Jun 15, 2023
Merged

don't apply "rebuild" watch strategy by default#10710
ndeloof merged 1 commit intodocker:v2from
ndeloof:no_default_watch

Conversation

@ndeloof
Copy link
Copy Markdown
Contributor

@ndeloof ndeloof commented Jun 14, 2023

What I did
stop automatically creating a "rebuild" watch config for services without an explicit develop section

Related issue
fixes #10626
fixes #10570
https://docker.atlassian.net/browse/ENV-213

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

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 14, 2023

Codecov Report

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

Comparison is base (26cb941) 58.90% compared to head (3ac6ad6) 58.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##               v2   #10710      +/-   ##
==========================================
+ Coverage   58.90%   58.96%   +0.05%     
==========================================
  Files         112      112              
  Lines        9743     9735       -8     
==========================================
+ Hits         5739     5740       +1     
+ Misses       3417     3409       -8     
+ Partials      587      586       -1     
Impacted Files Coverage Δ
pkg/compose/watch.go 22.80% <0.00%> (+0.70%) ⬆️

... and 4 files with indirect coverage changes

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

@ndeloof ndeloof requested review from a team, StefanScherer, glours, laurazard, milas, nicksieger and ulyssessouza and removed request for a team June 15, 2023 11:57
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.

yes

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.

LGTM

@ndeloof ndeloof merged commit 7ffe83d into docker:v2 Jun 15, 2023
@ndeloof ndeloof deleted the no_default_watch branch June 15, 2023 13:59
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] docker compose alpha watch restart all my services [BUG] Alpha watch should not rebuild when no x-develop option set

3 participants