42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
# Seal Use Infrastructure Operations
|
|
|
|
## Release promotion
|
|
|
|
GitHub Actions is responsible only for building and publishing the GitHub
|
|
Release. On WSL, `seal-use-release-sync.timer` polls the latest release every
|
|
15 minutes and promotes it in this order:
|
|
|
|
1. `seal-use-darwin-arm64.tar.gz`
|
|
2. `checksums.txt`
|
|
3. the remaining archives
|
|
4. raw platform binaries
|
|
|
|
The Homebrew tap is updated immediately after the first two assets are present
|
|
in Gitea and the macOS arm64 checksum is available. The remaining assets are
|
|
idempotent retries and do not make a valid Homebrew installation unavailable.
|
|
|
|
The worker uses mac13's `http://192.168.3.62:7897` proxy only for GitHub. Local
|
|
Gitea traffic stays direct through `127.0.0.1:3001`.
|
|
|
|
Useful WSL commands:
|
|
|
|
```sh
|
|
systemctl status seal-use-release-sync.timer
|
|
systemctl start seal-use-release-sync.service
|
|
journalctl -u seal-use-release-sync.service -n 100 --no-pager
|
|
```
|
|
|
|
Credentials are stored as `0600` files under
|
|
`~/.config/seal-use/`; they must never be committed or printed.
|
|
|
|
## Cross-host health check
|
|
|
|
From mac15, run:
|
|
|
|
```sh
|
|
./ops/infra-healthcheck.sh
|
|
```
|
|
|
|
It emits JSON checks for mac15, WSL, Windows, mac13, and Aliyun. The script is
|
|
read-only; a failed check does not restart or mutate any service.
|