Giter Club home page Giter Club logo

Comments (4)

kitt1987 avatar kitt1987 commented on August 15, 2024

Nice question!

There are no unit tests currently because I think unit tests are only useful for those very complicated functions. There are no such functions so far in the project. For features, I prefer integration tests. Before merging each PR, I would run integration tests manually. A CI workflow to run integration tests would be great, but it needs K8s clusters with different container runtime, and I am not sure where I can found these clusters which can also be integrated into GitHub. And, we don't have so many contributors and PRs now, that running tests manually is acceptable.

Before starting the e2e tests, I would prepare a K8s cluster with the driver installed, then run make e2e. The instruction kubectl dev in the Makefile is used to build images. It can be replaced with docker. I am not sure if there are enough cases in the current e2e tests. It needs study and improvement.

Any contribution is welcome. Appreciate!

from container-image-csi-driver.

sgandon avatar sgandon commented on August 15, 2024

For testing the driver I would suggest you use k3s , this is a great and light K8s cluster that support both containerd and docker.
There is even a github action for it : https://github.com/marketplace/actions/actions-k3s
I have just tested the driver on it and it works like a charm, I'll propose a PR to provide the correct install manifest.

from container-image-csi-driver.

sgandon avatar sgandon commented on August 15, 2024

I confirm that I tested the driver with k3s using both containerd (using the proposed install script in #22) and docker as container runtime (using the cri-containerd.yaml ! install script) and they both work.

from container-image-csi-driver.

kitt1987 avatar kitt1987 commented on August 15, 2024

Thanks, @sgandon. I will give it a try.

from container-image-csi-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.