KeiSeiKit-1.0/tests/battle/battle-entry.sh
Parfii-bot 0be354a920 KeiSeiKit-public — clean state
Single-commit clean baseline after security scrub of niche-tells,
project codenames, internal jargon, and contributor-email leaks.

Contents:
- 100 Rust crates (_primitives/_rust/)
- 37 agent manifests (_manifests/) + generated specs (_generated/)
- 67 user-invocable skills (skills/)
- 33 hooks (hooks/)
- Composition blocks (_blocks/)
- Documentation (docs/, README.md)
- TS adapter packages (_ts_packages/)
- Assembler (_assembler/)
- Roles (_roles/)
- Templates (_templates/)
- Forgejo CI (.forgejo/)

Author: Denis Parfionovich <info@greendragon.info>

License: see LICENSE.
2026-05-01 12:09:03 +08:00

28 lines
863 B
Bash
Executable file

#!/usr/bin/env bash
# tests/battle/battle-entry.sh — container ENTRYPOINT.
# Picks profile from $PROFILE env (default: minimal), runs installer, then
# verify.sh. Kept as a dedicated file (instead of a Dockerfile heredoc) so
# BuildKit isn't required and the script is editable post-image-build.
set -u
PROFILE="${PROFILE:-minimal}"
echo "=== battle-test: profile=$PROFILE ==="
echo "=== host: $(uname -a) ==="
echo "=== cargo: $(cargo --version) ==="
echo "=== jq: $(jq --version) ==="
echo
cd /opt/keiseikit || { echo "kit missing at /opt/keiseikit"; exit 2; }
./install.sh --profile="$PROFILE" --yes 2>&1
INSTALL_EXIT=$?
echo
echo "=== install exit code: $INSTALL_EXIT ==="
if [ "$INSTALL_EXIT" -ne 0 ]; then
echo "=== install failed; skipping verify ==="
exit "$INSTALL_EXIT"
fi
echo
echo "=== running verify.sh ==="
/usr/local/bin/verify.sh