Skip to content

Commit

Permalink
[Azure Pipelines] limit triggers to branches actually used (web-platf…
Browse files Browse the repository at this point in the history
…orm-tests#20441)

Branches like epochs/six_hourly wouldn't do anything, but they create
a lot of entries in the Azure DevOps dashboard:
https://dev.azure.com/web-platform-tests/wpt/_build?definitionId=1

The no-op builds are mostly harmless, but make it harder to find the
interesting builds.
  • Loading branch information
foolip committed Nov 27, 2019
1 parent ac64581 commit 733805e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,13 @@
# https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows

trigger:
- epochs/*
- triggers/*
# These are all the branches referenced in the jobs that follow.
- epochs/daily
- epochs/three_hourly
- triggers/edge_dev
- triggers/edge_canary
- triggers/safari_stable
- triggers/safari_preview

jobs:
# The affected tests jobs are unconditional for speed, as most PRs have one or
Expand Down

0 comments on commit 733805e

Please sign in to comment.