Repository navigation
Windows: In container build check - #19316
Merged
Merged
Conversation
Contributor
|
looks fine to me |
Contributor
|
I don't think we want to re-add the |
Member
Author
|
@estesp Wow, I have no idea what-so-ever how that change got in there. Rebasing/correcting.... |
lowenna
force-pushed
the
jjh/incontainererror
branch
from
January 14, 2016 00:06
99c5063 to
3df3ba0
Compare
Member
Author
|
@estesp Fixed. Thanks for catching that, Phil! |
lowenna
force-pushed
the
jjh/incontainererror
branch
2 times, most recently
from
January 14, 2016 21:10
dd033d5 to
127d370
Compare
Contributor
|
LGTM |
Contributor
|
Ping @tianon |
Member
There was a problem hiding this comment.
Can we switch this to inContainer= to match other uses of local variables within the scripts? We try to make only envs or cross-script vars all-caps.
Member
Author
There was a problem hiding this comment.
Yup, will be in next push
Signed-off-by: John Howard <[email protected]>
lowenna
force-pushed
the
jjh/incontainererror
branch
from
January 21, 2016 21:15
127d370 to
4dbd612
Compare
Member
Author
|
@tianon - Updated and pushed. |
Member
|
LGTM |
1 similar comment
Contributor
|
LGTM |
jessfraz
pushed a commit
that referenced
this pull request
Jan 21, 2016
Windows: In container build check
runcom
added a commit
to runcom/docker
that referenced
this pull request
Jan 24, 2016
moby#19316 wrongly checked if the length of the `$inContainer` string is non-zero. The script should check instead that the string is zero because we unset it if running outside the container. Without this we aren't receiving the usual warning that we should run `./hack/make.sh` in a container. Signed-off-by: Antonio Murdaca <[email protected]>
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]
Part of the overall Windows to Windows CI work. This updates the check in hack/make.sh so that it is aware of whether it's running inside a container in Windows and doesn't emit the build warning. The simplest way to do this is to check an environment variable which is set in the dockerfile (not yet merged) for Windows. [See https://gist.github.com/jhowardmsft/b9413e30ece1d4cf8465]
I also corrected the text which has been bugging me forever!
@jfrazelle @mikedougherty