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)

.. 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 274ff83 commit 04f67a5
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions eng/pipelines/runtime-extra-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +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 @@ -16,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 04f67a5

Please sign in to comment.