-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Prep node_e2e for GCI to COS name change #40326
Prep node_e2e for GCI to COS name change #40326
Conversation
output, err := SSH(host, "cat", "/etc/os-release") | ||
if err != nil { | ||
return args, fmt.Errorf("issue detecting node's OS via node's /etc/os-release. Err: %v, Output:\n%s", err, output) | ||
} | ||
if !strings.Contains(output, "ID=gci") { | ||
// This is not a GCI image | ||
if !strings.Contains(output, "ID=gci") && !strings.Contains(output, "ID=cos") { |
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.
This is the functional change in this PR. Pointing it out because changing comments/log messages creates a lot of noise in the diff.
/cc @adityakali |
/lgtm |
@adityakali: you can't LGTM a PR unless you are an assignee. In response to this comment:
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. I understand the commands that are listed here. |
/lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED The following people have approved this PR: Random-Liu Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
Automatic merge from submit-queue |
/cc @dchen1107 |
cc/ @saad-ali for 1.5 patch release, and @jessfraz on 1.4 patch. The reason of patching is well said by @adityakali at #40326 (comment) |
hmm this file does not exist on my branch, but will look more into it |
In 1.4 the file is https://github.com/kubernetes/kubernetes/blob/release-1.4/test/e2e_node/remote/remote.go Some things have been rearranged recently. |
…ame change Signed-off-by: Jess Frazelle <acidburn@google.com>
opened #41088 |
1.5 cherry pick in #41170 -- please take a look |
apply #40326 on release-1.4: Prep node_e2e for GCI to COS name change
Commit found in the "release-1.5" branch appears to be this PR. Removing the "cherrypick-candidate" label. If this is an error find help to get your PR picked. |
GCI will soon change name in etc/os-release from "gci" to "cos".
This prepares the node_e2e tests to deal with that change and also updates some comments/log messages/var names in anticipation.