Skip to content

Latest commit

 

History

History
70 lines (52 loc) · 1.69 KB

CONTRIBUTING.md

File metadata and controls

70 lines (52 loc) · 1.69 KB

Contributing

Report a Bug

Open an issue. Please include descriptions of the following:

  • Observations
  • Expectations
  • Steps to reproduce

Contribute a Bug Fix

  • Report the bug first
  • Create a pull request for the fix

Suggest a New Feature

  • Create a new issue to start a discussion around new topic. Label the issue as new-feature

Setup your DEV environment

Argo Events is native to Kubernetes so you'll need a running Kubernetes cluster. This guide includes steps for Minikube for local development, but if you have another cluster you can ignore the Minikube specific step 3.

Requirements

  • Golang 1.12
  • Docker
  • dep

Installation & Setup

1. Get the project

go get github.com/argoproj/argo-events
cd $GOPATH/src/github.com/argoproj/argo-events

2. Vendor dependencies

GO111MODULE=on go get github.com/cloudevents/sdk-go
dep ensure -vendor-only

3. Start Minikube and point Docker Client to Minikube's Docker Daemon

minikube start
eval $(minikube docker-env)

5. Build the project

make all

Follow README to install components.

Changing Types

If you're making a change to the pkg/apis package, please ensure you re-run the K8 code-generator scripts found in the /hack folder.

  • Ensure you have the generate-groups.sh script at the path: vendor/k8s.io/code-generator/.
  • Install gen-crd-api-reference-docs
go get github.com/ahmetb/gen-crd-api-reference-docs
cd $GOPATH/github.com/ahmetb/gen-crd-api-reference-docs
go build
make codegen