Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.44 KB

CONTRIBUTING.md

File metadata and controls

51 lines (36 loc) · 1.44 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.1
  5. Java: JDK 11 & Gradle ~>7.4
  6. pulumictl

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 ensure build 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