3.0 KiB
3.0 KiB
Implement Assignment 8 secure delivery and rollback
Use instructor manual 1.43 Chapter 6 and its Startup Pricing Service on the existing Gitea/Jenkins/Caddy/monitoring foundation.
- Prepare exact dependencies, base digest, trusted agent and Ansible.
- Verify deploy SSH, host-key pinning, sudo and target prerequisites.
- Prepare gates, pipeline, approval and recovery automation.
- Review/merge v1 source; configure staging/app DNS and TLS routes.
- Show blocked unit-test and synthetic-secret Jenkins runs, then repair.
- Publish v1; deploy staging; prove changed=0; approve production.
- Preserve v1 records; review/merge v2; promote the same v2 digest.
- Roll production back to matching v1 image/config; measure interruption.
- Review staging-only bad command; show failed wait and recovery.
- Add production monitoring and correlate actual samples/timestamps.
- Review/merge final traceability, runbooks, history, AI log and PDF; submit.
Actual execution, 15 November Eastern / 16 November UTC:
- Reviewed implementation and corrections: PRs 24, 25, 26, and 27.
- Build 5 and build 6: v1/v2 promotions, exact digests, passing gates, changed=0, and real Vincent approvals.
- Build 8: healthy production rollback passed with original v1 image/configuration, source
34f26e6and total 30. Vincent approved at 04:23:36 UTC. Nine failed HTTPS samples were observed; zero downtime is not claimed. - Build 9: the reviewed staging-only port mismatch failed Compose wait and blocked production.
- Build 10: restored the original v2 staging configuration/digest, source
6bddbfb, total 36, then changed=0 on rerun. - Final verified state at 04:32 UTC: production v1, staging v2; both healthy. Six monitoring targets were up. Prometheus's 30-second samples missed the brief rollback interruption that the one-second observer captured. Staging had 169 failed samples during the deliberate fault/recovery.
This tracking issue was created during finalization, after the implementation PRs and operational exercises; it is not a claimed pre-implementation issue. The final evidence PR should close it after peer review. A first rollback attempt (build 7) stopped before deployment with a runner process-limit error; the idle runner was restarted without changing its limits before build 8.
Local preparation is not assessed release evidence. Preserve branch protection and earlier services/data; keep credentials out of Git and reports.