Build from Gitea instead of GitHub; modules repinned
CI / backend (17) (push) Successful in 21m14s
CI / managed-db (push) Successful in 9m30s
CI / backend (16) (push) Successful in 21m53s
CI / compose-smoke (push) Successful in 2m4s
deploy kit / preflight (push) Failing after 24s

The Alpaq92 GitHub account is suspended. dredd-core now comes from the public
Haski/dredd-core on Gitea (requirements, deploy_check, the push test), CI no
longer authenticates to GitHub, and push.sh names the Gitea repositories.

Every module is repinned to its commit that does the same (one commit on top
of the previous pin, nothing else changes).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
admin
2026-11-29 17:05:50 +01:00
co-authored by Claude Opus 5.5
parent 4b5ed7bb45
commit fc7fd4a276
15 changed files with 24 additions and 40 deletions
-16
View File
@@ -43,17 +43,6 @@ jobs:
-- EXISTS then no-ops, so the least-privilege migrator never needs extension rights.
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
SQL
- name: Authenticate to dredd-core
# dredd-core is a PRIVATE repo, so the `git+https://` requirement cannot be fetched
# anonymously — without this step `pip install` fails with a git auth prompt/404.
# The rewrite injects the token for that ONE repo URL; every other GitHub URL is untouched,
# and the secret stays out of the requirements file and the pip log.
# Add the secret under Settings → Secrets and variables → Actions → DREDD_CORE_TOKEN
# (a fine-grained PAT with read-only Contents access on Alpaq92/dredd-core).
env:
TOKEN: ${{ secrets.DREDD_CORE_TOKEN }}
run: |
git config --global url."https://x-access-token:${TOKEN}@github.com/Alpaq92/dredd-core".insteadOf "https://github.com/Alpaq92/dredd-core"
- name: Install deps
working-directory: backend
run: pip install -r requirements-dev.txt
@@ -165,11 +154,6 @@ jobs:
- uses: actions/checkout@v5
- uses: actions/setup-python@v6
with: { python-version: "3.12" }
- name: Authenticate to dredd-core
env:
TOKEN: ${{ secrets.DREDD_CORE_TOKEN }}
run: |
git config --global url."https://x-access-token:${TOKEN}@github.com/Alpaq92/dredd-core".insteadOf "https://github.com/Alpaq92/dredd-core"
- name: Install deps
working-directory: backend
run: pip install -r requirements-dev.txt
+1 -1
View File
@@ -56,7 +56,7 @@
# v0.21.0 adds the counterparty register: the three shared tables the hub creates and grants in its
# identity schema (`alembic/versions/0012_counterparties.py`, re-applied by `app.identity_grants`),
# and the import door modules move their own counterparties in through. The hub holds no tier on them.
dredd-core @ git+https://github.com/Alpaq92/dredd-core@v0.26.1
dredd-core @ git+http://77.216.148.202:3000/Haski/dredd-core.git@v0.26.1
# Web framework
fastapi==0.115.6
+1 -1
View File
@@ -120,7 +120,7 @@ check("USER app" in dockerfile, "container runs as root",
# ── the image can install the private core ────────────────────────────────────
requirements = read("backend/requirements.txt")
if "git+https://github.com/Alpaq92/dredd-core" in requirements:
if "dredd-core @ git+" in requirements:
# Not `"git" in dockerfile` — the secret-mount RUN names github.com, so that could never fail.
# Look for git as a package of an apt/apk install (comments dropped, `\` continuations joined as
# BuildKit joins them: whitespace may follow the backslash, and blank lines inside are skipped).
+1 -1
View File
@@ -359,7 +359,7 @@ class TestTheHalfDoneShapesOfOneAccountAreRefused:
"""A module held on an older dredd-core (here Sygna on 0.18.1): its `managed check` has no
--counterparties flag, and its revisions move nothing, so the preflight asks nothing of it."""
reqs = rig / "modules" / "sygna" / "backend" / "requirements.txt"
reqs.write_text("dredd-core @ git+https://github.com/Alpaq92/dredd-core@v0.18.1\n",
reqs.write_text("dredd-core @ git+http://77.216.148.202:3000/Haski/dredd-core.git@v0.18.1\n",
encoding="utf-8")
try:
done, trace = _push(rig, platform=True, trace="cp-old", settings={"atrium": {
+11 -11
View File
@@ -352,18 +352,18 @@ STRIP=${STRIP# } FAMILY_ROLES=${FAMILY_ROLES# }
module_repo() {
case $1 in
atrium) printf 'https://github.com/Alpaq92/Atrium' ;;
galena) printf 'https://github.com/Alpaq92/Galena' ;;
sygna) printf 'https://github.com/Alpaq92/Sygna' ;;
counsel) printf 'https://github.com/Alpaq92/CounselScorecard' ;;
insider) printf 'https://github.com/Alpaq92/Insider' ;;
atrium) printf 'http://77.216.148.202:3000/Haski/Atrium' ;;
galena) printf 'http://77.216.148.202:3000/Haski/Galena' ;;
sygna) printf 'http://77.216.148.202:3000/Haski/Sygna' ;;
counsel) printf 'http://77.216.148.202:3000/Haski/CounselScorecard' ;;
insider) printf 'http://77.216.148.202:3000/Haski/Insider' ;;
# Arbiter's repository also carries the analysis engine (packages/*): the app is apps/arbiter in it.
arbiter) printf 'https://github.com/Alpaq92/Arbiter' ;;
lexicon) printf 'https://github.com/Alpaq92/Lexicon' ;;
agora) printf 'https://github.com/Alpaq92/Agora' ;;
parafa) printf 'https://github.com/Alpaq92/Parafa' ;;
scribe) printf 'https://github.com/Alpaq92/Scribe' ;;
workflow) printf 'https://github.com/Alpaq92/Workflow' ;;
arbiter) printf 'http://77.216.148.202:3000/Haski/Arbiter' ;;
lexicon) printf 'http://77.216.148.202:3000/Haski/Lexicon' ;;
agora) printf 'http://77.216.148.202:3000/Haski/Agora' ;;
parafa) printf 'http://77.216.148.202:3000/Haski/Parafa' ;;
scribe) printf 'http://77.216.148.202:3000/Haski/Scribe' ;;
workflow) printf 'http://77.216.148.202:3000/Haski/Workflow' ;;
esac
}