Skip to content

Commit c0161c7

Browse files
authored
Move most helix queues to a daily scheduled run (#14904)
1 parent ec8304a commit c0161c7

File tree

3 files changed

+59
-32
lines changed

3 files changed

+59
-32
lines changed

.azure/pipelines/ci.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -583,27 +583,6 @@ stages:
583583
path: artifacts/log/
584584
publishOnError: true
585585

586-
# Helix ARM64
587-
- template: jobs/default-build.yml
588-
parameters:
589-
jobName: Helix_arm64
590-
jobDisplayName: "Tests: Helix ARM64"
591-
agentOs: Linux
592-
timeoutInMinutes: 180
593-
steps:
594-
- script: ./restore.sh -ci
595-
displayName: Restore
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
597-
displayName: Run build.sh helix arm64 target
598-
env:
599-
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
600-
installNodeJs: false
601-
artifacts:
602-
- name: Helix_arm64_logs
603-
path: artifacts/log/
604-
publishOnError: true
605-
includeForks: true
606-
607586
# Source build
608587
- job: Source_Build
609588
displayName: 'Test: Linux Source Build'

.azure/pipelines/helix-daily.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Uses Scheduled Triggers, which aren't supported in YAML yet.
2+
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=vsts&tabs=yaml#scheduled
3+
4+
# Daily Helix Tests for ASP.NET Core
5+
6+
jobs:
7+
- template: jobs/default-build.yml
8+
parameters:
9+
jobName: Helix_x64_daily
10+
jobDisplayName: 'Tests: Helix x64 Daily'
11+
agentOs: Windows
12+
timeoutInMinutes: 240
13+
steps:
14+
- script: .\restore.cmd -ci
15+
displayName: Restore
16+
- script: .\build.cmd -ci -NoRestore -test -projects eng\helix\helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:BuildAllProjects=true /p:BuildNative=true -bl
17+
displayName: Run build.cmd helix target
18+
env:
19+
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
20+
artifacts:
21+
- name: Helix_logs
22+
path: artifacts/log/
23+
publishOnError: true
24+
25+
# Helix ARM64
26+
- template: jobs/default-build.yml
27+
parameters:
28+
jobName: Helix_arm64_daily
29+
jobDisplayName: "Tests: Helix ARM64 Daily"
30+
agentOs: Linux
31+
timeoutInMinutes: 180
32+
steps:
33+
- script: ./restore.sh -ci
34+
displayName: Restore
35+
- script: ./build.sh -ci --arch arm64 -test --no-build-nodejs -projects $(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:BuildAllProjects=true /p:BuildNative=true -bl
36+
displayName: Run build.sh helix arm64 target
37+
env:
38+
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
39+
installNodeJs: false
40+
artifacts:
41+
- name: Helix_arm64_logs
42+
path: artifacts/log/
43+
publishOnError: true
44+
includeForks: true
45+

eng/targets/Helix.Common.props

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

9-
<!-- required for green PR queues -->
10-
11-
<!-- x64 queues -->
9+
<!-- required for green PR queues -->
1210
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64' AND '$(IsRequiredCheck)' == 'true'">
1311
<HelixAvailableTargetQueue Include="Ubuntu.1604.Amd64.Open" Platform="Linux" />
1412
</ItemGroup>
1513

16-
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'arm64' AND '$(IsRequiredCheck)' == 'true'">
14+
<!-- daily scheduled only queues -->
15+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64' AND '$(IsHelixDaily)' == 'true'">
16+
<HelixAvailableTargetQueue Include="Ubuntu.1804.Amd64.Open" Platform="Linux" />
17+
<HelixAvailableTargetQueue Include="OSX.1014.Amd64.Open" Platform="Linux" />
18+
<HelixAvailableTargetQueue Include="Centos.7.Amd64.Open" Platform="Linux" />
19+
<HelixAvailableTargetQueue Include="Debian.8.Amd64.Open" Platform="Linux" />
20+
<HelixAvailableTargetQueue Include="Debian.9.Amd64.Open" Platform="Linux" />
21+
<HelixAvailableTargetQueue Include="Redhat.7.Amd64.Open" Platform="Linux" />
22+
<HelixAvailableTargetQueue Include="(Fedora.28.Amd64.Open)[email protected]/dotnet-buildtools/prereqs:fedora-28-helix-09ca40b-20190508143249" Platform="Linux" />
23+
</ItemGroup>
24+
25+
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'arm64' AND '$(IsHelixDaily)' == 'true'">
1726
<!-- arm64 queues -->
1827
<HelixAvailableTargetQueue Include="(Debian.9.Arm64.Open)[email protected]/dotnet-buildtools/prereqs:debian-9-helix-arm64v8-a12566d-20190807161036" Platform="Linux" />
1928

@@ -23,17 +32,11 @@
2332
-->
2433
</ItemGroup>
2534

26-
<!-- non required queues -->
35+
<!-- non required queues run on every PR -->
2736
<ItemGroup Condition="'$(IsWindowsOnlyTest)' != 'true' AND '$(TargetArchitecture)' == 'x64' AND '$(IsRequiredCheck)' != 'true'">
2837
<HelixAvailableTargetQueue Include="Windows.10.Amd64.Open" Platform="Windows" />
2938
<HelixAvailableTargetQueue Include="Windows.81.Amd64.Open" Platform="Windows" />
3039
<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" />
3740
</ItemGroup>
3841

3942
<ItemGroup Condition="'$(IsWindowsOnlyTest)' == 'true' AND '$(IsRequiredCheck)' != 'true'">

0 commit comments

Comments
 (0)