Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.33 KB

CONTRIBUTING.md

File metadata and controls

49 lines (34 loc) · 1.33 KB

Contributing to Pulumi

Building Source

Prerequisites

  1. Python: python-setuptools, pip
  2. Go: golangci-lint
  3. JS: npm, yarn
  4. .NET: .NET SDK 3.0

Restore Vendor Dependencies

$ make ensure

Build and Install

Run the following command to build and install the source.

The output will be stored in /opt/pulumi/node_modules/@pulumi/kubernetes.

$ make build && make install

cd into your Pulumi program directory. After make has completed, link the recent @pulumi/kubernetes build from /opt/ by running the following command:

$ yarn link @pulumi/kubernetes

Running Integration Tests

The examples and integration tests in this repository will create and destroy real Kubernetes objects while running. Before running these tests, make sure that you have configured Pulumi with your Kubernetes cluster successfully at least once before.

You can run Kubernetes tests against minikube or against real Kubernetes clusters. Since the Pulumi Kubernetes provider uses the same client-go library as kubectl, if your cluster works with kubectl, it will also work with Pulumi.

$ make test_all