-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add triggers/* branches to support triggering full runs (#18870)
Handle empty list of commits in `get_extra_jobs`, since that's possible when force pushing. Fixes #13263.
- Loading branch information
Showing
5 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Running Tests on CI | ||
|
||
Contributors with write access to the repository can trigger full runs in the | ||
same CI systems used to produce results for [wpt.fyi](https://wpt.fyi). The runs | ||
are triggered by pushing to branch names on the form `triggers/$browser_$channel` | ||
and the results will be automatically submitted to wpt.fyi. | ||
|
||
This is useful when making infrastructure changes that could affect very many | ||
tests, in order to avoid regressions. | ||
|
||
Note: Full runs use a lot of CI resources, so please take care to not trigger | ||
them more than necessary. | ||
|
||
Instructions: | ||
|
||
* Base your changes on a commit for which there are already results in wpt.fyi. | ||
|
||
* Determine which branch name to push to by looking for `refs/heads/triggers/` | ||
in `.azure-pipelines.yml` and `.taskcluster.yml`. For example, to trigger a | ||
full run of Safari Technology Preview, the branch name is | ||
`triggers/safari_preview`. | ||
|
||
* Force push to the branch, for example: | ||
`git push --force-with-lease origin HEAD:triggers/safari_preview`. | ||
The `--force-with-lease` argument is to detect if someone else has just | ||
pushed. When this happens wait for the checkout step of their triggered run | ||
to finish before you force push again. | ||
|
||
You can see if the run started from the commit status on GitHub's commits listing | ||
([example](https://github.com/web-platform-tests/wpt/commits/triggers/safari_preview)) | ||
and if successful the results will show up on wpt.fyi within 10 minutes | ||
([example](https://wpt.fyi/runs?product=safari)). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters