r5: self-building GeoIP (static mkisp + mirror/gitea-fallback/sanity-gate); retire builder+puller
This commit is contained in:
@@ -12,7 +12,7 @@ fallback.
|
|||||||
|
|
||||||
1. Pre-flight checks — root, Ubuntu 20.04/22.04/24.04, x86_64, RAM/disk, re-install guard
|
1. Pre-flight checks — root, Ubuntu 20.04/22.04/24.04, x86_64, RAM/disk, re-install guard
|
||||||
2. Installs missing deps (`wget`, `unzip`, `tar`)
|
2. Installs missing deps (`wget`, `unzip`, `tar`)
|
||||||
3. Downloads `XUI_1.5.13-r4.zip` (~659 MB, r4 runtime repack) from the Gitea mirror (falls back to GitHub)
|
3. Downloads `XUI_1.5.13-r5.zip` (~659 MB, r5 runtime repack) from the Gitea mirror (falls back to GitHub)
|
||||||
4. Verifies the SHA-256 checksum (on by default)
|
4. Verifies the SHA-256 checksum (on by default)
|
||||||
5. Extracts `install`, `database.sql`, `xui.tar.gz`
|
5. Extracts `install`, `database.sql`, `xui.tar.gz`
|
||||||
6. Runs the bundled `./install` **non-interactively** — auto-generates a valid
|
6. Runs the bundled `./install` **non-interactively** — auto-generates a valid
|
||||||
@@ -55,8 +55,8 @@ and the one-liner picks it up, no version bump needed.
|
|||||||
The 661 MB release is hosted on our Gitea, publicly downloadable with **no auth**:
|
The 661 MB release is hosted on our Gitea, publicly downloadable with **no auth**:
|
||||||
|
|
||||||
```
|
```
|
||||||
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/XUI_1.5.13-r4.zip
|
https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip
|
||||||
sha256: daab04cab369c04676d1eac2fd2520369b13fa5844e08347d67d778b098e20b0 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback)
|
sha256: 145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59 (r3: PHP 7.4.33, ionCube 15.5, GeoIP 2026-08-13 refresh, patched LB/proxy payloads; stock 1.5.13 + r2 kept for rollback)
|
||||||
```
|
```
|
||||||
|
|
||||||
Re-uploading later (e.g. a new version) — from any box with the Gitea token:
|
Re-uploading later (e.g. a new version) — from any box with the Gitea token:
|
||||||
@@ -117,7 +117,7 @@ To pull a local copy anytime:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -L -o release/XUI_1.5.13.zip \
|
curl -L -o release/XUI_1.5.13.zip \
|
||||||
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/XUI_1.5.13-r4.zip"
|
"https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/XUI_1.5.13-r5.zip"
|
||||||
```
|
```
|
||||||
|
|
||||||
## Credentials
|
## Credentials
|
||||||
|
|||||||
+3
-3
@@ -16,11 +16,11 @@ set -euo pipefail
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Config
|
# Config
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
RELEASE_NAME="XUI_1.5.13-r4.zip"
|
RELEASE_NAME="XUI_1.5.13-r5.zip"
|
||||||
|
|
||||||
# Primary download source: self-hosted Gitea generic-package mirror (fast, under
|
# Primary download source: self-hosted Gitea generic-package mirror (fast, under
|
||||||
# our control). Override with the XUI_URL env var to point elsewhere.
|
# our control). Override with the XUI_URL env var to point elsewhere.
|
||||||
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r4/${RELEASE_NAME}"
|
DEFAULT_URL="https://git.ops01.hprx.zip/api/packages/seed/generic/xui/1.5.13-r5/${RELEASE_NAME}"
|
||||||
URL="${XUI_URL:-$DEFAULT_URL}"
|
URL="${XUI_URL:-$DEFAULT_URL}"
|
||||||
|
|
||||||
# Fallback source: the upstream XUIPatch GitHub release. Tried automatically if
|
# Fallback source: the upstream XUIPatch GitHub release. Tried automatically if
|
||||||
@@ -29,7 +29,7 @@ FALLBACK_URL="${XUI_FALLBACK_URL:-https://github.com/xuione/XUIPatch/releases/do
|
|||||||
|
|
||||||
# Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract.
|
# Integrity check: known-good SHA-256 of XUI_1.5.13.zip. Verified before extract.
|
||||||
# Override/clear with the XUI_SHA256 env var (set to "" to skip).
|
# Override/clear with the XUI_SHA256 env var (set to "" to skip).
|
||||||
EXPECTED_SHA256="${XUI_SHA256-daab04cab369c04676d1eac2fd2520369b13fa5844e08347d67d778b098e20b0}"
|
EXPECTED_SHA256="${XUI_SHA256-145a9651493712abfcb103f256e7641daeb04749fbbe34c06a948cef80b77b59}"
|
||||||
|
|
||||||
WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"
|
WORKDIR="${XUI_WORKDIR:-/opt/xui_install}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user