Serve installers from the hub; document the private-repo install
The repo is private, so anonymous raw URLs return 404. The hub now serves /install-probe.sh (and /install.sh) from its own checkout, open even with UI_PASSWORD, and the Add probe command fetches from there. The installers still ask for a read-only token to clone. Docs use Gitea's "Authorization: token" header and give a git-clone fallback for the hub. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
54a765510a
commit
efd3836945
10 changed files with 60 additions and 24 deletions
|
|
@ -24,7 +24,7 @@ out=install-probe.sh
|
|||
# and open PROBE_PORT (default 8765/tcp) in its firewall.
|
||||
#
|
||||
# Private repo over https: add GIT_TOKEN, read without echoing it:
|
||||
# read -rsp 'Git token: ' GIT_TOKEN && export GIT_TOKEN && curl -fsSL -H "Authorization: Bearer \$GIT_TOKEN" $RAW/install-probe.sh | HUB_URL=... PROBE_TOKEN=... bash
|
||||
# read -rsp 'Git token: ' GIT_TOKEN && export GIT_TOKEN && curl -fsSL -H "Authorization: token \$GIT_TOKEN" $RAW/install-probe.sh | HUB_URL=... PROBE_TOKEN=... bash
|
||||
#
|
||||
# Two ways to run (INSTALL_MODE):
|
||||
# docker The probe in a container with host networking. Default on Linux hosts.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue