Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
CI: Run runtime-extra-platforms with batched builds for release (#7…
…6587)

.. 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.
  • Loading branch information
radical committed Oct 4, 2022
commit 2b71dee8dffbc72c340fadb6b436b22a66ab6e26
26 changes: 18 additions & 8 deletions eng/pipelines/runtime-extra-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,24 @@
# if there is a push while a build in progress, it will wait,
# until the running build finishes, and produce a build with all the changes
# that happened during the last build.

trigger: none
trigger:
batch: true
branches:
include:
- release/*.*
paths:
include:
- '*'
- docs/manpages/*
exclude:
- '**.md'
- eng/Version.Details.xml
- .devcontainer/*
- .github/*
- docs/*
- LICENSE.TXT
- PATENTS.TXT
- THIRD-PARTY-NOTICES.TXT

schedules:
- cron: "0 9,21 * * *" # run at 9:00 and 21:00 (UTC) which is 1:00 and 13:00 (PST).
Expand All @@ -17,12 +33,6 @@ schedules:
include:
- main
always: false # run only if there were changes since the last successful scheduled run.
- cron: "0 6,18 * * *" # run at 6:00 and 18:00 (UTC) which is 22:00 and 10:00 (PST).
displayName: Runtime extra release schedule
branches:
include:
- release/*
always: false # run only if there were changes since the last successful scheduled run.

variables:
- template: /eng/pipelines/common/variables.yml
Expand Down