-
Notifications
You must be signed in to change notification settings - Fork 60
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
enclave-cc e2e updates #353
Conversation
enclave-cc nightly tests have been failing since the latest payload images moved to a different Occlum instance path. Since the same pod .yaml is used for both v0.8.0 based payload and "latest" payload, just patch the path for the nightly tests until a new release payload is available. Signed-off-by: Mikko Ylinen <[email protected]>
Signed-off-by: Mikko Ylinen <[email protected]>
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.
Hello Mikko, this does fixes the problem. Since on that would you consider adding some debug info when such issue happens (like kubectl describe pod/enclave-cc-pod-sim
) to the workflow?
Also this is the first time I tried running this locally, is there a suggested way of doing that? I used a kcli vm with kind installed, then I ran tests/e2e/operator.sh
to create the registry (and populate it), then I created the kind cluster, modified it's /etc/hosts
to point registry
to main route and then I was able to run the test successfully. Not really straight forward so I guess there ought to be a better way.
Good point, I can look into adding something there.
I don't have any good script. A kcli vm with kind installed is a good starting point since it's roughly what a Github runner is. All the steps after that are in operator/.github/workflows/enclave-cc-e2e.yaml Lines 35 to 70 in 016a7d4
tests/e2e/operator.sh
|
Thanks, could be a separate PR to not to block this fix, though
Sure, that's what I followed, propagating the docker registry was the only troublemaker... Still would be nice to have a simple way to reproduce things locally...
I know, but it can serve well to setup the registry :-). |
No description provided.