Files
vsun1 bf28adc7fb
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good
Prepare Assignment 8 secure delivery and rollback
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.
2026-11-14 17:09:25 -05:00

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'
}
}
}
}