File tree 2 files changed +10
-4
lines changed
ci/docker/x86_64-gnu-tools
2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,13 @@ commit_toolstate_change() {
62
62
MESSAGE_FILE=" $1 "
63
63
shift
64
64
for RETRY_COUNT in 1 2 3 4 5; do
65
- # Call the callback; this will in the end call `change_toolstate` from
66
- # `checktools.sh` if we are in the `auto` branch (pre-landing) or
67
- # `src/tools/publish_toolstate.py` if we are in the `master` branch
68
- # (post-landing).
65
+ # Call the callback.
66
+ # - If we are in the `auto` branch (pre-landing), this is called from `checktools.sh` and
67
+ # the callback is `change_toolstate` in that file. The purpose of this is to publish the
68
+ # test results (the new commit-to-toolstate mapping) in the toolstate repo.
69
+ # - If we are in the `master` branch (post-landing), this is called by the CI pipeline
70
+ # and the callback is `src/tools/publish_toolstate.py`. The purpose is to publish
71
+ # the new "current" toolstate in the toolstate repo.
69
72
" $@ "
70
73
# `git commit` failing means nothing to commit.
71
74
FAILURE=0
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
# -*- coding: utf-8 -*-
3
3
4
+ ## This is set as callback for `src/ci/docker/x86_64-gnu-tools/repo.sh` by the CI scripts
5
+ ## when a new commit lands on `master` (i.e., after it passed all checks on `auto`).
6
+
4
7
import sys
5
8
import re
6
9
import os
You can’t perform that action at this time.
0 commit comments