feat(dev): add local dockerized ci workflow (#342)
This commit is contained in:
parent
f2c73bacf8
commit
b61d33aa1c
7 changed files with 259 additions and 17 deletions
10
dev/cli.sh
10
dev/cli.sh
|
|
@ -46,6 +46,7 @@ function print_help {
|
|||
echo -e " ${GREEN}agent${NC} Enter Agent (ZeroClaw CLI)"
|
||||
echo -e " ${GREEN}logs${NC} View logs"
|
||||
echo -e " ${GREEN}build${NC} Rebuild images"
|
||||
echo -e " ${GREEN}ci${NC} Run local CI checks in Docker (see ./dev/ci.sh)"
|
||||
echo -e " ${GREEN}clean${NC} Stop and wipe workspace data"
|
||||
}
|
||||
|
||||
|
|
@ -94,6 +95,15 @@ case "$1" in
|
|||
echo -e "${GREEN}✅ Rebuild complete.${NC}"
|
||||
;;
|
||||
|
||||
ci)
|
||||
shift
|
||||
if [ "$BASE_DIR" = "." ]; then
|
||||
./ci.sh "${@:-all}"
|
||||
else
|
||||
./dev/ci.sh "${@:-all}"
|
||||
fi
|
||||
;;
|
||||
|
||||
clean)
|
||||
echo -e "${RED}⚠️ WARNING: This will delete 'target/.zeroclaw' data and Docker volumes.${NC}"
|
||||
read -p "Are you sure? (y/N) " -n 1 -r
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue