Skip to content

Latest commit

 

History

History
63 lines (39 loc) · 913 Bytes

CONTRIBUTING.md

File metadata and controls

63 lines (39 loc) · 913 Bytes

Contributing

Prerequisites

Pullup requires Go 1.15 and later.

Getting Started

Download dependencies.

go get ./...

Code Generation

If you modify pkg/apis or wire-related files, you have to regenerate code.

./hack/update-codegen.sh

Testing

Unit Tests

Download testing assets.

./hack/download-test-assets.sh

Run tests.

./hack/run-tests.sh

End-to-end Tests

Before you get started, make sure your environment can run kind.

Build Docker images.

./test/scripts/build-images.sh

Run tests. This script will setup a Kubernetes cluster using kind and run the tests. After all tests are done, the cluster will be teardown automatically.

./test/scripts/kind/run.sh

Linting

Install golangci-lint and run.

golangci-lint run