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>
12 lines
269 B
Bash
12 lines
269 B
Bash
#!/usr/bin/env bash
|
|
|
|
source "$DIR/federation_scenario-gotosocial-env"
|
|
|
|
if [[ -z "$container_id" ]]; then
|
|
echo "gotosocial container ID not found, container may not be stopped"
|
|
exit 1
|
|
fi
|
|
|
|
podman stop "$container_id"
|
|
rm "$DIR/federation_scenario-gotosocial-env"
|
|
|