Run full matrix on quarantined pipeline (#23377)
* Run full matrix on quarantined pipeline but only 2x a day * Add helix arm queues * Change test run time * Update quarantined-tests.yml
This commit is contained in:
parent
e4158e8a59
commit
93eafe70b4
|
|
@ -1,13 +1,10 @@
|
||||||
# We want to run quarantined tests on master as well as on PRs
|
# We only want to run quarantined tests on master
|
||||||
trigger:
|
pr: none
|
||||||
batch: true
|
trigger: none
|
||||||
branches:
|
|
||||||
include:
|
|
||||||
- master
|
|
||||||
|
|
||||||
schedules:
|
schedules:
|
||||||
- cron: "0 */4 * * *"
|
- cron: "0 18 * * *"
|
||||||
displayName: Every 4 hours test run
|
displayName: Run tests once a day at 11 PM
|
||||||
branches:
|
branches:
|
||||||
include:
|
include:
|
||||||
- master
|
- master
|
||||||
|
|
@ -28,7 +25,7 @@ jobs:
|
||||||
jobName: Helix_quarantined_x64
|
jobName: Helix_quarantined_x64
|
||||||
jobDisplayName: 'Tests: Helix'
|
jobDisplayName: 'Tests: Helix'
|
||||||
agentOs: Windows
|
agentOs: Windows
|
||||||
timeoutInMinutes: 180
|
timeoutInMinutes: 480
|
||||||
steps:
|
steps:
|
||||||
# Build the shared framework
|
# Build the shared framework
|
||||||
- script: ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
- script: ./build.cmd -ci -nobl -all -pack -arch x64 /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
||||||
|
|
@ -36,7 +33,7 @@ jobs:
|
||||||
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj
|
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -restore -noBuild -noBuildNative -projects src/Grpc/**/*.csproj
|
||||||
displayName: Restore interop projects
|
displayName: Restore interop projects
|
||||||
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildJava -noBuildNative
|
- script: ./build.cmd -ci -nobl -noBuildRepoTasks -noRestore -test -all -noBuildJava -noBuildNative
|
||||||
-projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true
|
-projects eng\helix\helix.proj /p:IsHelixDaily=true /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true
|
||||||
/p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
/p:BuildInteropProjects=true /p:RunTemplateTests=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
||||||
displayName: Run build.cmd helix target
|
displayName: Run build.cmd helix target
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
@ -48,6 +45,30 @@ jobs:
|
||||||
path: artifacts/log/
|
path: artifacts/log/
|
||||||
publishOnError: true
|
publishOnError: true
|
||||||
|
|
||||||
|
# Helix ARM64
|
||||||
|
- template: jobs/default-build.yml
|
||||||
|
parameters:
|
||||||
|
jobName: Helix_quarantined_arm64
|
||||||
|
jobDisplayName: "Tests: Helix ARM64"
|
||||||
|
agentOs: Linux
|
||||||
|
timeoutInMinutes: 480
|
||||||
|
steps:
|
||||||
|
- script: ./restore.sh -ci -nobl
|
||||||
|
displayName: Restore
|
||||||
|
- script: ./build.sh --ci --nobl --noBuildRepoTasks --arch arm64 -test --no-build-nodejs --all --projects
|
||||||
|
$(Build.SourcesDirectory)/eng/helix/helix.proj /p:IsHelixJob=true /p:IsHelixDaily=true /p:RunQuarantinedTests=true
|
||||||
|
/p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
||||||
|
displayName: Run build.sh helix arm64 target
|
||||||
|
env:
|
||||||
|
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
|
||||||
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
|
||||||
|
installNodeJs: false
|
||||||
|
artifacts:
|
||||||
|
- name: Helix_arm64_logs
|
||||||
|
path: artifacts/log/
|
||||||
|
publishOnError: true
|
||||||
|
includeForks: true
|
||||||
|
|
||||||
- template: jobs/default-build.yml
|
- template: jobs/default-build.yml
|
||||||
parameters:
|
parameters:
|
||||||
jobName: Windows_Quarantined_x64
|
jobName: Windows_Quarantined_x64
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue