Document Assignment 6 Jenkins CI in the manual (refs #14)
vpn-dns-gateway/pipeline/head This commit looks good
vpn-dns-gateway/pipeline/pr-main This commit looks good

Add the Continuous Integration with Jenkins chapter in the eight rubric
sections: deployment and persistence (capacity test, memory-limit fix,
restart test), HTTPS/access/firewall with IPv4 and IPv6 exposure checks,
webhook traceability with an actual deployment diagram, pipeline stages,
the required pr-main merge gate, PR #15's failure/repair/review/merge
sequence, credentials and controller build boundary, and controls.

Update the Hosts and Passwords tables (1 GiB resize, Jenkins and
ci.yebilly.me, jenkins-bot account and token hints), the title page,
abstract, Document History, glossary, and AI prompt log (including
Vincent's prepared Oct 19-21 record). Note that Assignment 5's PR #13
merged.

Also version pipeline-graph-view and its dependencies in the Jenkins
plugin lockfile, and add Vincent's source-only ci/jenkins-capacity test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 21:20:31 -04:00
co-authored by Claude Opus 5.5
parent 420ba4c56b
commit 1149e9fbc3
32 changed files with 1889 additions and 27 deletions
+39
View File
@@ -0,0 +1,39 @@
#!/bin/bash
# Runs INSIDE the newly created disposable container, never on the host.
set -euo pipefail
[ "${SSW590_DISPOSABLE_TEST:-}" = 1 ] && [ -f /.dockerenv ] && [ -d /opt/ssw590-input ] || {
echo 'Refusing: this bootstrap runs only inside the disposable test container.' >&2
exit 1
}
umask 022
mkdir -p /tmp/ssw590
chmod 755 /tmp/ssw590
echo tools > /tmp/ssw590/phase
{
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install --no-install-recommends -y python3 git util-linux
apt-get clean
rm -rf /var/lib/apt/lists/*
python3 --version
git --version
echo plugins > /tmp/ssw590/phase
mkdir -p /usr/share/jenkins/ref/plugins /usr/share/jenkins/ref/init.groovy.d
chown jenkins:jenkins /usr/share/jenkins/ref/plugins
# Catalog resolution is prepared on the laptop, outside the runtime limits.
# The host verifies this bundle's hashes before mounting it read-only.
cp /opt/ssw590-plugins/*.jpi /usr/share/jenkins/ref/plugins/
chown -R jenkins:jenkins /usr/share/jenkins/ref/plugins
python3 /opt/ssw590-input/inventory.py /usr/share/jenkins/ref/plugins \
/opt/ssw590-input/plugins.txt > /tmp/ssw590/plugins-resolved.json
python3 - <<'PY' > /tmp/ssw590/plugins-resolved.lock
import json
for p in json.load(open('/tmp/ssw590/plugins-resolved.json')):
print(p['id'] + ':' + p['version'])
PY
cp /opt/ssw590-input/init.groovy /usr/share/jenkins/ref/init.groovy.d/90-capacity.groovy
chown -R jenkins:jenkins /tmp/ssw590
} > /tmp/ssw590/install.txt 2>&1
echo startup > /tmp/ssw590/phase
# Replace the preparer with the normal official Jenkins launcher, as non-root.
exec runuser -u jenkins -- /usr/bin/tini -- /usr/local/bin/jenkins.sh