Don't fail to start daemon if builder source is not available#37280
Merged
tonistiigi merged 1 commit intomoby:masterfrom Jun 14, 2018
Merged
Don't fail to start daemon if builder source is not available#37280tonistiigi merged 1 commit intomoby:masterfrom
tonistiigi merged 1 commit intomoby:masterfrom
Conversation
Signed-off-by: John Howard <[email protected]>
johnstep
approved these changes
Jun 13, 2018
Member
johnstep
left a comment
There was a problem hiding this comment.
LGTM as a temporary workaround, though only the git source creation can fail, so it might be best to leave creation of the others unchanged for now.
tonistiigi
approved these changes
Jun 13, 2018
Member
Author
|
Failures look benign. Are these current known CI errors? Z PPC Janky |
Contributor
thaJeztah
approved these changes
Jun 13, 2018
Member
thaJeztah
left a comment
There was a problem hiding this comment.
LGTM
Wonder if we should add a warning to the docker info output so that it's more clear that it's not supported (not for this PR)
Member
|
thanks @jhowardmsft! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: John Howard [email protected]
Fixes #37278. Following the merge of #37151 (comment), the daemon no longer starts if git is not in the path.
Temporary solution (not sure if correct, but at least to get master running again) is to only register the source if it initialises, and warn if failed.
@tonistiigi @tiborvass @johnstep @thaJeztah PTAL
@tianon @jstarks FYI
Before
After