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>
11 lines
305 B
Bash
Executable file
11 lines
305 B
Bash
Executable file
#!/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
|