- ansible/: VM provisioning playbooks and roles - provision-vm.yml: create KVM VM from Ubuntu cloud image - install.yml: install OpenClaw on guest (upstream) - customize.yml: swappiness, virtiofs fstab, linger - roles/vm/: libvirt domain XML, cloud-init templates - inventory.yml + host_vars/zap.yml: zap instance config - backup-openclaw-vm.sh: daily rsync + MinIO upload - restore-openclaw-vm.sh: full redeploy from scratch - README.md: full operational documentation Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
12 lines
257 B
Bash
Executable File
12 lines
257 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
DISTRO="${1:-ubuntu2404}"
|
|
IMAGE="openclaw-ansible-test:${DISTRO}"
|
|
|
|
echo "Building test image (${DISTRO})..."
|
|
docker build -t "$IMAGE" -f "tests/Dockerfile.${DISTRO}" .
|
|
|
|
echo "Running tests..."
|
|
docker run --rm "$IMAGE"
|