Commit 9453d99
Add branch-neutral CI infrastructure (mirrors PR 820 work, branch-derived)
Bootstrap of the CI pipeline on maintenance/gramps61. The .github/
workflows, Dockerfile, and shared tests/ harness are the same shape as
PR 820 (gramps-project#820) and its follow-ups
(gramps-project#820 commits c6aa10e, 8d2654a,
28febdc, 715e71d, dd0fd38, 205b21c, f5907af, ff215ac),
restructured so the image tag, make.py argument, and Gramps pip pin
are all derived from the branch ref at runtime — same files run
unchanged on maintenance/gramps60, maintenance/gramps61, and any
future maintenance/grampsNN branch.
This commit lands the branch-neutral form directly on maintenance/
gramps61 instead of cherry-picking the gramps60 form and the
branch-neutral patches on top, because gramps61 has no prior CI
infrastructure to preserve.
Verified locally:
- python3 -c "import yaml; yaml.safe_load(...)" on both workflow files
- bash dry-run of ci.yml setup-job derivation: gramps61 → suffix=
'gramps61', ci_image='ghcr.io/<repo>/gramps-ci:gramps61'
- bash dry-run of docker-build params: gramps61 → series=6.1
- docker build --check --build-arg GRAMPS_SERIES=6.0 → no warnings
- GRAMPS_SERIES guard fails the build loudly when the arg is unset
First-push expectation on this branch: docker-build and ci queue
together; ci's container jobs fail pulling the not-yet-pushed image
on the first run; re-run after docker-build finishes (~5 min cold)
and the image is available.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent fcdef0c commit 9453d99
7 files changed
Lines changed: 1016 additions & 0 deletions
File tree
- .github
- docker/gramps-ci
- workflows
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments