28 lines
1.7 KiB
Markdown
28 lines
1.7 KiB
Markdown
# Prepare secure delivery and rollback for Assignment 8
|
|
|
|
The existing CI checks code but does not publish or promote an application.
|
|
Add the instructor's pricing service with locked inputs and a trusted-agent
|
|
pipeline for security gates, digest-based staging/production deployment,
|
|
unchanged Ansible reruns, recorded human approval and recovery operations.
|
|
Keep the earlier PR job separate from folder-scoped deployment credentials.
|
|
|
|
Include the reproducible agent/bootstrap, scan policy, runbooks, actual
|
|
prerequisite evidence and a clearly marked preparation chapter. Billy's DNS
|
|
records and Caddy HTTPS routes are now verified; app requests return 502 until
|
|
the backends are deployed. Monitoring additions await healthy production.
|
|
The release job is configured but disabled until reviewed source
|
|
reaches main. Assessed v1/v2 promotions and both recovery exercises remain
|
|
pending and will require separate reviewed changes and execution evidence.
|
|
|
|
Validation: two existing tests, three Flask tests, twelve control tests;
|
|
controlled test/secret blocks; passing source/dependency and runtime-image
|
|
gates; Ansible syntax, agent Compose and installed Jenkins parser checks;
|
|
successful prerequisite builds 1 (laptop) and 2 (Droplet), including pinned
|
|
deployment SSH and noninteractive sudo. The agent now runs on the existing
|
|
2 GiB Droplet to avoid campus SSH restrictions, with separate agent/builder
|
|
resource caps and a passing bounded build/scan/smoke trial. Shared-host Docker
|
|
administration is documented. The original Gitea Actions runner also moved to
|
|
the Droplet with its existing identity, separate daemon/job caps and a passing
|
|
reviewed-main run 12 rerun (attempt 3); the initial low-memory attempt is retained.
|
|
No production approval or completed release is claimed.
|