This document explains how to setup your dev environment.
Go to the Operator SDK repo and follow the fork guide to fork, clone, and setup the local operator-sdk repository.
Run the following in the project root directory to update the vendored dependencies:
$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
$ make depBuild the Operator SDK CLI operator-sdk binary:
$ make installThe SDK includes many tests that are run as part of CI. To build the binary and run all tests (assuming you have a correctly configured environment), you can simple run:
$ make test-ciIf you simply want to run the unit tests, you can run:
$ make testFor more information on running testing and correctly configuring your environment,
refer to the Running the Tests Locally document.
See the project README for more details.