Prepare versioned live syntax demo [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user