Skip to content

Commit 31a8022

Browse files
committed
Stop tagging commits pushed to epoch branches
This reverts #26122. Document the epoch branches and how to debug them locally to remove the need for these tags. Fixes #26122.
1 parent 3211c4a commit 31a8022

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

docs/admin/index.md

+15-4
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,22 @@ infrastructure which makes the project possible.
2929
* :ref:`search`
3030
```
3131

32-
## Secrets
32+
## Coordinating different CI systems
3333

34-
SSL certificates for all HTTPS-enabled domains are retrieved via [Let's
35-
Encrypt](https://letsencrypt.org/), so that data does not represent an
36-
explicitly-managed secret.
34+
Multiple CI systems are used to run tests and upload results to
35+
[wpt.fyi](https://wpt.fyi/). In order to ensure the same commit is
36+
used across CI systems, there are "epoch branches" like
37+
`epochs/daily` and `epochs/weekly` which can be used to trigger such
38+
runs.
39+
40+
These branches are update by a [workflow](https://github.com/web-platform-tests/wpt/blob/master/.github/workflows/epochs.yml)
41+
using the `./wpt rev-list` command. This command can also be used to
42+
show what commits these branches have pointed to in the past, e.g., to
43+
show what the `epochs/daily` branch has been the past 10 days:
44+
45+
```bash
46+
./wpt rev-list --epoch 1d --max-count 10
47+
```
3748

3849
## Third-party account owners
3950

tools/ci/epochs_update.sh

+1-8
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,11 @@ main () {
3232
exit 1
3333
fi
3434
git branch "${EPOCH_BRANCH_NAME}" "${EPOCH_SHA}"
35-
36-
# Only set epoch tag if is not already tagged from a previous run.
37-
if ! git tag --points-at "${EPOCH_SHA}" | grep "${EPOCH_BRANCH_NAME}"; then
38-
EPOCH_STAMP="$(date +%Y-%m-%d_%HH)"
39-
git tag "${EPOCH_BRANCH_NAME}/${EPOCH_STAMP}" "${EPOCH_SHA}"
40-
fi
41-
4235
ALL_BRANCHES_NAMES="${ALL_BRANCHES_NAMES} ${EPOCH_BRANCH_NAME}"
4336
done
4437
# This is safe because `git push` will by default fail for a non-fast-forward
4538
# push, for example if the remote branch is ahead of the local branch.
46-
git push --tags ${REMOTE} ${ALL_BRANCHES_NAMES}
39+
git push ${REMOTE} ${ALL_BRANCHES_NAMES}
4740
}
4841

4942
cd $WPT_ROOT

0 commit comments

Comments
 (0)