This task extension is publicly available for free. You may add this extension to your DevOps organization directly from the Visual Studio Marketplace.
- Node (>= 8.x)
- Yarn (>= 1.13.0)
- tslint (
npm i -g tslint
) - typescript compiler (
npm i -g typescript
)
- Set the
AGENT_TOOLSDIRECTORY
env var to any directory for caching the pulumi tool. npm install
in thebuildAndReleaseTask
and thebuildAndReleaseTask/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, runtsc && node index.js
from thebuildAndReleaseTask
directory.
- To run from the root folder, simply run
INPUT_AZURESUBSCRIPTION=fake-subscription-id npm run test
In a PowerShell window, run:
$env:INPUT_AZURESUBSCRIPTION=fake-subscription-id
npm run test
If you wish to enable detailed traces, also set TASK_TEST_TRACE=1
before running test.
On Windows, you can do this using $env:TASK_TEST_TRACE=1
.
Learn more here.
- Ensure you have
tfx
cli installed by runningtfx version
. If it is not installed, then runnpm i -g tfx-cli
. - Install
vsts-bump
by runningnpm i -g vsts-bump
. - Run
npm run package
from the root directory.