2021-01-22 10:00:17 +03:00
|
|
|
# We only want to run quarantined tests on main
|
2020-06-27 02:26:54 +03:00
|
|
|
pr: none
|
|
|
|
trigger: none
|
2020-01-29 20:18:05 +03:00
|
|
|
|
2020-02-26 22:15:48 +03:00
|
|
|
schedules:
|
2021-10-22 01:20:50 +03:00
|
|
|
- cron: "0 6 * * *"
|
|
|
|
displayName: Run tests once a day at 6 AM UTC (10 PM PST)
|
2020-01-29 20:18:05 +03:00
|
|
|
branches:
|
|
|
|
include:
|
2021-01-23 04:10:49 +03:00
|
|
|
- main
|
2020-02-26 22:15:48 +03:00
|
|
|
always: true
|
2020-01-29 20:18:05 +03:00
|
|
|
|
2020-02-20 23:46:37 +03:00
|
|
|
variables:
|
2021-12-14 02:34:17 +03:00
|
|
|
- name: _UseHelixOpenQueues
|
|
|
|
value: ${{ ne(variables['System.TeamProject'], 'internal') }}
|
2020-02-20 23:46:37 +03:00
|
|
|
- ${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
2020-02-26 22:15:48 +03:00
|
|
|
- group: DotNet-HelixApi-Access
|
2023-02-09 05:49:01 +03:00
|
|
|
- template: /eng/common/templates/variables/pool-providers.yml
|
2020-02-20 23:46:37 +03:00
|
|
|
|
2020-01-29 20:18:05 +03:00
|
|
|
jobs:
|
|
|
|
- template: jobs/default-build.yml
|
|
|
|
parameters:
|
2020-06-02 23:02:26 +03:00
|
|
|
jobName: Helix_quarantined_x64
|
|
|
|
jobDisplayName: 'Tests: Helix'
|
2020-01-29 20:18:05 +03:00
|
|
|
agentOs: Windows
|
2022-02-10 05:08:48 +03:00
|
|
|
installJdk: false
|
2020-06-27 02:26:54 +03:00
|
|
|
timeoutInMinutes: 480
|
2020-01-29 20:18:05 +03:00
|
|
|
steps:
|
2020-02-26 23:55:41 +03:00
|
|
|
# Build the shared framework
|
2022-02-08 05:06:45 +03:00
|
|
|
- script: ./eng/build.cmd -ci -nobl -all -noBuildJava -pack -arch x64
|
2020-10-27 10:04:33 +03:00
|
|
|
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
2020-03-07 02:06:58 +03:00
|
|
|
displayName: Build shared fx
|
2022-02-08 05:06:45 +03:00
|
|
|
# -noBuildRepoTasks -noBuildNative -noBuild to avoid repeating work done in the previous step.
|
|
|
|
- script: ./eng/build.cmd -ci -nobl -all -noBuildRepoTasks -noBuildNative -noBuild -noBuildJava -test
|
2022-01-31 21:05:08 +03:00
|
|
|
-projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsHelixJob=true
|
2020-10-27 10:04:33 +03:00
|
|
|
/p:CrossgenOutput=false /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log
|
2020-01-29 20:18:05 +03:00
|
|
|
displayName: Run build.cmd helix target
|
2020-06-13 03:34:39 +03:00
|
|
|
continueOnError: true
|
2020-01-29 20:18:05 +03:00
|
|
|
env:
|
2020-02-26 22:15:48 +03:00
|
|
|
HelixApiAccessToken: $(HelixApiAccessToken) # Needed for internal queues
|
2020-01-29 20:18:05 +03:00
|
|
|
SYSTEM_ACCESSTOKEN: $(System.AccessToken) # We need to set this env var to publish helix results to Azure Dev Ops
|
|
|
|
artifacts:
|
|
|
|
- name: Helix_logs
|
|
|
|
path: artifacts/log/
|
|
|
|
publishOnError: true
|