chore: re-point bootstrapper URLs at Forgejo
Repo moved to forgejo.primatekun.tech/primatekuntech/triton-install (public). Swap every raw.githubusercontent.com/primatekuntech/ triton-install/main/* URL inside get.sh and README.md to the Forgejo raw-content path: https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/... End users now run the bootstrapper from Forgejo, anonymously. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4f2408eeb3
commit
d57345cd74
2 changed files with 17 additions and 17 deletions
14
README.md
14
README.md
|
|
@ -15,7 +15,7 @@ The vendor's public key is baked into the image at build time — nothing else t
|
||||||
Point the installer at the bundle:
|
Point the installer at the bundle:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --license-file /path/to/triton-bundle/license.lic
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --license-file /path/to/triton-bundle/license.lic
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setup wizard
|
## Setup wizard
|
||||||
|
|
@ -30,7 +30,7 @@ After install, open `http://localhost:8082` and complete the wizard:
|
||||||
Pass flags after `--`:
|
Pass flags after `--`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --license-file /path/to/license.lic [flags]
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --license-file /path/to/license.lic [flags]
|
||||||
```
|
```
|
||||||
|
|
||||||
| Flag | Description |
|
| Flag | Description |
|
||||||
|
|
@ -47,13 +47,13 @@ curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/
|
||||||
Pull the latest image and restart (keeps all data, runs DB migrations automatically):
|
Pull the latest image and restart (keeps all data, runs DB migrations automatically):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --upgrade
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --upgrade
|
||||||
```
|
```
|
||||||
|
|
||||||
Pin a specific version:
|
Pin a specific version:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --upgrade --image forgejo.primatekun.tech/primatekuntech/triton-manage-server:1.2.0
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --upgrade --image forgejo.primatekun.tech/primatekuntech/triton-manage-server:1.2.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
|
|
@ -61,13 +61,13 @@ curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/
|
||||||
Stop containers and remove them, but keep all data (PostgreSQL volume, credentials vault):
|
Stop containers and remove them, but keep all data (PostgreSQL volume, credentials vault):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --uninstall
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --uninstall
|
||||||
```
|
```
|
||||||
|
|
||||||
Also delete all data (irreversible):
|
Also delete all data (irreversible):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --uninstall --purge-data
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --uninstall --purge-data
|
||||||
```
|
```
|
||||||
|
|
||||||
## Host-bound licences
|
## Host-bound licences
|
||||||
|
|
@ -95,7 +95,7 @@ installer will always produce the same value.
|
||||||
To retrieve the Machine ID at any time without re-installing, simply re-run the install command:
|
To retrieve the Machine ID at any time without re-installing, simply re-run the install command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --license-file /path/to/license.lic
|
curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --license-file /path/to/license.lic
|
||||||
```
|
```
|
||||||
|
|
||||||
For air-gapped deployments without host binding the `.lic` file is portable, but anyone who
|
For air-gapped deployments without host binding the `.lic` file is portable, but anyone who
|
||||||
|
|
|
||||||
20
get.sh
20
get.sh
|
|
@ -6,31 +6,31 @@
|
||||||
# then hands off to install.sh.
|
# then hands off to install.sh.
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash
|
||||||
#
|
#
|
||||||
# Pass flags through to install.sh:
|
# Pass flags through to install.sh:
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh \
|
||||||
# | sudo bash -s -- --gateway-hostname manage.example.com --manage-host-ip 10.0.0.5
|
# | sudo bash -s -- --gateway-hostname manage.example.com --manage-host-ip 10.0.0.5
|
||||||
#
|
#
|
||||||
# Upgrade (pull latest image, run DB migrations, keep data):
|
# Upgrade (pull latest image, run DB migrations, keep data):
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh \
|
||||||
# | sudo bash -s -- --upgrade
|
# | sudo bash -s -- --upgrade
|
||||||
#
|
#
|
||||||
# Upgrade to a specific image tag:
|
# Upgrade to a specific image tag:
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh \
|
||||||
# | sudo bash -s -- --upgrade --image forgejo.primatekun.tech/primatekuntech/triton-manage-server:1.2.0
|
# | sudo bash -s -- --upgrade --image forgejo.primatekun.tech/primatekuntech/triton-manage-server:1.2.0
|
||||||
#
|
#
|
||||||
# Uninstall (stop containers, keep data):
|
# Uninstall (stop containers, keep data):
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh \
|
||||||
# | sudo bash -s -- --uninstall
|
# | sudo bash -s -- --uninstall
|
||||||
#
|
#
|
||||||
# Uninstall and delete all data (irreversible):
|
# Uninstall and delete all data (irreversible):
|
||||||
# curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh \
|
# curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh \
|
||||||
# | sudo bash -s -- --uninstall --purge-data
|
# | sudo bash -s -- --uninstall --purge-data
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
REPO_BASE="https://raw.githubusercontent.com/primatekuntech/triton-install/main/manage-server"
|
REPO_BASE="https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/manage-server"
|
||||||
INSTALLER_FILES=(install.sh upgrade.sh uninstall.sh compose.yaml env.template)
|
INSTALLER_FILES=(install.sh upgrade.sh uninstall.sh compose.yaml env.template)
|
||||||
|
|
||||||
# ── colour helpers ────────────────────────────────────────────────────────
|
# ── colour helpers ────────────────────────────────────────────────────────
|
||||||
|
|
@ -73,7 +73,7 @@ if [[ $UNINSTALL -eq 1 ]]; then
|
||||||
banner "▶ Triton Manage Server — Uninstaller"
|
banner "▶ Triton Manage Server — Uninstaller"
|
||||||
info "platform: $PLATFORM"
|
info "platform: $PLATFORM"
|
||||||
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
||||||
die "run as root on Linux:\n\n curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --uninstall"
|
die "run as root on Linux:\n\n curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --uninstall"
|
||||||
fi
|
fi
|
||||||
[[ -d "$INSTALL_DIR" ]] \
|
[[ -d "$INSTALL_DIR" ]] \
|
||||||
|| die "Triton Manage Server does not appear to be installed (${INSTALL_DIR} not found)"
|
|| die "Triton Manage Server does not appear to be installed (${INSTALL_DIR} not found)"
|
||||||
|
|
@ -92,7 +92,7 @@ if [[ $UPGRADE -eq 1 ]]; then
|
||||||
banner "▶ Triton Manage Server — Upgrade"
|
banner "▶ Triton Manage Server — Upgrade"
|
||||||
info "platform: $PLATFORM"
|
info "platform: $PLATFORM"
|
||||||
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
||||||
die "run as root on Linux:\n\n curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --upgrade"
|
die "run as root on Linux:\n\n curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash -s -- --upgrade"
|
||||||
fi
|
fi
|
||||||
[[ -d "$INSTALL_DIR" ]] \
|
[[ -d "$INSTALL_DIR" ]] \
|
||||||
|| die "Triton Manage Server does not appear to be installed (${INSTALL_DIR} not found)"
|
|| die "Triton Manage Server does not appear to be installed (${INSTALL_DIR} not found)"
|
||||||
|
|
@ -111,7 +111,7 @@ info "platform: $PLATFORM"
|
||||||
|
|
||||||
# ── root check ────────────────────────────────────────────────────────────
|
# ── root check ────────────────────────────────────────────────────────────
|
||||||
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
if [[ "$PLATFORM" == "linux" && $EUID -ne 0 ]]; then
|
||||||
die "run as root on Linux:\n\n curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash"
|
die "run as root on Linux:\n\n curl -fsSL https://forgejo.primatekun.tech/primatekuntech/triton-install/raw/branch/main/get.sh | sudo bash"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ── runtime detection ─────────────────────────────────────────────────────
|
# ── runtime detection ─────────────────────────────────────────────────────
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue