Skip to content

Commit 17647d0

Browse files
authored
Add stub release build (#8033)
* Add stub release build * PR feedback
1 parent 73a8bc3 commit 17647d0

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
trigger: none
2+
pr: none
3+
4+
parameters:
5+
- name: IsTestRun
6+
type: boolean
7+
default: true
8+
- name: IsDryRun
9+
type: boolean
10+
default: true
11+
12+
variables:
13+
- template: /eng/common/templates-official/variables/pool-providers.yml@self
14+
- name: _TeamName
15+
value: DotNetCore
16+
readonly: true
17+
- group: Release-Pipeline
18+
- name: IsDryRun
19+
value: ${{ parameters.IsDryRun }}
20+
readonly: true
21+
- name: IsTestRun
22+
value: ${{ parameters.IsTestRun }}
23+
readonly: true
24+
25+
resources:
26+
pipelines:
27+
- pipeline: dotnet-monitor_build
28+
source: 'dotnet\dotnet-monitor\dotnet-dotnet-monitor'
29+
30+
extends:
31+
template: /eng/pipelines/templates/pipeline-template.yml@self
32+
parameters:
33+
sdl:
34+
sbom:
35+
enabled: false
36+
stages:
37+
- stage: Validation
38+
39+
jobs:
40+
- job: Validate
41+
42+
variables:
43+
# Allow for differentiation of runs of this pipeline
44+
# when running it with the same build repeatedly.
45+
- name: RunRevision
46+
value: $[counter(format('{0}|{1}|{2}', variables['resources.pipeline.Build.runID'], variables['IsDryRun'], variables['IsTestRun']), 1)]
47+
readonly: true
48+
49+
workspace:
50+
clean: all
51+
52+
steps:
53+
- download: none
54+

0 commit comments

Comments
 (0)