Skip to content

Commit 04f67a5

Browse files
authored
CI: Run runtime-extra-platforms with batched builds for release (#76587)
.. branches. Currently, for `release/*` branches, the pipeline is run twice a day, if there are any changes since the last *successful* run. In contrast, the `runtime` pipeline only runs batched builds for the release branches. This can get into a situation like: 1. commit ABC pushed to the release branch 2. `runtime` builds for ABC -- batched build 3. `runtime-extra-platforms` builds on a schedule, but this pipeline is unstable, and fails. 4. `runtime-extra-platforms` now runs twice a day, till we have a new commit, because the pipeline is never green Instead, this changes the behavior to match `runtime` pipeline, and only run batched builds.
1 parent 274ff83 commit 04f67a5

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

eng/pipelines/runtime-extra-platforms.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,24 @@
77
# if there is a push while a build in progress, it will wait,
88
# until the running build finishes, and produce a build with all the changes
99
# that happened during the last build.
10-
trigger: none
10+
trigger:
11+
batch: true
12+
branches:
13+
include:
14+
- release/*.*
15+
paths:
16+
include:
17+
- '*'
18+
- docs/manpages/*
19+
exclude:
20+
- '**.md'
21+
- eng/Version.Details.xml
22+
- .devcontainer/*
23+
- .github/*
24+
- docs/*
25+
- LICENSE.TXT
26+
- PATENTS.TXT
27+
- THIRD-PARTY-NOTICES.TXT
1128

1229
schedules:
1330
- cron: "0 9,21 * * *" # run at 9:00 and 21:00 (UTC) which is 1:00 and 13:00 (PST).
@@ -16,12 +33,6 @@ schedules:
1633
include:
1734
- main
1835
always: false # run only if there were changes since the last successful scheduled run.
19-
- cron: "0 6,18 * * *" # run at 6:00 and 18:00 (UTC) which is 22:00 and 10:00 (PST).
20-
displayName: Runtime extra release schedule
21-
branches:
22-
include:
23-
- release/*
24-
always: false # run only if there were changes since the last successful scheduled run.
2536

2637
variables:
2738
- template: /eng/pipelines/common/variables.yml

0 commit comments

Comments
 (0)