Skip to content

Commit 0b205b6

Browse files
authored
Make ubuntu 1604 helix queue required PR check (#14635)
* Make ubuntu 1604 helix queue required for check * Update ci.yml * Don't include PR required queues in helix job * Switch to armarch queue in this PR as well * Fix queue id
1 parent cd2983b commit 0b205b6

File tree

2 files changed

+42
-16
lines changed

2 files changed

+42
-16
lines changed

.azure/pipelines/ci.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,17 +564,36 @@ stages:
564564
publishOnError: true
565565
includeForks: true
566566

567+
# Helix x64
568+
- template: jobs/default-build.yml
569+
parameters:
570+
jobName: Helix_x64
571+
jobDisplayName: 'Tests: Helix x64'
572+
agentOs: Windows
573+
timeoutInMinutes: 180
574+
steps:
575+
- script: .\restore.cmd -ci
576+
displayName: Restore
577+
- script: .\build.cmd -ci -NoRestore -test -projects eng\helix\helix.proj /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildAllProjects=true /p:BuildNative=false -bl
578+
displayName: Run build.cmd helix target
579+
env:
580+
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
581+
artifacts:
582+
- name: Helix_logs
583+
path: artifacts/log/
584+
publishOnError: true
585+
567586
# Helix ARM64
568587
- template: jobs/default-build.yml
569588
parameters:
570589
jobName: Helix_arm64
571590
jobDisplayName: "Tests: Helix ARM64"
572591
agentOs: Linux
573-
timeoutInMinutes: 240
592+
timeoutInMinutes: 180
574593
steps:
575594
- script: ./restore.sh -ci
576595
displayName: Restore
577-
- script: ./build.sh -ci --arch arm64 -test --no-build-nodejs -projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:BuildAllProjects=true /p:BuildNative=true -bl
596+
- script: ./build.sh -ci --arch arm64 -test --no-build-nodejs -projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildAllProjects=true /p:BuildNative=true -bl
578597
displayName: Run build.sh helix arm64 target
579598
env:
580599
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops

eng/targets/Helix.Common.props

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,37 @@
66
<HelixAvailablePlatform Include="Linux" />
77
</ItemGroup>
88

9-
<!-- x64 queues -->
10-
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64'">
11-
<HelixAvailableTargetQueue Include="Windows.10.Amd64.Open" Platform="Windows" />
12-
<HelixAvailableTargetQueue Include="Windows.81.Amd64.Open" Platform="Windows" />
13-
<HelixAvailableTargetQueue Include="Windows.7.Amd64.Open" Platform="Windows" />
9+
<!-- required for green PR queues -->
10+
11+
<!-- x64 queues -->
12+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64' AND '$(IsRequiredCheck)' == 'true'">
1413
<HelixAvailableTargetQueue Include="Ubuntu.1604.Amd64.Open" Platform="Linux" />
15-
<HelixAvailableTargetQueue Include="Ubuntu.1804.Amd64.Open" Platform="Linux" />
16-
<HelixAvailableTargetQueue Include="Centos.7.Amd64.Open" Platform="Linux" />
17-
<HelixAvailableTargetQueue Include="Debian.8.Amd64.Open" Platform="Linux" />
18-
<HelixAvailableTargetQueue Include="Debian.9.Amd64.Open" Platform="Linux" />
19-
<HelixAvailableTargetQueue Include="Redhat.7.Amd64.Open" Platform="Linux" />
20-
<HelixAvailableTargetQueue Include="(Fedora.28.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-28-helix-09ca40b-20190508143249" Platform="Linux" />
2114
</ItemGroup>
2215

23-
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'arm64'">
16+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'arm64' AND '$(IsRequiredCheck)' == 'true'">
2417
<!-- arm64 queues -->
25-
<HelixAvailableTargetQueue Include="(Debian.9.Arm64.Open)Ubuntu.1604.Arm64.Docker[email protected]/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-a12566d-20190807161036" Platform="Linux" />
18+
<HelixAvailableTargetQueue Include="(Debian.9.Arm64.Open)Ubuntu.1804.Armarch[email protected]/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-a12566d-20190807161036" Platform="Linux" />
2619

2720
<!-- Need to resolve permission issues on this docker queue
2821
<HelixAvailableTargetQueue Include="(Alpine.38.Arm64)[email protected]/dotnet-buildtools/prereqs:alpine-3.8-helix-arm64v8-46e69dd-20190327215724" Platform="Linux" />
2922
<HelixAvailableTargetQueue Include="(Ubuntu-1804.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:ubuntu-18.04-helix-arm64v8-6f28fa9-20190606004102" Platform="Linux" />
3023
-->
3124
</ItemGroup>
25+
26+
<!-- non required queues -->
27+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64' AND '$(IsRequiredCheck)' != 'true'">
28+
<HelixAvailableTargetQueue Include="Windows.10.Amd64.Open" Platform="Windows" />
29+
<HelixAvailableTargetQueue Include="Windows.81.Amd64.Open" Platform="Windows" />
30+
<HelixAvailableTargetQueue Include="Windows.7.Amd64.Open" Platform="Windows" />
31+
<HelixAvailableTargetQueue Include="Ubuntu.1804.Amd64.Open" Platform="Linux" />
32+
<HelixAvailableTargetQueue Include="Centos.7.Amd64.Open" Platform="Linux" />
33+
<HelixAvailableTargetQueue Include="Debian.8.Amd64.Open" Platform="Linux" />
34+
<HelixAvailableTargetQueue Include="Debian.9.Amd64.Open" Platform="Linux" />
35+
<HelixAvailableTargetQueue Include="Redhat.7.Amd64.Open" Platform="Linux" />
36+
<HelixAvailableTargetQueue Include="(Fedora.28.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-28-helix-09ca40b-20190508143249" Platform="Linux" />
37+
</ItemGroup>
3238

33-
<ItemGroup Condition="'$(IsWindowsOnlyTest)' == 'true'">
39+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' == 'true' AND '$(IsRequiredCheck)' != 'true'">
3440
<HelixAvailablePlatform Include="Windows" />
3541

3642
<HelixAvailableTargetQueue Include="Windows.10.Amd64.Open" Platform="Windows" />
@@ -45,4 +51,5 @@
4551
<HelixPreCommand Include="call RunPowershell.cmd update_schema.ps1 || exit /b 1" />
4652
<HelixPreCommand Include="call RunPowershell.cmd UpdateIISExpressCertificate.ps1 || exit /b 1" />
4753
</ItemGroup>
54+
4855
</Project>

0 commit comments

Comments
 (0)