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.
23 lines
489 B
Bash
23 lines
489 B
Bash
#!/bin/bash
|
|
|
|
# @pipeline
|
|
init_workspace() {
|
|
echo "Initializing workspace"
|
|
mkdir -p /tmp/bake-after-test
|
|
echo "init" > /tmp/bake-after-test/status.txt
|
|
}
|
|
|
|
# @pipeline
|
|
# @after(init_workspace)
|
|
fetch_source() {
|
|
echo "Fetching source (depends on init_workspace)"
|
|
echo "fetched" > /tmp/bake-after-test/source.txt
|
|
}
|
|
|
|
# @pipeline
|
|
# @after(fetch_source)
|
|
build_project() {
|
|
echo "Building project (depends on fetch_source)"
|
|
echo "built" > /tmp/bake-after-test/build.txt
|
|
}
|