- Setup a local development environment by executing following command:
./testbox minikube start
. It will install minikube with none driver option. If you don't have minikube on your machine, you can easily download minikube as well by./testbox minikube download
. Then, set up Ceph cluster by executing following command to install rook:./testbox rook_install
. - Start code. Don't forget to add unit test and e2e test cases.
- Test your code locally by executing following command:
./dbox
- Proceed with static test.
- Proceed with e2e test.
- Commit is organized. Use
git rebase -i
if necessary - Commit message is contain proper subject and body
- Code generation is completed (
go mod verify
,operator-sdk generate crds
,operator-sdk generate k8s
). Use./dbox g
for convenience - CRD is validated
- Change log and user guide has been updated when core functionality is affected.
- Code is fully tested. Unit test and e2e test should be included.