chore(wallet): ajoute prepush local et rapports agents
This commit is contained in:
parent
b2c80be2c7
commit
26740ba4cc
20
scripts/local/prepush.sh
Executable file
20
scripts/local/prepush.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||||
|
cd "$ROOT_DIR/.."
|
||||||
|
|
||||||
|
# Agents complets
|
||||||
|
AUTO_FIX="${AUTO_FIX:-1}" SCOPE="${SCOPE:-all}" scripts/agents/run.sh
|
||||||
|
|
||||||
|
# Audit sécurité (best effort)
|
||||||
|
if [ -f scripts/security/audit.sh ]; then
|
||||||
|
bash scripts/security/audit.sh || true
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Release guard (dry-run logique)
|
||||||
|
if [ -f scripts/release/guard.sh ]; then
|
||||||
|
bash scripts/release/guard.sh || true
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "[pre-push] OK"
|
@ -4,3 +4,4 @@
|
|||||||
- Tous les fichiers requis sont présents.
|
- Tous les fichiers requis sont présents.
|
||||||
|
|
||||||
## Contrôles automatiques (best‑effort)
|
## Contrôles automatiques (best‑effort)
|
||||||
|
- Shell: shellcheck non disponible
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
# Agent Runner
|
# Agent Runner
|
||||||
|
|
||||||
- Docker non détecté sur l'hôte. Impossible de gérer le runner.
|
- Fichier runner/docker-compose.yml introuvable; aucun démarrage effectué.
|
||||||
|
- Rapports: tests/reports/agents/runner_agent.md
|
||||||
|
Loading…
x
Reference in New Issue
Block a user