29 lines
2.0 KiB
TeX
29 lines
2.0 KiB
TeX
This group manual records SSW 590 coursework, commands, designs and evidence.
|
|
Assignment 8 delivers a locked Flask/Gunicorn service through a trusted Jenkins
|
|
agent, security gates, Ansible, scoped credentials and human approval. Reviewed
|
|
builds 5 and 6 promoted v1/v2 by exact digest; both unchanged staging reruns
|
|
passed with zero changes. Production monitoring is live. After review of the
|
|
release records and fault/revert history, build 8 restored the original v1
|
|
production image and configuration with Vincent's approval. Build 9 blocked
|
|
the staging-only port mismatch; build 10 restored v2 with changed=0. Final
|
|
production is v1 (total 30), staging v2 (total 36). Finer HTTPS sampling recorded
|
|
nine failed production requests during rollback and 169 during the staging
|
|
fault. The 30-second probe missed the brief rollback interruption but captured
|
|
an earlier v2-release dip; zero downtime is not claimed. Technical demonstrations
|
|
are complete, and this version is for group submission review. The tracking
|
|
issue's late creation during finalization is disclosed.
|
|
Assignment 7 introduced site reliability
|
|
engineering: Prometheus, Grafana OSS, Node Exporter, and Blackbox Exporter
|
|
run as four pinned containers beside Gitea and Jenkins on the originally 1\,GiB
|
|
DigitalOcean droplet, with Grafana at \url{https://metrics.yebilly.me/login}
|
|
for approved networks only. A dashboard shows host CPU, memory, and disk and
|
|
the HTTPS availability of Gitea and Jenkins. A 99\% availability objective is
|
|
defined and measured, and three alert rules (service availability, disk
|
|
space, and collection health) notify the team's Discord channel. Each was
|
|
shown firing and resolving; the availability rule through a planned Jenkins
|
|
outage that was detected in about two minutes and recovered about a minute
|
|
after restart. Earlier chapters retain the group's prior assignment
|
|
results, including the Jenkins merge gate and the Gitea Actions manual build.
|
|
On November 14 the team resized the droplet to 2\,GiB without enlarging its
|
|
disk, updated packages and verified the existing services.
|