forked from microsoft/vs-threading
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vs-insertion.yml
50 lines (48 loc) · 1.56 KB
/
vs-insertion.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
trigger: none # We only want to trigger manually or based on resources
pr: none
resources:
pipelines:
- pipeline: CI
source: vs-threading
tags:
- Real signed
trigger:
tags:
- Real signed
- auto-insertion
stages:
- stage: VS
displayName: VS insertion
jobs:
- deployment: insertion
pool: VSEng-ReleasePool
environment: No-Approval
strategy:
runOnce:
deploy:
steps:
- powershell: |
Write-Host "##vso[build.updatebuildnumber]$(resources.pipeline.CI.runName)"
displayName: Set pipeline name
- template: release-deployment-prep.yml
- download: CI
artifact: VSInsertion-Windows
displayName: Download VSInsertion-Windows artifact
- task: NuGetCommand@2
displayName: Push CoreXT packages to VS feed
inputs:
command: push
packagesToPush: $(Pipeline.Workspace)/CI/VSInsertion-windows/*.nupkg
publishVstsFeed: 97a41293-2972-4f48-8c0e-05493ae82010
allowPackageConflicts: true
- task: MicroBuildInsertVsPayload@4
displayName: Insert VS Payload
inputs:
TeamName: $(TeamName)
TeamEmail: $(TeamEmail)
InsertionPayloadName: $(Build.Repository.Name) $(Build.BuildNumber)
InsertionBuildPolicy: Request Perf DDRITs
AutoCompletePR: true
AutoCompleteMergeStrategy: Squash
- task: MicroBuildCleanup@1
displayName: Send Telemetry