From 7c27e11156cb4f6bd9370a5701bdb2fecb38b74a Mon Sep 17 00:00:00 2001
From: Doug Bunting <6431421+dougbu@users.noreply.github.com>
Date: Tue, 10 Nov 2020 09:47:00 -0800
Subject: [PATCH] [release/5.0] Add release/5.0 pipeline runs (#27533)

- run aspnetcore-helix-matrix at 09:00 UTC
  - the first run of master starts at noon UTC
  - looks highly unlikely new run would take 3 hours
- add rolling builds of aspnetcore-quarantined-pr

nit: make target branches for PR builds explicit
- we don't support Helix testing of 3.1 or older
---
 .azure/pipelines/helix-matrix.yml   | 6 ++++++
 .azure/pipelines/quarantined-pr.yml | 8 ++++++++
 2 files changed, 14 insertions(+)

diff --git a/.azure/pipelines/helix-matrix.yml b/.azure/pipelines/helix-matrix.yml
index 6e491364008..60dfce9c92c 100644
--- a/.azure/pipelines/helix-matrix.yml
+++ b/.azure/pipelines/helix-matrix.yml
@@ -2,11 +2,17 @@
 pr: none
 trigger: none
 schedules:
+# Cron timezone is UTC.
 - cron: "0 */12 * * *"
   branches:
     include:
     - master
   always: true
+- cron: "0 9 * * *"
+  branches:
+    include:
+    - release/5.0
+  always: false
 
 variables:
 - ${{ if ne(variables['System.TeamProject'], 'internal') }}:
diff --git a/.azure/pipelines/quarantined-pr.yml b/.azure/pipelines/quarantined-pr.yml
index b90a1793e9e..e0615896a7c 100644
--- a/.azure/pipelines/quarantined-pr.yml
+++ b/.azure/pipelines/quarantined-pr.yml
@@ -4,6 +4,14 @@ trigger:
   branches:
     include:
     - master
+    - release/5.0
+
+pr:
+  autoCancel: true
+  branches:
+    include:
+    - master
+    - release/5.0
 
 schedules:
 - cron: "0 */4 * * *"
-- 
GitLab