Skip to content

Commit 7bba81e

Browse files
authored
Run IdentityModel tests once per day in Helix-Matrix (#55296)
1 parent d3f5b21 commit 7bba81e

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.azure/pipelines/helix-matrix.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ schedules:
88
include:
99
- main
1010
always: true
11+
- cron: "0 18 * * *"
12+
branches:
13+
include:
14+
- main
15+
always: true
16+
displayName: IdentityModel test job
1117
- cron: "0 9 * * *"
1218
branches:
1319
include:
@@ -19,6 +25,8 @@ schedules:
1925
variables:
2026
- name: _UseHelixOpenQueues
2127
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
28+
- name: _IsIdentityModelTestJob
29+
value: ${{ eq(variables['Build.CronSchedule.DisplayName'], 'IdentityModel test job') }}
2230
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
2331
- group: DotNet-HelixApi-Access
2432
- template: /eng/common/templates/variables/pool-providers.yml
@@ -31,14 +39,17 @@ jobs:
3139
agentOs: Windows
3240
timeoutInMinutes: 300
3341
steps:
42+
- ${{ if eq(variables['Build.CronSchedule.DisplayName'], 'IdentityModel test job') }}:
43+
- script: "echo ##vso[build.addbuildtag]identitymodel-test"
44+
displayName: 'Set CI identitymodel-test tag'
3445
# Build the shared framework
3546
- script: ./eng/build.cmd -ci -prepareMachine -nativeToolsOnMachine -nobl -all -pack -arch x64
36-
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
47+
/p:CrossgenOutput=false /p:IsIdentityModelTestJob=$(_IsIdentityModelTestJob) /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
3748
displayName: Build shared fx
3849
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
3950
- script: .\eng\build.cmd -ci -prepareMachine -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -test
4051
-projects eng\helix\helix.proj /p:IsHelixJob=true
41-
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
52+
/p:CrossgenOutput=false /p:IsIdentityModelTestJob=$(_IsIdentityModelTestJob) /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
4253
displayName: Run build.cmd helix target
4354
env:
4455
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues

eng/Versions.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
<AspNetCorePatchVersion>0</AspNetCorePatchVersion>
1212
<PreReleaseVersionIteration>4</PreReleaseVersionIteration>
1313
<ValidateBaseline>true</ValidateBaseline>
14-
<IdentityModelVersion>7.4.1</IdentityModelVersion>
14+
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' != 'true'">7.4.1</IdentityModelVersion>
15+
<IdentityModelVersion Condition="'$(IsIdentityModelTestJob)' == 'true'">7.*</IdentityModelVersion>
1516
<!--
1617
When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages
1718
-->

0 commit comments

Comments
 (0)