-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 cluster e2e for cri-containerd. #5370
Add cluster e2e for cri-containerd. #5370
Conversation
ENABLE_POD_SECURITY_POLICY=true | ||
|
||
# Envs for cri-containerd. | ||
KUBE_MASTER_EXTRA_METADATA="user-data=${GOPATH}/src/github.com/kubernetes-incubator/cri-containerd/test/e2e/master.yaml,cri-containerd-configure-sh=${GOPATH}/src/github.com/kubernetes-incubator/cri-containerd/test/configure.sh" |
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.
we don't allow $Var
in env file, it's not gonna expand. Maybe just use /go/src/...
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.
Done. Changed to reply on cwd.
20ad4f8
to
96420c5
Compare
# For now explicitly test etcd v2 mode in this suite. | ||
STORAGE_BACKEND=etcd2 | ||
TEST_ETCD_IMAGE=2.2.1 | ||
TEST_ETCD_VERSION=2.2.1 |
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.
(do you still wanna test against old etcd?, up to you)
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.
I see that all tests are still using this.
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.
yeah the e2e-gce uses this which I'm not sure why, anyway
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.
At least ci-kubernetes-e2e-gci-gce.env
is still using it.
"--check-leaked-resources", | ||
"--env-file=jobs/platform/gce.env", | ||
"--env-file=jobs/env/ci-cri-containerd-e2e-gce.env", | ||
"--extract=ci/latest", |
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.
I think after --extract
cwd will become /workspace/kubernetes
, before that it's inside the repo. Is this still correct?
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.
What?
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.
--extract=ci/latest
will hit https://github.com/kubernetes/test-infra/blob/master/kubetest/main.go#L368-L372
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.
if you wanna merge and watch the actual behavior I'm also fine
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.
What about now?
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.
Is extract=ci/latest
required for e2e test?
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.
ok :-)
96420c5
to
049f013
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: krzyzacy, Random-Liu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@Random-Liu: I updated Prow config for you! In response to this:
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. |
Add e2e test for cri-containerd.
This depends on kubernetes/kubernetes#54962.
We can get this merged first, but the test will keep failing until kubernetes/kubernetes#54962 is fixed.
For kubernetes/enhancements#286.