Comments (4)
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.
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.
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.
Thanks, @sgandon. I will give it a try.
from container-image-csi-driver.
Related Issues (20)
- Maintainer workflow missing HOT 2
- Fix pipeline for dependabot branches/PRs HOT 10
- Cleanup `install` utility HOT 5
- Automation for updating tags in Makefile and Chart.yaml HOT 9
- Stalebot seems too aggresive HOT 4
- Missing versioning and release documentation HOT 1
- Delete old container images action fails on fork repository HOT 5
- Fix docker-compose for node server tests HOT 2
- Plugin pod crashing intermittently HOT 4
- Update CI tests to have better logging HOT 7
- Devcontainer not working for arm64 architecture
- Devcontainers should have k8s cluster running inside it on startup HOT 2
- Add make targets to improve developer experience and getting started quickly HOT 2
- failed: lsetxattr read-only file system on pod start HOT 14
- New logo is not getting loaded on the README HOT 6
- Implement session pattern for async pull feature HOT 2
- Constant kills of csi driver because of unhealthy liveness probe HOT 3
- Volumes are suddenly empty HOT 12
- "unable to ensure pod container exists" and "failed to create containerd" errors HOT 2
- Request: Please make FIPS 140-2 compliant images available HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from container-image-csi-driver.