File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
ci/docker/x86_64-gnu-tools Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,13 @@ commit_toolstate_change() {
6262 MESSAGE_FILE=" $1 "
6363 shift
6464 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.
6972 " $@ "
7073 # `git commit` failing means nothing to commit.
7174 FAILURE=0
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22# -*- coding: utf-8 -*-
33
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+
47import sys
58import re
69import os
You can’t perform that action at this time.
0 commit comments