[Stress] Scheduled runs take definition from YML in main#128134
[Stress] Scheduled runs take definition from YML in main#128134ManickaP wants to merge 1 commit into
Conversation
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure Pipelines scheduled branch filters for the HTTP and SSL stress pipelines so that nightly schedules also run for release/*.0-staging branches (in addition to main and release/*.0).
Changes:
- Add
release/*.0-stagingto the scheduledbranches.includelist in the SSL stress pipeline. - Add
release/*.0-stagingto the scheduledbranches.includelist in the HTTP stress pipeline.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| eng/pipelines/libraries/stress/ssl.yml | Extends the nightly schedule branch include filter to cover release/*.0-staging. |
| eng/pipelines/libraries/stress/http.yml | Extends the nightly schedule branch include filter to cover release/*.0-staging. |
|
weird, I removed these lines recently exactly because it seemed that the defintions are taken from the respective branches :D |
|
Now consider that a branch named release is created based off main, and then release is added to the branch filters in the YAML file in the main branch, but not in the newly created release branch. # YAML file in the release branch
schedules:
- cron: '0 0 * * *'
displayName: Daily midnight build
branches:
include:
- main
# YAML file in the main branch with release added to the branches list
schedules:
- cron: '0 0 * * *'
displayName: Daily midnight build
branches:
include:
- main
- releaseBecause release was added to the branch filters in the main branch, but not to the branch filters in the release branch, the release branch won't be built on that schedule. Only when the release branch is added to the branch filters in the YAML file in the release branch will the scheduled build be added to the scheduler. |
|
I'm asking in FR channel, cause I based this PR on their reply there. |
We're not running on staging branches right now. Apparently, the scheduled runs take the definition from main and not their respective branches.