-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Combine the code of dealing with 'readonly' and 'ro'. #6443
Combine the code of dealing with 'readonly' and 'ro'. #6443
Conversation
Hi @SCHEN2015. Thanks for your PR. I'm waiting for a containers member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Filter before image tests is blowing up everywhere? |
/ok-to-test Yeah, I think master may be broken. Investigating... |
/approve For reference, this PR LGTM |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, SCHEN2015 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is coming out of |
return newMount, errors.Wrapf(optionArgError, "badly formatted option %q", val) | ||
} | ||
case "ro", "rw": | ||
case "readonly", "ro", "rw": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't read-only
still need to be here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tom, thanks for asking.
read-only
was in the manual, but this option had never been implemented in the code before.
mheon replaced read-only
with readonly
in the manual (#6380), I went ahead and removed read-only
from the code. As the final result, the readonly
is in the manual and code, the same behavior as Docker.
Have a nice day.
Charles
The dockerfile we're trying to build is just one line:
|
Ah, nevermind, wrong test, it's a 2 liner -
|
Dockerfile works fine locally, command runs fine in an Alpine image. |
/assign @rhatdan |
Aha, found the issue. My local machine pulls Alpine 3.11, CI is pulling 3.12 - the upgrade must have broken things |
Confirmed, manually pulling 3.12 down, I can replicate |
@SCHEN2015 I'm going to make a PR against master to fix CI, then once that merges you'll need to rebase to pick up the fix |
@mheon Please go ahead, I will do that. Thank you for the effort! |
#6450 to fix CI |
Should be good to rebase, master is green again. Thanks! |
containers#6380 (comment) Signed-off-by: Charles Shih <[email protected]>
f76e067
to
9f08881
Compare
/lgtm |
Thanks @SCHEN2015 Nice job. |
Combine the code of dealing with 'readonly' and 'ro'.
#6380 (comment)
Signed-off-by: Charles Shih [email protected]