Kube on the CI#3296
Conversation
9ab161f to
05b2421
Compare
| # We specifically want the static ones | ||
| TINI_CHECKSUM=static | ||
|
|
||
|
|
There was a problem hiding this comment.
Sharing that with the new kube script (moved to lib.sh)
|
Ok, target is green. This is a bit rough in its current shape, but we can make it better / more integrated in the future as we start seeing usage for it (eg: actual kube tests). |
|
FreeBSD failure is unrelated. Last push just removes two debugging print that are not consequential. |
|
To run kube tests: This must be run in the (containerd) context where kube containers have been created (by kubectl for example). There is now one test in https://github.com/containerd/nerdctl/pull/3296/files#diff-cb510ac1ecc8b03a6de395f8bfde3d161432dfbbf3d26814eec378cb350b41b7 It is an "anti" test - it assumes failure (because right now our code is broken), but MUST be transformed to assume success as soon as we fix the problem. The gist of things is:
|
94eaea7 to
c7a1032
Compare
|
@AkihiroSuda from the comments above - most of them addressed, BUT:
Kube-CI is green. |
The containerd objects should stay in containerd's |
Signed-off-by: apostasie <spam_blackhole@farcloser.world>
|
Latest push:
Let me know if you would like these flag names tweaked to something else. |
|
CI failures are:
If we can re-trigger these two - and eventually we need to figure out #3305 |
|
CI is green. |
|
Sorry for late review! thanks for effort I recommend using |
| setup() | ||
|
|
||
| t.Run("test commit / push on Kube (https://github.com/containerd/nerdctl/issues/827)", func(t *testing.T) { | ||
| t.Log("This test is meant to verify that we can commit / push an image from a pod." + |
There was a problem hiding this comment.
| t.Log("This test is meant to verify that we can commit / push an image from a pod." + | |
| t.Log("This test is meant to verify that we can commit / push an image that belongs to containerd `k8s` namespace." + |
There was a problem hiding this comment.
BTW it is a nerdctl issue not only a kube
There was a problem hiding this comment.
Do you mean issue #827 can be reproduced in a non-kube environment?
There was a problem hiding this comment.
Is there a separate ticket, or do you have a simple reproducer for it that does not involve kube?
Thanks @fahedouch ! It is not too late - can definitely send a follow-up PR - and yes, I can rename Just answered your comments above. Let me know what you think when you get a chance. |
|
Has the issue of the save error prompt been resolved? Thank you very much! content digest sha256:a58ecd4f0c864650a4286c3c2d49c7219a3f2fc8d7a0bf478aa9834acfe14ae7: not found |
This is meant to bring in kube testing (fix #3282):
kindto spin-upkube-test.kubewill run only "kube-compatible" tests - see testutilsTagging @lingdie because of recent work on kube issues with #827 and #3268 and facing that question of how to test on kube in here.
@fahedouch @AkihiroSuda and other folks - thoughts/feeback?