remove node holders and general repo cleanup
Some checks failed
Build and Test / terraria (push) Failing after 4m42s
Build and Test / minecraft-wiiu (push) Failing after 4m44s
Build and Test / splatoon-testfire (push) Failing after 4m45s
Build and Test / mario-tennis (push) Successful in 4m48s
Build and Test / sonic-transformed (push) Failing after 4m54s
Build and Test / friends (push) Failing after 4m56s
Build and Test / splatoon (push) Failing after 4m56s
Build and Test / fast-racing-neo (push) Failing after 4m58s
Build and Test / wii-u-chat (push) Failing after 4m58s
Build and Test / super-mario-maker (push) Failing after 5m2s
Build and Test / puyopuyo (push) Failing after 5m8s
Build and Test / wii-sports-club (push) Failing after 5m9s

the node holders were just causing issues, we have no need for them currently, so we can just set the secure proxy URL through FORWARD_DESTINATION. less complexity for the cluster and self-hosters too
This commit is contained in:
red binder 2026-08-09 17:29:06 +02:00
commit aaf9bc4b65
31 changed files with 51 additions and 574 deletions

32
.forgejo/workflows/build.sh Executable file
View file

@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -e
export EDITION=$1
source /etc/environment 2>/dev/null || true
: "${RNEX_CONTAINER_PLATFORM:=docker}"
export SHORT_SHA=${GITHUB_SHA::6}
export CI_COMMIT_SHORT_SHA=${CI_COMMIT_SHORT_SHA:-$SHORT_SHA}
echo "building $EDITION"
export TARGET_DIR="target/release"
./test-edition.sh
./build-edition.sh
mkdir -p dist/
cp $TARGET_DIR/rnex-server-backend-node-holder dist/
cp $TARGET_DIR/proxy_insecure dist/
cp $TARGET_DIR/proxy_secure dist/
cp $TARGET_DIR/rnex-server-backend-auth dist/
cp $TARGET_DIR/rnex-server-backend-secure dist/
TARGETS=("proxy-secure" "proxy-insecure" "backend-auth" "backend-secure")
for TARGET in "${TARGETS[@]}"; do
$RNEX_CONTAINER_PLATFORM build \
--target="$TARGET" \
-t "$CI_REGISTRY_IMAGE/$EDITION/$TARGET:$CI_COMMIT_SHORT_SHA" .
$RNEX_CONTAINER_PLATFORM push "$CI_REGISTRY_IMAGE/$EDITION/$TARGET:$CI_COMMIT_SHORT_SHA"
done

View file

@ -62,4 +62,4 @@ jobs:
run: |
echo "SHORT_SHA=${SHORT_SHA::6}" >> $GITHUB_ENV
export CI_COMMIT_SHORT_SHA="${SHORT_SHA::6}"
./.ci-scripts/make-edition.sh ${{ matrix.edition }}
./.forgejo/workflows/build.sh ${{ matrix.edition }}