Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 890 Bytes

developer_guide.md

File metadata and controls

39 lines (25 loc) · 890 Bytes

Developer guide

This document explains how to setup your dev environment.

Download Operator SDK

Go to https://github.com/operator-framework/operator-sdk and follow the fork guide to fork, clone, and setup the local operator-sdk repository.

Vendor dependencies

We use dep to manage dependencies. Run the following in the project root directory to update the vendored dependencies:

$ cd $GOPATH/src/github.com/operator-framework/operator-sdk
$ dep ensure 

Build the Operator SDK CLI

Requirement:

  • Go 1.9+

Build the Operator SDK CLI operator-sdk binary:

# TODO: replace this with the ./build script.
$ go install github.com/operator-framework/operator-sdk/commands/operator-sdk 

Testing

Run unit tests:

TODO: use ./test script