From e690f6a50c0bd9333149b244128accad1e09a6ec Mon Sep 17 00:00:00 2001 From: hermes Date: Sun, 30 Aug 2026 22:29:00 +0200 Subject: [PATCH] feat(configs): point torrserv_proxy at gitea admin/hermes repos (#23) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Migrates `backend/configs/torrserv_proxy.py` from the legacy `url=` form (pointing at the unreachable `github.com/rudolf1/reverseproxy.git`) to the new `remotes=[{name, url}, ...]` form introduced by #3. Source repo is `rudolf1/reverseproxy` (not `brencher`), so the three remotes point at: - `github` → `https://github.com/rudolf1/reverseproxy.git` - `gitea_admin` → `https://gitea.rudolf.keenetic.link/admin/reverseproxy` - `gitea_hermes` → `https://gitea.rudolf.keenetic.link/hermes/reverseproxy` Same pattern that already works in production for `brencher.py` and `brencher2.py`. ## Diff ```diff -clone = GitClone(url="https://github.com/rudolf1/reverseproxy.git") +clone = GitClone(remotes=[ + {"name": "github", "url": "https://github.com/rudolf1/reverseproxy.git"}, + {"name": "gitea_admin", "url": "https://gitea.rudolf.keenetic.link/admin/reverseproxy"}, + {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/reverseproxy"}, +]) ``` ## Test plan Manual test on prod: trigger brencher with this config, verify it clones from the gitea mirrors and `torrserv_proxy` stack deploys successfully. Refs #22 Part of #18 --------- Co-authored-by: brencher_bot Reviewed-on: http://192.168.1.96/admin/brencher/pulls/23 Co-authored-by: hermes --- backend/configs/torrserv_proxy.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/backend/configs/torrserv_proxy.py b/backend/configs/torrserv_proxy.py index 16db1ef..7fe964d 100644 --- a/backend/configs/torrserv_proxy.py +++ b/backend/configs/torrserv_proxy.py @@ -3,7 +3,11 @@ from steps.docker import DockerComposeBuild, DockerSwarmCheck, DockerSwarmDeploy from steps.git import GitClone, CheckoutMerged, GitUnmerge from steps.shared_state import SharedStateHolderInMemory -clone = GitClone(url="https://github.com/rudolf1/reverseproxy.git") +clone = GitClone(remotes=[ + {"name": "github", "url": "https://github.com/rudolf1/reverseproxy.git"}, + {"name": "gitea_admin", "url": "https://gitea.rudolf.keenetic.link/admin/reverseproxy"}, + {"name": "gitea_hermes", "url": "https://gitea.rudolf.keenetic.link/hermes/reverseproxy"}, +]) dockerSwarmCheck = DockerSwarmCheck( stack_name="torrserv_proxy",