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

add support for start_interval #10939

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Aug 28, 2023

What I did
add support for start_interval

Related issue
closes #10830

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

@dotmitsu
Copy link

Can someone fix this?

@n-rodriguez
Copy link

Hi there! Any news?

@ndeloof
Copy link
Contributor Author

ndeloof commented Oct 30, 2023

This PR is a draft, waiting for docker engine 1.25 to be released with API to support this new parameter

@ndeloof ndeloof force-pushed the starrt_interval branch 2 times, most recently from 4c68049 to 89348d2 Compare November 20, 2023 10:43
Comment on lines 300 to 329

var runtimeVersion = struct {
once sync.Once
val string
err error
}{}
}

func (s *composeService) RuntimeVersion(ctx context.Context) (string, error) {
runtimeVersion.once.Do(func() {
version, err := s.dockerCli.Client().ServerVersion(ctx)
if err != nil {
runtimeVersion.err = err
}
runtimeVersion.val = version.APIVersion
})
return runtimeVersion.val, runtimeVersion.err

}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

see #11206

@ndeloof ndeloof marked this pull request as ready for review December 6, 2023 13:55
@ndeloof ndeloof requested review from a team, glours and milas and removed request for a team December 6, 2023 13:56
@ndeloof ndeloof force-pushed the starrt_interval branch 2 times, most recently from 8bb0321 to 4d1cd29 Compare December 6, 2023 14:07
Signed-off-by: Nicolas De Loof <[email protected]>
Copy link

codecov bot commented Dec 6, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (bdbda79) 56.34% compared to head (a1d2820) 56.29%.
Report is 1 commits behind head on main.

Files Patch % Lines
pkg/compose/convert.go 52.38% 9 Missing and 1 partial ⚠️
pkg/compose/create.go 57.14% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10939      +/-   ##
==========================================
- Coverage   56.34%   56.29%   -0.05%     
==========================================
  Files         134      134              
  Lines       11560    11574      +14     
==========================================
+ Hits         6513     6516       +3     
- Misses       4407     4416       +9     
- Partials      640      642       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

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.

start-interval parameter for docker compose healthcheck
6 participants