feat: update Forgejo deployment URL and add installation check in startup script

This commit is contained in:
jon brookes 2025-10-14 15:58:09 +01:00
parent 8faa97a8bb
commit bb4d0cc701
3 changed files with 9 additions and 1 deletions

View file

@ -100,3 +100,11 @@ if [[ ! -d "$INFCTL_INSTALL_DIR" ]]; then
chown -R user:user "$INFCTL_INSTALL_DIR"
fi
# check to see if INSTALL_FORGEJO is set to "true"
if [[ "$INSTALL_FORGEJO" == "true" ]]; then
# install forgejo using infctl
# ....
LOG_FORMAT=none infctl -f "${INFCTL_INSTALL_DIR}/infctl-cli/gcloud/tf/scripts/install-forgejo-pipeline.json"
touch /etc/forgejo_was_installed
fi