Files
computer-playbook/scripts/tests/deploy/act/copy_worktree_to_node.sh
T
kevinveenbirkenbachandClaude Opus 4.8 c1fb96584b refactor(tests): rename swarm make targets to swarm-* and reorganize env steps
Rename the scripts/tests/environment deploy_* steps (07/08/09) to compose_*; add 12_swarm.sh (svc-db-mariadb via the swarm-* targets) and 13_roundtrip.sh (svc-db-postgres via make roundtrip), with MARIADB_APP/POSTGRES_APP in common.sh. Rename every make act-swarm-* target to make swarm-* (drop the act- prefix) across the Makefile (moved to the alphabetical slot), the deploy/act, deploy/swarm and e2e helper scripts, and the agent iteration docs. Strip mid-code narration comments from the touched scripts per the comment policy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 12:24:19 +02:00

17 lines
503 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
: "${node:?node= must be set, e.g. node=swarm-mgr-01}"
if ! docker inspect --format '{{.State.Running}}' "${node}" 2>/dev/null | grep -q '^true$'; then
echo "ERROR: container '${node}' is not running. Run \`make swarm-zombie app=<id>\` first." >&2
exit 1
fi
repo_root="$(cd "$(dirname "$0")/../../../.." && pwd)"
cd "${repo_root}"
git ls-files -z -m -o --exclude-standard |
tar --null -cf - -T - |
docker exec -i "${node}" tar -C /opt/infinito-nexus -xpf -