84b3b7d8e8
Adds a complete pytest system test suite for the HoneyBiscuitWorkshop CI/CD system: - runner.sh: orchestrates build, Docker image creation, and test execution - Dockerfile: Arch Linux-based test image with Python venv - conftest.py: shared fixtures (baker_bin, run_baker, work_dir, llm_env) - probes/: environment probes for checking users, files, packages, processes - llm/: LLM-based log judgment system with caching for semantic test evaluation - fixtures/: test configs and scripts for prebake, bake, and finalize stages - test_prebake.py, test_bake.py, test_finalize.py: test suites for each pipeline stage Also refactors finalize.yml.tmpl notification config to use a templates system.
26 lines
537 B
Bash
26 lines
537 B
Bash
#!/bin/bash
|
|
|
|
# @pipeline
|
|
step_one() {
|
|
echo "Step 1: Setup"
|
|
mkdir -p /tmp/bake-test-output
|
|
echo "step1-done" > /tmp/bake-test-output/step1.txt
|
|
}
|
|
|
|
# @pipeline
|
|
step_two() {
|
|
echo "Step 2: Build"
|
|
echo "step2-done" > /tmp/bake-test-output/step2.txt
|
|
}
|
|
|
|
# @pipeline
|
|
step_three() {
|
|
echo "Step 3: Verify"
|
|
if [ -f /tmp/bake-test-output/step1.txt ] && [ -f /tmp/bake-test-output/step2.txt ]; then
|
|
echo "All steps completed successfully"
|
|
else
|
|
echo "ERROR: Missing step outputs"
|
|
exit 1
|
|
fi
|
|
}
|