All Projects → pulumi → pulumi-az-pipelines-task

pulumi / pulumi-az-pipelines-task

Licence: Apache-2.0 license
Azure Pipelines task extension for running Pulumi apps.

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to pulumi-az-pipelines-task

azure-pipelines-lighthouse
Embed Google Lighthouse HTML reports into Azure Pipelines
Stars: ✭ 37 (+94.74%)
Mutual labels:  azure-devops, azure-pipelines
XamarinPipelineDemo
Demo and explanation on how to do several common tasks for Xamarin.Forms Android in an Azure DevOps pipeline on a Microsoft-hosted agent. Tasks include: build-based version, APK signing, publishing artifacts, unit tests, and UI tests (both via emulator in Azure DevOps and via real devices in App Center).
Stars: ✭ 23 (+21.05%)
Mutual labels:  azure-devops, azure-pipelines
azure-devops-terraform
Recipe to deploy Azure Infrastructure with Terraform via Azure DevOps
Stars: ✭ 18 (-5.26%)
Mutual labels:  azure-devops, azure-pipelines
vsts-mirror-git-repository
A straightforward utility to mirror one Git repository to another location
Stars: ✭ 22 (+15.79%)
Mutual labels:  azure-devops, azure-pipelines
PSRule-pipelines
Validate infrastructure as code (IaC) and DevOps repositories using Azure Pipelines.
Stars: ✭ 16 (-15.79%)
Mutual labels:  azure-devops, azure-pipelines
jmeter-aci-terraform
Scalable cloud load/stress testing pipeline solution with Apache JMeter and Terraform to dynamically provision and destroy the required infrastructure on Azure.
Stars: ✭ 114 (+500%)
Mutual labels:  azure-devops, azure-pipelines
VstsExtensions
Documentation and issue tracking for Microsoft Premier Services Visual Studio Team Services Extensions
Stars: ✭ 42 (+121.05%)
Mutual labels:  azure-devops, azure-pipelines
ParallelTestingSample-dotnet-core
Sample for running dotnet core tests in parallel across multiple agents in Azure DevOps
Stars: ✭ 19 (+0%)
Mutual labels:  azure-devops, azure-pipelines
cake-vso
Cake integration for Azure DevOps.
Stars: ✭ 19 (+0%)
Mutual labels:  azure-devops, azure-pipelines
azure-pipelines-tfvc-tasks
Azure Pipelines tasks for Team Foundation Version Control
Stars: ✭ 26 (+36.84%)
Mutual labels:  azure-devops, azure-pipelines
vsts-publish-adf
This extension adds Azure Data Factory release tasks to Azure Pipelines.
Stars: ✭ 23 (+21.05%)
Mutual labels:  azure-devops, azure-pipelines
yamlizr
Azure DevOps Designer-to-YAML Pipeline CLI CodeGen Tool
Stars: ✭ 23 (+21.05%)
Mutual labels:  azure-devops, azure-pipelines
devops-governance
Example end-to-end Governance Model from CI/CD to Azure Resource Manager. Use this project to deploy example AAD, ARM and Azure DevOps resources to learn about e2e RBAC.
Stars: ✭ 79 (+315.79%)
Mutual labels:  azure-devops, azure-pipelines
azure-flutter-tasks
Easily build and deploy with latest Flutter build tasks for Azure DevOps Pipelines Tasks
Stars: ✭ 66 (+247.37%)
Mutual labels:  azure-devops, azure-pipelines
docker-azure-pipelines-agent
Azure DevOps Agent Docker Images. Based on this: https://github.com/microsoft/vsts-agent-docker
Stars: ✭ 20 (+5.26%)
Mutual labels:  azure-devops
templates
Collection of Conan recipe + CI templates
Stars: ✭ 71 (+273.68%)
Mutual labels:  azure-pipelines
k8s-springboot-data-rest
Build & Deploy a real-world Java Springboot microservice on Azure. This project will immerse you in a series of hands-on labs that will show you how to use Azure Container Registry, Azure Kubernetes Service, Azure Container Instances, Azure DevOps & Jenkins CI/CD for building & deploying cloud-native applications.
Stars: ✭ 36 (+89.47%)
Mutual labels:  azure-devops
vscode-powertools
A swiss army knife with lots of tools, extensions and (scriptable) enhancements for Visual Studio Code.
Stars: ✭ 44 (+131.58%)
Mutual labels:  azure-devops
azure-devops-exporter
Prometheus exporter for Azure DevOps (VSTS) including agent pools, builds, releases, deployments, pullrequests and repo stats
Stars: ✭ 102 (+436.84%)
Mutual labels:  azure-devops
ci-configuration-examples
This repository makes it easy to run your MATLAB tests on some of the most common CI platforms. The configuration files take care of setting up MATLAB and automatically executing your MATLAB tests.
Stars: ✭ 52 (+173.68%)
Mutual labels:  azure-devops

Build Status

Pulumi Azure task extension for Azure Pipelines

Release status

This task extension is publicly available for free. You may add this extension to your DevOps organization directly from the Visual Studio Marketplace.

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

macOS

INPUT_AZURESUBSCRIPTION=fake-subscription-id npm run test

Windows

In a PowerShell window, run:

$env:INPUT_AZURESUBSCRIPTION=fake-subscription-id npm run test

Debug Traces

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.

Testing in your own DevOps Organization

Sometimes unit testing alone isn't sufficient and you may want to test your changes in a real Azure DevOps organization. To do so, however, you will need to change some values in the manifest files so that you can run npm run package to create a VSIX package that you can install privately into your own organization. Follow these steps:

Prerequisites

  • Signup for a free Azure DevOps organization.
  • Once you have created a new organization, you will need a Visual Studio Marketplace publisher account to install the extension into your newly-created organization. Click here to create a new publisher account.
  • Now that you have created your publisher account, you are now ready to make necessary changes to the manifest files to create a private package that you can publish using your new publisher account to your own organization.
  • To manage your new publisher account, you can visit https://marketplace.visualstudio.com/manage/publishers/{your_publisher_account_name}.

Updating the manifest files

  • In the vss-extension.json file, modify the value of the name property to something unique.
    • Tip: Maybe give it a suffix or a prefix that clearly identifies it as your private build.
  • IMPORTANT: Change the value of the following properties:
    • Set galleryFlags to Private instead of Public.
    • Set publisher to your publisher account ID instead of pulumi.
  • Now in the buildAndReleaseTask/task.json, change the value of the id property to a unique value. You can get a new, unique value from https://www.guidgen.com.
  • Change the value of the name property to something unique in this file as well.
    • This is the name you will see in the Azure Pipelines build when you add it as a task.
  • IMPORTANT: Change the value of the author property to be your publisher account ID.

Generate a private package

  • From the root of the project directory, run npm run package. This will bump the version number and produce a new package with the .vsix file extension.
  • Go to your publisher account page, https://marketplace.visualstudio.com/manage/publishers/{your_publisher_account_name} (be sure to replace {your_publisher_account_name} with the actual value), and click on New Extension > Azure DevOps and drag/drop the VSIX file you generated in the previous step.
  • Follow the on-screen instructions (if any). Now you are ready to share the private build with your organization.

Share the private build with your organization

  • Once the package upload is complete, you can click on the options icon (the ... button) and click on Share/Unshare.
  • Click on + Organization to add your newly-created DevOps organization.

Installing the private build

  • Go to the root of your organization, https://dev.azure.com, and click on the Organization Settings button in the bottom-left corner.
  • Then click on Extensions and then click on the Shared tab. You should see your private extension.
  • Click on the install button and follow the instructions to complete installing it.

Once installed, return to your organization and create a new Azure Pipelines build and you should now see the newly installed private build of the task extension.

Uploading new versions of the private build

  • To continue testing your private build of the task extension, you can simply run npm run package in the root of this project, and then upload a new build to your publisher account.
  • Once uploaded, any Azure Pipelines build agents using it will automatically pick up the new version in a few minutes.

Completing your testing

  • Once your testing is complete, you must revert the changes you made to the vss-extension.json and task.json as part of generating your private build. However, any other changes you made to those files, that is relevant to any Pull Request you decide to submit can remain intact.

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].