-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single pipeline with runtime conditioned jobs in PRs (#1473)
* Use a single pipeline with runtime conditioned jobs in PRs * PR Feedback * Disable long running tests checked runtime
- Loading branch information
Showing
20 changed files
with
475 additions
and
586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,10 @@ | ||
variables: | ||
- name: isOfficialBuild | ||
value: ${{ and(ne(variables['System.TeamProject'], 'public'), notIn(variables['Build.Reason'], 'PullRequest')) }} | ||
value: ${{ and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} | ||
- name: isFullMatrix | ||
value: ${{ and(eq(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }} | ||
- name: debugOnPrReleaseOnRolling | ||
${{ if ne(variables['Build.Reason'], 'PullRequest') }}: | ||
value: Release | ||
${{ if eq(variables['Build.Reason'], 'PullRequest') }}: | ||
value: Debug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ jobs: | |
- ${{ if eq(parameters.platform, 'Linux_arm64') }}: | ||
- ${{ if eq(variables['System.TeamProject'], 'public') }}: | ||
- (Ubuntu.1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-a45aeeb-20190620155855 | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- (Debian.9.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840 | ||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
- (Debian.9.Arm64)[email protected]/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-74c9941-20190620155840 | ||
|
@@ -56,9 +56,9 @@ jobs: | |
|
||
# Linux x64 | ||
- ${{ if eq(parameters.platform, 'Linux_x64') }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- Ubuntu.1804.Amd64.Open | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- Debian.9.Amd64.Open | ||
- Ubuntu.1604.Amd64.Open | ||
- Ubuntu.1804.Amd64.Open | ||
|
@@ -74,9 +74,9 @@ jobs: | |
|
||
# OSX x64 | ||
- ${{ if eq(parameters.platform, 'OSX_x64') }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- OSX.1013.Amd64.Open | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- OSX.1013.Amd64.Open | ||
- OSX.1014.Amd64.Open | ||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
|
@@ -85,9 +85,9 @@ jobs: | |
|
||
# Windows_NT x64 | ||
- ${{ if eq(parameters.platform, 'Windows_NT_x64') }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- Windows.10.Amd64.Open | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- (Windows.Nano.1809.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:nanoserver-1809-helix-amd64-61052b7-20190723211353 | ||
- Windows.7.Amd64.Open | ||
- Windows.81.Amd64.Open | ||
|
@@ -101,9 +101,9 @@ jobs: | |
|
||
# Windows_NT x86 | ||
- ${{ if eq(parameters.platform, 'Windows_NT_x86') }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- Windows.10.Amd64.Open | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
- ${{ if and(eq(variables['System.TeamProject'], 'public'), notIn(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
- Windows.7.Amd64.Open | ||
- Windows.81.Amd64.Open | ||
- Windows.10.Amd64.Open | ||
|
@@ -119,8 +119,8 @@ jobs: | |
# https://github.com/dotnet/runtime/issues/1097 | ||
# https://github.com/dotnet/runtime/issues/1663 | ||
# https://github.com/dotnet/core-eng/issues/8490 | ||
# - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'corefx')) }}: | ||
# - Windows.10.Arm64.Open | ||
# - ${{ if and(eq(variables['System.TeamProject'], 'public'), in(parameters.jobParameters.helixQueueGroup, 'pr', 'ci', 'libraries')) }}: | ||
# - Windows.10.Arm64.Open | ||
- ${{ if eq(variables['System.TeamProject'], 'internal') }}: | ||
- Windows.10.Arm64 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.