Post

Recovery documentation now references offline image automation fixture

Recovery documentation now references offline image automation fixture

The latest commit updates the application-recovery markdown file so that recovery procedures point to a new offline image‑automation test fixture instead of the old local script calls. This keeps the recovery flow functional during network outages and aligns the docs with the CI pipeline used by Harbor.

Implementation: update to offline image automation fixture

In docs/application-recovery.md eight lines were added and five removed. The change replaces the previous manual gate commands (gate --application exporter --operation update) with a call to the repository‑root script scripts/ci/image-automation-test.py. It also adds a brief description of the synthetic deployment records the fixture validates, noting that it blocks updates for paused apps, accepts one safe recovery attempt, and rejects a second or unknown data‑safety request.

Verification: running the fixture locally

To verify the new approach, run the fixture from the project root with Python 3 and the -I flag: `python3 -I scripts/ci/image-automation-test.py The fixture uses synthetic deployment records. It checks that the gate blocks updates for a paused application, that recovery accepts one safe attempt, and that a second attempt or unknown data safety is rejected. A successful run exits with status 0 and leaves the repository journal untouched.

Platform engineering impact

This documentation shift does not require code changes beyond the markdown edit. It informs the CI team that recovery workflows should invoke the automated test rather than ad‑hoc scripts, reducing reliance on external agents and improving reproducibility across private OCI deployments.

This post is licensed under CC BY 4.0 by the author.