wip: e2e-dev-ap-forgejo-mastodon #2
Loading…
Reference in a new issue
No description provided.
Delete branch "e2e-dev-ap-forgejo-mastodon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pls. change
@ -133,0 +148,4 @@In end-to-end root folder:```bashpodman build -t forgejo-mastodon-end2end .rename to forgejo-end2end
@ -0,0 +1,19 @@#!/usr/bin/env bashmv these scripts to folder forgejo-end2end-image
@ -0,0 +4,4 @@source ../../lib/lib.shsudo chown -R forgejo-tests:forgejo-tests /usr/local/share/ca-certificates/sudo chown -R forgejo-tests:forgejo-tests forgejo-one/certs/this should happen in init.sh
@ -0,0 +9,4 @@ip=$(hostname -I | cut -f1 -d' ')host="forgejo-one"sudo update-ca-certificatesthis should happen in init.sh
@ -0,0 +12,4 @@sudo update-ca-certificatesecho -e "\nGenerating $host self-signed certificate"generate_certs ${ip} ${host}ip has to be removed from cert gen.
Test with mastodon
@ -1,6 +1,7 @@#!/usr/bin/env bashsource $SCENARIO_DIR/../../lib/lib.shexport FEDERATION_INSTANCES="ONE"we do not need three any more?
needs to wait until forgejo runs properly
@ -7,3 +7,3 @@if [[ -e "$tmpdir" ]]; thentmpdir="$(cat "$tmpdir")"podman-compose -f "$tmpdir/podman-compose.yaml" downpodman-compose -f "$tmpdir/compose.yaml" downwhere does tmpdir come from ?
@ -477,0 +478,4 @@function generate_certs() {ip=${1}remove ip!
Test with mastodon
@ -0,0 +1,19 @@#!/usr/bin/env bash## mastodon-streamingdocker cp $HOME/tmp/docker_images_export/code.forgejo.org.federation.mastodon-streaming.v4.4.5-test.tgz $(docker container ls | awk 'NR==2 {print $1}'):/tmp/code.forgejo.org.federation.mastodon-streaming.v4.4.5-test.tgzpls use podman here
Deleting cp bases will also solve this
@ -0,0 +3,4 @@[server]APP_DATA_PATH = ${WORK_PATH}/dataDOMAIN = ${IP}use compose hostname here.
@ -0,0 +1,96 @@services:forgejo-one:forgejo-THREE
@ -0,0 +1,3 @@#!/usr/bin/env bashhere cert update has to come here
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.