-
Notifications
You must be signed in to change notification settings - Fork 9
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
ci(.github): add helm chart smoketest workflow #234
Conversation
|
d95aedd
to
4c5c202
Compare
Seeing a failure where the shim isn't installed or can't be located, etc. I'm guessing this isn't the test automation; I'll test the usual helm chart install off of |
34b7091
to
3df1d24
Compare
Signed-off-by: Vaughn Dice <vaughn.dice@fermyon.com>
3df1d24
to
a7ceab5
Compare
Lol well it mostly was. Needed to update the shim binary arch to match the GH runner's arch (amd64/x86_64). Ready for review now! |
Really nice to have some chart testing! Also the PR looks pretty good to me. Nevertheless a point for discussion: while I personally also mainly use kind for developing and testing locally, the spin-operator seems to use k3d for all pipeline-based tests. Should we align ourselves here? From a technical PoV I'm not 100% sure how much of a technical difference this is... wdyt? |
Thanks @voigt, that's a great question. I should have mentioned my thoughts on that in this PR. Spin Operator indeed uses the k3d image shipped by the spinkube/containerd-shim-spin project both in its test automation and quick start due to efficiency: the spin shim is already baked in to the image and so will exist on all nodes based on the image. Since installing and configuring the shim is part of this project's duties and therefore functionality we'd like to test, I was thinking a blank-slate cluster like KinD might be a good first start. All that being said, as laid out in #48, the ultimate vision is to have test coverage for all supported distros and k3d (either with shim pre-installed or stock) does seem like a good next one to add, as well as other free/easy options like minikube, etc. So let's definitely think about our preferred approach for supporting the full matrix of distros. I think we'll still maybe want one quick/easy 'smoke test' for the helm install, ideally on a lightweight distro like kind, to automatically run on PRs... and then maybe the full suite for merges to main? For "preferred approach for supporting the full matrix of distros", do we see GH workflow yaml(s) the right spot to orchestrate? Or something higher-level/custom eg a go binary, etc? (This could be good discussion to also have back in #48) |
I fully agree.
I don't have a good answer yet. In any case, this question probably exceeds the scope of this PR; let's take it to one of the next SpinKube community meetings. |
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.
Scope of the PR was to add initial testing to the helm chart. This goal is reached using kind.
Therefore it is good to be merged from my pov.
Describe your changes
Adds initial helm chart test automation using a KinD cluster.
Ref #48
Issue ticket number and link
Checklist before requesting a review