From 2b68602c36e4ece2c4cc6b6cc9b82ecb0c16665c Mon Sep 17 00:00:00 2001 From: alexweininger Date: Tue, 10 Sep 2024 15:54:49 -0400 Subject: [PATCH] Add release pipeline --- .azure-pipelines/release.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .azure-pipelines/release.yml diff --git a/.azure-pipelines/release.yml b/.azure-pipelines/release.yml new file mode 100644 index 00000000..cd1b25c7 --- /dev/null +++ b/.azure-pipelines/release.yml @@ -0,0 +1,36 @@ +trigger: none # Only run this pipeline when manually triggered + +parameters: + - name: publishVersion + displayName: Version to publish + type: string + - name: dryRun + displayName: Dry run + type: boolean + default: false + +resources: + pipelines: + - pipeline: build # identifier to use in pipeline resource variables + source: \Azure Tools\VSCode\Extensions\vscode-azureappservice # name of the pipeline that produces the artifacts + repositories: + - repository: azExtTemplates + type: github + name: microsoft/vscode-azuretools + ref: main + endpoint: GitHub-AzureTools # The service connection to use when accessing this repository + +variables: + # Required by MicroBuild template + - name: TeamName + value: "Azure Tools for VS Code" + +# Use those templates +extends: + template: azure-pipelines/release-extension.yml@azExtTemplates + parameters: + pipelineID: $(resources.pipeline.build.pipelineID) + runID: $(resources.pipeline.build.runID) + publishVersion: ${{ parameters.publishVersion }} + dryRun: ${{ parameters.dryRun }} + environmentName: AzCodeDeploy