Skip to content

Commit

Permalink
CI: Run runtime-extra-platforms with batched builds for release (#7…
Browse files Browse the repository at this point in the history
…6587) (#76615)

.. 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 authored Oct 4, 2022
1 parent 077d0c7 commit 8743673
Showing 1 changed file with 18 additions and 8 deletions.
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

0 comments on commit 8743673

Please sign in to comment.