feat(federation): add scenario-gotosocial setup and teardown (#1275)

3/5 taken out of #1269

This patch adds the setup and teardown of GoToSocial for use in the end-to-end tests

Reviewed-on: https://code.forgejo.org/forgejo/end-to-end/pulls/1275
Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org>
Reviewed-by: Beowulf <beowulf@beocode.eu>
Co-authored-by: famfo <famfo@famfo.xyz>
Co-committed-by: famfo <famfo@famfo.xyz>
This commit is contained in:
famfo 2026-01-05 17:36:57 +00:00 committed by Beowulf
parent a57c631fae
commit 45417622c0
6 changed files with 98 additions and 0 deletions

11
run.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
podman build -t forgejo-e2e .
patchelf ../forgejo/forgejo --set-interpreter /lib64/ld-linux-x86-64.so.2
podman run \
-it --privileged \
-v ../forgejo/gitea:/srv/forgejo-binaries/forgejo-14.0 \
-p 3001-3003:3001-3003 \
-p 4000:4000 \
-p 8080:8080 \
forgejo-e2e