Skip to content

Commit a93e0d2

Browse files
authored
Create runtime staging clone to manually kick off full test runs (#61443)
This change allows devs to manually kick off full test runs on the configurations that only execute smoke tests per PR. /azp runtime-staging-manual will do the trick
1 parent 9fceaa0 commit a93e0d2

File tree

6 files changed

+480
-454
lines changed

6 files changed

+480
-454
lines changed

eng/pipelines/common/variables.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ variables:
1515
value: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}
1616
- name: isNotFullMatrix
1717
value: ${{ and(eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}
18+
- name: isNotManualAndIsPR
19+
value: ${{ and(not(in(variables['Build.DefinitionName'], 'runtime-staging-manual', 'runtime-manual')), eq(variables['System.TeamProject'], 'public'), eq(variables['Build.Reason'], 'PullRequest')) }}
20+
- name: isManualOrIsNotPR
21+
value: ${{ or(in(variables['Build.DefinitionName'], 'runtime-staging-manual', 'runtime-manual'), and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest'))) }}
1822

1923
# We only run evaluate paths on runtime, runtime-staging and runtime-community pipelines on PRs
2024
# keep in sync with /eng/pipelines/common/xplat-setup.yml

eng/pipelines/common/xplat-setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
value: $(buildConfigUpper)
5151

5252
- name: _runSmokeTestsOnlyArg
53-
value: '/p:RunSmokeTestsOnly=$(isNotFullMatrix)'
53+
value: '/p:RunSmokeTestsOnly=$(isNotManualAndIsPR)'
5454
- ${{ if or(eq(parameters.osGroup, 'windows'), eq(parameters.hostedOs, 'windows')) }}:
5555
- name: archiveExtension
5656
value: '.zip'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
trigger: none
2+
3+
extends:
4+
template: runtime-staging-template.yml

0 commit comments

Comments
 (0)