/pulumi-az-pipelines-task

An Azure Pipelines task extension for running Pulumi apps.

Primary LanguageTypeScript

Pulumi Azure task extension for Azure Pipelines

Release status

This project is in private preview. Do not make this repo public yet!

Prerequisites

  • Node (>= 8.x)
  • Yarn (>= 1.13.0)
  • tslint (npm i -g tslint)
  • typescript compiler (npm i -g typescript)

Local Development

  • Set the AGENT_TOOLSDIRECTORY env var to any directory for caching the pulumi tool.
  • npm install in the buildAndReleaseTask and the buildAndReleaseTask/tests folders.
  • You can run the tool either from the root directory or the buildAndReleaseTask directory.
    • To run from the root folder, simply run npm start.
    • To run from the buildAndReleaseTask folder, run tsc && node index.js from the buildAndReleaseTask directory.

Tests

npm run test

Package

Learn more here.

  • Ensure you have tfx cli installed by running tfx version. If it is not installed, then run npm i -g tfx-cli.
  • Install vsts-bump by running npm i -g vsts-bump.
  • Run npm run package from the root directory.