Skip to content

Commit 6f56f6f

Browse files
authored
Split ado release pipeline into two gated stages (#165)
* Split ado release pipeline into two, gated stages * Weekly scheduled builds
1 parent 39564af commit 6f56f6f

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

eng/ci/official-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ trigger:
1111
pr: none
1212

1313
schedules:
14-
# Build nightly to catch any new CVEs and report SDL often.
14+
# Build weekly to catch any new CVEs and report SDL often.
1515
# We are also required to generate CodeQL reports weekly, so this
1616
# helps us meet that.
17-
- cron: "0 5 * * *"
18-
displayName: Nightly Build
17+
- cron: "0 5 * * 0"
18+
displayName: Weekly Build
1919
branches:
2020
include:
2121
- main

eng/ci/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ extends:
2020
os: linux
2121

2222
stages:
23-
- stage: release
23+
- stage: release_durabletask
24+
displayName: "Release durabletask"
2425
jobs:
2526
- job: durabletask
2627
displayName: "Release durabletask"
@@ -59,6 +60,13 @@ extends:
5960
mainpublisher: "durabletask-java"
6061
domaintenantid: "33e01921-4d64-4f8c-a055-5bdaffd5e33d"
6162

63+
- stage: release_durabletask_azuremanaged
64+
displayName: "Release durabletask-azuremanaged"
65+
# Wait for the core durabletask stage to finish before publishing the
66+
# dependent provider package. If the durabletask stage is de-selected
67+
# at queue time, ADO skips it and this stage runs on its own.
68+
dependsOn: release_durabletask
69+
jobs:
6270
- job: durabletask_azuremanaged
6371
displayName: "Release durabletask-azuremanaged"
6472
templateContext:

0 commit comments

Comments
 (0)