Add the locked pricing service, trusted-agent pipeline, Ansible deployments, security gates, recovery runbooks, prerequisite evidence, and preparation manual. Prepared with Codex assistance. Vincent explicitly authorized this local commit and will handle the push. Assessed releases and recovery exercises remain pending.
28 lines
736 B
Groovy
28 lines
736 B
Groovy
pipeline {
|
|
agent any
|
|
options { skipDefaultCheckout() }
|
|
stages {
|
|
stage('Checkout') {
|
|
steps { checkout scm }
|
|
}
|
|
stage('Syntax check') {
|
|
steps {
|
|
sh 'python3 -m py_compile pricing.py'
|
|
sh '''python3 -B - <<'PY'
|
|
import ast
|
|
from pathlib import Path
|
|
for source in Path('delivery').rglob('*.py'):
|
|
ast.parse(source.read_text(), filename=str(source))
|
|
print('Delivery Python syntax: passed')
|
|
PY'''
|
|
}
|
|
}
|
|
stage('Test') {
|
|
steps {
|
|
sh 'python3 -m unittest discover -s tests -v'
|
|
sh 'python3 -B -m unittest discover -s delivery/ci -p "test_controls.py" -v'
|
|
}
|
|
}
|
|
}
|
|
}
|