-
-
Notifications
You must be signed in to change notification settings - Fork 674
Description
We create a GH Actions workflow, run daily (intended for running on sagetrac-mirror
) as a cron job (
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule).
It can also be triggered manually via workflow_dispatch
.
Example run at
https://github.com/mkoeppe/sage/runs/5060070979
-
Merge mergeable Trac tickets from the current milestone, ordered by priority/deps, using
git releasemgr merge-all --milestone=current
-
Run using tox/docker on a stable platform (
ubuntu-focal-recommended
). (The new package factorrecommended
is likestandard
, but with texlive etc. added, as needed fordoc-pdf
). We setSAGE_DOCTEST_RANDOM_SEED=0
to reduce random failures.
Only testsuite failures that do not already fail in the baseline are considered failures. -
Docker images are pushed to
ghcr.io
, see https://github.com/mkoeppe?tab=packages&q=recommended
Related issues and PRs:
- Run patchbot on all tickets, including those with package changes sage-patchbot#148
- Compile the pdf documentation and report on error sage-patchbot#64
- setup.cfg: New, add extras_require 'releasemgr' git-trac-command#53
- git releasemgr {todo,merge-all}: Add option --milestone git-trac-command#54
- ReleaseApplication._commit: Python 3 fix git-trac-command#55
- ReleaseApplication.merge: Actually handle merge conflicts git-trac-command#56
- git releasemgr merge-all: Put tickets with merge conflict to needs_work WITH useful info git-trac-command#57
- /ticket/<int:ticket>/status: New route sage-patchbot#150
- Do not build branches that only have CI changes sage-patchbot#153
- tox.ini: Update git-trac-command#59
- ReleaseApplication._current_milestone: Search for first release tag git-trac-command#60
- git releasemgr: Add option --trac-context git-trac-command#61
- git releasemgr merge: Handle errors, print summary like merge-all git-trac-command#62
- git releasemgr {todo,merge-all}: Add options --patchbot-status and --status git-trac-command#58
Refinements:
-
Provide it with Trac credentials so it can set tickets back to
needs_work
on merge failures (using git releasemgr merge-all: Put tickets with merge conflict to needs_work WITH useful info git-trac-command#57)--> Trac account requested
-
Run
git log --first-parent
on files with merge conflict -
Provide it with GitHub credentials so it can push a branch
$RELEASE_TAG+integration-$DATE
, if it passes build + doctests + doc-pdf. -
Perhaps
git bisect --first-parent
for passing; set first failing ticket back toneeds_work
-
Another workflow for integration testing of all tickets in the current milestone with
--patchbot-status=Spkg
and--status=needs_review positive_review
with the full portability CI.
Depends on #33233
Depends on #31529
Depends on #33103
Depends on #33277
Component: distribution
Author: Matthias Koeppe
Branch/Commit: u/mkoeppe/gh_actions__create_daily_integration_branch @ 37c76a6
Issue created by migration from https://trac.sagemath.org/ticket/33222