#!/bin/bash # Kör integrationstestet i en isolerad Docker-container. # Binären byggs statiskt på värden; containern får bara tmux+curl. set -eu cd "$(dirname "$0")/.." CGO_ENABLED=0 go build -o build/helmd . docker run --rm \ -v "$PWD":/work:ro \ -e HELMD_BIN=/work/build/helmd \ -e TEST_HOME=/tmp/home \ -w /work \ debian:stable-slim \ bash -c 'apt-get update -qq >/dev/null && apt-get install -yqq tmux curl procps >/dev/null 2>&1 && mkdir -p /tmp/home && bash scripts/integration-test.sh'