From 39112571d27311753c6623872854e0cc83d32e37 Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Tue, 25 Feb 2020 13:25:10 -0800 Subject: [PATCH 1/6] Run quarantined tests every 4 hours --- .azure/pipelines/quarantined-tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index 40849ee4d322..cb399b388410 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -11,6 +11,15 @@ pr: include: - '*' +schedules: +- ${{ if eq(variables['System.TeamProject'], 'internal') }}: + - cron: "0 */4 * * *" + displayName: Every 4 hours test run + branches: + include: + - master + always: true + variables: - ${{ if ne(variables['System.TeamProject'], 'internal') }}: - name: _UseHelixOpenQueues From 99d606bc8a104cf583599ba5e4b4a1e78b5237b4 Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Tue, 25 Feb 2020 13:27:03 -0800 Subject: [PATCH 2/6] now? --- .azure/pipelines/quarantined-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index cb399b388410..a9a6a246eccf 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -11,8 +11,8 @@ pr: include: - '*' -schedules: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: + schedules: - cron: "0 */4 * * *" displayName: Every 4 hours test run branches: From beba2710ef7da54d0bf9c5e1e6e50cb0acdfaf8f Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Tue, 25 Feb 2020 13:30:34 -0800 Subject: [PATCH 3/6] both --- .azure/pipelines/quarantined-tests.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index a9a6a246eccf..fa2df218cd7a 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -11,14 +11,13 @@ pr: include: - '*' -- ${{ if eq(variables['System.TeamProject'], 'internal') }}: - schedules: - - cron: "0 */4 * * *" - displayName: Every 4 hours test run - branches: - include: - - master - always: true +schedules: +- cron: "0 */4 * * *" + displayName: Every 4 hours test run + branches: + include: + - master + always: true variables: - ${{ if ne(variables['System.TeamProject'], 'internal') }}: From 2fa32a1cff987236f2d6e335b8fc96971684a465 Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Tue, 25 Feb 2020 14:17:49 -0800 Subject: [PATCH 4/6] internal --- .azure/pipelines/quarantined-tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index fa2df218cd7a..cae6bf58c2cf 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -24,6 +24,7 @@ variables: - name: _UseHelixOpenQueues value: 'true' - ${{ if eq(variables['System.TeamProject'], 'internal') }}: + - group: DotNet-HelixApi-Access - name: _UseHelixOpenQueues value: 'false' @@ -40,6 +41,7 @@ jobs: - script: .\build.cmd -ci -NoRestore -test -projects eng\helix\helix.proj /p:RunQuarantinedTests=true /p:IsRequiredCheck=true /p:IsHelixJob=true /p:BuildAllProjects=true /p:BuildNative=true /p:ASPNETCORE_TEST_LOG_DIR=artifacts/log -bl displayName: Run build.cmd helix 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 artifacts: - name: Helix_logs From e7cd9511b8e21a76d9f244e37061a54a59799bbe Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Wed, 26 Feb 2020 08:03:31 -0800 Subject: [PATCH 5/6] no pr --- .azure/pipelines/quarantined-tests.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index cae6bf58c2cf..24c59e5279e1 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -1,16 +1,3 @@ -# We want to run quarantined tests on master as well as on PRs -trigger: - batch: true - branches: - include: - - master - -# Run PR validation on all branches -pr: - branches: - include: - - '*' - schedules: - cron: "0 */4 * * *" displayName: Every 4 hours test run From c86277d61e23f4b03e952f17d519f494ef5d813f Mon Sep 17 00:00:00 2001 From: Brennan Conroy Date: Wed, 26 Feb 2020 08:26:44 -0800 Subject: [PATCH 6/6] whoops --- .azure/pipelines/quarantined-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.azure/pipelines/quarantined-tests.yml b/.azure/pipelines/quarantined-tests.yml index 24c59e5279e1..6ac0143ed1e1 100644 --- a/.azure/pipelines/quarantined-tests.yml +++ b/.azure/pipelines/quarantined-tests.yml @@ -1,3 +1,10 @@ +# We want to run quarantined tests on master as well as on PRs +trigger: + batch: true + branches: + include: + - master + schedules: - cron: "0 */4 * * *" displayName: Every 4 hours test run