Add standalone host-agent binaries to releases

Issue: HOST_AGENT.md documented downloading pulse-host-agent binaries
from GitHub releases, but those assets didn't exist. Only tarballs were
available, making manual installation unnecessarily complex.

Changes:
- Copy standalone host-agent binaries (all architectures) to release/
  directory alongside sensor-proxy binaries
- Include host-agent binaries in checksum generation
- Update HOST_AGENT.md to clarify available architectures
- Retroactively uploaded missing binaries to v4.26.1

This enables air-gapped and manual installations without requiring an
already-running Pulse server to download from.
This commit is contained in:
rcourtman 2025-11-06 14:20:59 +00:00
parent e4378602c1
commit fd3a72606f
2 changed files with 16 additions and 1 deletions

View file

@ -74,15 +74,20 @@ Prefer to take full control or working in air-gapped environments? You can still
#### Linux (systemd)
```bash
# Download the binary for your architecture
sudo curl -fsSL https://github.com/rcourtman/Pulse/releases/latest/download/pulse-host-agent-linux-amd64 \
-o /usr/local/bin/pulse-host-agent
sudo chmod +x /usr/local/bin/pulse-host-agent
# Run the agent
sudo /usr/local/bin/pulse-host-agent \
--url http://pulse.example.local:7655 \
--token <api-token> \
--interval 30s
```
Available Linux architectures: `pulse-host-agent-linux-amd64`, `pulse-host-agent-linux-arm64`, `pulse-host-agent-linux-armv7`
For persistence, drop a systemd unit (e.g. `/etc/systemd/system/pulse-host-agent.service`) referencing the same command and enable it with `systemctl enable --now pulse-host-agent`.
#### macOS (launchd)

View file

@ -247,6 +247,16 @@ for build_name in "${!builds[@]}"; do
cp "$BUILD_DIR/pulse-sensor-proxy-$build_name" "$RELEASE_DIR/"
done
# Copy standalone pulse-host-agent binaries to release directory
# These are needed for manual host-agent installation without a running Pulse server
echo "Copying standalone pulse-host-agent binaries..."
for build_name in "${!builds[@]}"; do
cp "$BUILD_DIR/pulse-host-agent-$build_name" "$RELEASE_DIR/"
done
# Also copy standalone macOS host-agent (not tarballed version)
cp "$BUILD_DIR/pulse-host-agent-darwin-arm64" "$RELEASE_DIR/"
# Optionally package Helm chart
if [ "${SKIP_HELM_PACKAGE:-0}" != "1" ]; then
if command -v helm >/dev/null 2>&1; then
@ -267,7 +277,7 @@ cp install.sh "$RELEASE_DIR/"
# Generate checksums (include tarballs, helm chart, standalone binaries, and install.sh)
cd "$RELEASE_DIR"
shopt -s nullglob
checksum_files=( *.tar.gz pulse-sensor-proxy-* install.sh )
checksum_files=( *.tar.gz pulse-sensor-proxy-* pulse-host-agent-* install.sh )
if compgen -G "pulse-*.tgz" > /dev/null; then
checksum_files+=( pulse-*.tgz )
fi