mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 05:39:41 +02:00
Automatic update from web-platform-tests Don't use HEAD or FETCH_HEAD to checkout specific revisions. (#16066) FETCH_HEAD is unreliable because it's a global variable that can be accidentially clobbered by adding an additional fetch anywhere in the pipeline. As a result running tests in CI has been broken since we chose the wrong revisions. HEAD is more reliable but doesn't exist until we first check something out. Instead, do the following: * Fetch the initial commits into a branch called task_head and check this out unconditionally. * For PRs, create branches called base_head and pr_head pointing to the two parents of the merge commit that we test on PRs. * Express all the other revisions in terms of task_head, pr_head and base_head, since they are both correct and more descriptive than using complex revision specifiers. * Move as much logic as possible out of the script baked in to the docker image since that's hardest to update. -- wpt-commits: e5044ace1ad217e683fb239ce6f88806f05139e3 wpt-pr: 16110 |
||
|---|---|---|
| .. | ||
| github | ||
| .bashrc | ||
| Dockerfile | ||
| retry.py | ||
| start.sh | ||