Prepare versioned live syntax demo [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good

This commit is contained in:
Codex Agent
2026-11-28 20:44:52 +00:00
parent 8fac256aac
commit 1bb4e0a9dd
15 changed files with 845 additions and 35 deletions
+7 -7
View File
@@ -37,10 +37,6 @@ python3 ci/final_project.py verify --bundle out/review-bundle.zip --sha "$SOURCE
sh ci/toolchain.sh start
''' }
}
stage('Publish measured live review metrics') {
when { expression { params.MODE == 'live' } }
steps { sh 'python3 ci/final_project.py metrics --review-dir out/verified --output out/review.prom && sh ci/toolchain.sh metrics' }
}
stage('Reserve durable release version') {
steps {
script {
@@ -48,17 +44,21 @@ sh ci/toolchain.sh start
}
}
}
stage('Compile LaTeX report') {
stage('Publish measured live review metrics') {
when { expression { params.MODE == 'live' } }
steps { sh 'python3 ci/final_project.py metrics --review-dir out/verified --output out/review.prom && sh ci/toolchain.sh metrics "$RELEASE_VERSION"' }
}
stage('Compile versioned demo PDF') {
steps { sh '''set -eu
RUN_NUMBER=$(python3 -c 'import json;print(json.load(open("out/actions-run.json"))["run_number"])')
sh ci/toolchain.sh exec python3 documentation/ci/build_manual.py --sha "$SOURCE_SHA" --run-number "$RUN_NUMBER" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --review-bundle /work/out/review-bundle.zip --release-version "$RELEASE_VERSION" --mode "$MODE" --jenkins-build "$BUILD_NUMBER"
sh ci/toolchain.sh exec python3 demo/build_demo_pdf.py --sha "$SOURCE_SHA" --run-number "$RUN_NUMBER" --run-id "$ACTIONS_RUN_ID" --attempt "$ACTIONS_ATTEMPT" --review-bundle /work/out/review-bundle.zip --release-version "$RELEASE_VERSION" --mode "$MODE" --jenkins-build "$BUILD_NUMBER"
''' }
}
stage('Unit, syntax and reviewed-file smoke tests') {
steps { sh '''set -eu
sh ci/toolchain.sh exec python3 -m unittest discover -s tests -v
sh ci/toolchain.sh exec python3 -m unittest discover -s ci/tests -v
sh ci/toolchain.sh exec python3 ci/final_project.py test --review-dir out/verified --output out/test-result.json
sh ci/toolchain.sh exec python3 ci/final_project.py test --review-dir out/verified --output out/test-result.json --release-version "$RELEASE_VERSION"
''' }
}
stage('Package immutable release') {