From 514d3060a1730835647106f9b8ad7c4c732397e9 Mon Sep 17 00:00:00 2001 From: Pawel Winogrodzki Date: Tue, 12 Nov 2024 12:30:29 -0800 Subject: [PATCH] Added the 2.0 fast-track merge notified pipeline. --- .../fasttrack/FasttrackMergeNotifier.yml | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .pipelines/fasttrack/FasttrackMergeNotifier.yml diff --git a/.pipelines/fasttrack/FasttrackMergeNotifier.yml b/.pipelines/fasttrack/FasttrackMergeNotifier.yml new file mode 100644 index 00000000000..912b2eff6b3 --- /dev/null +++ b/.pipelines/fasttrack/FasttrackMergeNotifier.yml @@ -0,0 +1,39 @@ +# Copyright (c) Microsoft Corporation. +# Licensed under the MIT License. + +# Triggers controlled on the ADO side. +trigger: none + +resources: + repositories: + - repository: templates + type: git + name: OneBranch.Pipelines/GovernedTemplates + ref: refs/heads/main + +extends: + template: v2/OneBranch.NonOfficial.CrossPlat.yml@templates + parameters: + featureFlags: + runOnHost: true + globalSdl: + credscan: + suppressionsFile: .config/CredScanSuppressions.json + stages: + - stage: InfoPublishing + jobs: + - job: PublishMergeInfo + pool: + type: linux + + variables: + ob_outputDirectory: "$(Pipeline.Workspace)/not_used/OB_template_complains_if_this_is_not_set" + + steps: + - script: | + set -e + + echo "##vso[build.addbuildtag]Repository.Name-$(Build.Repository.Name)" + echo "##vso[build.addbuildtag]SourceBranch-$(Build.SourceBranch)" + echo "##vso[build.addbuildtag]SourceVersion-$(Build.SourceVersion)" + displayName: "Set merge info tags"