Skip to content

Commit 15d3bb7

Browse files
authored
Pipeline to facilitate Roslyn Copilot publish (#8508)
2 parents 43bffb8 + 2468947 commit 15d3bb7

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
trigger: none
2+
pr: none
3+
4+
resources:
5+
repositories:
6+
- repository: 1ESPipelineTemplates
7+
type: git
8+
name: 1ESPipelineTemplates/1ESPipelineTemplates
9+
ref: refs/tags/release
10+
pipelines:
11+
- pipeline: CI
12+
project: DevDiv
13+
source: VisualStudio.Conversations
14+
branch: main
15+
extends:
16+
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
17+
parameters:
18+
pool:
19+
name: AzurePipelines-EO
20+
image: 1ESPT-Windows2022
21+
os: windows
22+
stages:
23+
- stage: Upload
24+
jobs:
25+
- job: UploadToServer
26+
displayName: Upload to server
27+
pool:
28+
name: AzurePipelines-EO
29+
image: 1ESPT-Windows2022
30+
os: windows
31+
templateContext:
32+
type: releaseJob
33+
isProduction: false #change this
34+
inputs:
35+
- input: pipelineArtifact
36+
pipeline: CI
37+
artifactName: partnerDeployables-Windows
38+
destinationPath: $(Pipeline.Workspace)/artifacts
39+
40+
steps:
41+
- checkout: none
42+
43+
- task: CopyFiles@2
44+
displayName: 'Copy files from Zip folder to staging directory'
45+
inputs:
46+
SourceFolder: '$(Pipeline.Workspace)/'
47+
Contents: '**/*Roslyn.LanguageServer*.zip'
48+
TargetFolder: '$(Build.ArtifactStagingDirectory)/staging'
49+
CleanTargetFolder: true
50+
51+
- task: AzureFileCopy@6
52+
displayName: "Copy the zip to Azure Storage"
53+
inputs:
54+
SourcePath: '$(Build.ArtifactStagingDirectory)/staging/*'
55+
azureSubscription: "$(AzSubscription)"
56+
Destination: "AzureBlob"
57+
storage: "$(AzStorage)"
58+
ContainerName: "$(AzContainerName)"

0 commit comments

Comments
 (0)