Weekly Release Build
@@ -27,6 +27,15 @@ pr:
- docs/*
- README.md
+# Periodically rebuild release branches to make sure they are functional.
+schedules:
+- cron: "0 0 * * Mon"
+ displayName: Weekly Release Build
+ branches:
+ include:
+ - release/*
+ always: true
+
name: 0.$(Date:yyyy).$(Date:MM).$(DayOfMonth).$(Rev:rr).0
resources:
@@ -323,6 +332,7 @@ stages:
rttMs: (5,50,200)
logProfile: Datapath.Light
+- ${{ if not(eq(variables['Build.Reason'], 'Schedule')) }}:
- stage: perf_post_process
displayName: Perf Post Processing
condition: succeededOrFailed()
@@ -493,7 +503,7 @@ stages:
# Mirror
#
-- ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'))) }}:
+- ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(eq(variables['Build.Reason'], 'Schedule')), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'))) }}:
- stage: mirror
displayName: Mirror Branch
dependsOn:
@@ -527,7 +537,7 @@ stages:
# Distribution
#
-- ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'))) }}:
+- ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(eq(variables['Build.Reason'], 'Schedule')), not(startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'))) }}:
- stage: distribution
displayName: Distribution
dependsOn:
