Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/agent-tarballs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
fi

echo "==> Running: ${cmd}"
sudo HOME=/root bash -c "${cmd}"
sudo HOME=/root bash -c "${cmd}" < /dev/null
i=$((i + 1))
done

Expand All @@ -134,8 +134,9 @@ jobs:
DATE=$(date -u +%Y%m%d)
TARBALL="spawn-agent-${AGENT_NAME}-x86_64-${DATE}.tar.gz"

# Move tarball to expected name
mv "/tmp/spawn-agent-${AGENT_NAME}.tar.gz" "${TARBALL}"
# Move tarball to expected name (tarball is owned by root from sudo capture)
sudo mv "/tmp/spawn-agent-${AGENT_NAME}.tar.gz" "${TARBALL}"
sudo chown "$(id -u):$(id -g)" "${TARBALL}"

# Delete existing release if present (rolling release)
gh release delete "${TAG}" --yes 2>/dev/null || true
Expand Down
4 changes: 2 additions & 2 deletions packer/agents.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@
"zeroclaw": {
"tier": "minimal",
"install": [
"fallocate -l 4G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile",
"if [ ! -f /swapfile ]; then fallocate -l 4G /swapfile && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile; fi",
"curl -LsSf https://raw.githubusercontent.com/zeroclaw-labs/zeroclaw/a117be64fdaa31779204beadf2942c8aef57d0e5/scripts/bootstrap.sh | bash -s -- --install-rust --install-system-deps --prefer-prebuilt"
]
},
"hermes": {
"tier": "minimal",
"install": [
"curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash"
"curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash || [ -f ~/.local/bin/hermes ]"
]
}
}