This extension is no longer actively maintained. There is now an official Helm extension available for VSTS in the vsts-tasks repo. Please use this extension as the one contained in this repository will no longer recieve features or bug fixes.
This repo contains the sourcecode to a very simple build task exension for installing and running the popular Helm package manager within Visual Studio Team Services builds. The extension I've written is inspired and borows from the patterns used by the Kubernetes extension.
This extension is a work in progress. It is not yet ready for use in production environments. Use this task at your own risk as the interface and configuration options are subject to change. If you'd like to use Helm commands in production VSTS release definitions, please use the bash task on a custom VSTS build agent equipped with Helm. Bug fixes and PR's are welcome.
See Overview
To run the extension locally for testing:
- run
npm install
in the Helm directory - run
tsc
in the Helm directory - Modify launch.json for your needs. You can simulate inputs for the task. One input you'll need to provide is the "ENDPOINT_AUTH_PARAMETER_*_kubeconfig". This should be a kubectl config file converted to json. For my testing purposes I have a run a minikube local cluster for testing.