mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-29 08:20:20 +00:00
93e43d1a0f
This commit adds the Key protect client SDK for the Key Protect KMS integration to the Ceph CSI driver. Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
1.2 KiB
1.2 KiB
Contributing to keyprotect-go-client
keyprotect-go-client
is open for code perusal and contributions. We welcome contributions in the form of feedback, bugs, or patches.
Bugs and Feature Requests
If you find something that does not work as expected or would like to see a new feature added, please open a Github Issue
Pull Requests
For your pull request to be merged, it must meet the criteria of a "correct patch", and also be fully reviewed and approved by two Maintainer level contributors.
A correct patch is defined as the following:
- If the patch fixes a bug, it must be the simplest way to fix the issue
- Your patch must come with unit tests
- Unit tests (CI job) must pass
- New feature function should have integration tests as well
Development
Compiling the package
go build ./...
The client relies on go modules to pull in required dependencies at build time.
https://github.com/golang/go/wiki/Modules#how-to-use-modules
Running the test cases
Using go test
go test -v -race ./...
The test cases are also runnable through make
make test
# or
make test-integration