mirror of
https://github.com/trailofbits/dropkit
synced 2026-06-21 14:11:54 +00:00
111a6cd995
* Validate rendered cloud-init templates against official schema Add jsonschema dev dependency and two new tests that render the Jinja2 cloud-init template (with and without Tailscale) then validate the output against canonical/cloud-init's JSON schema. Tests skip gracefully when the network is unavailable. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Pin cloud-init schema to 22.4.2 and load from local test data Replace the network-fetched schema (from cloud-init main) with a local copy pinned to version 22.4.2 — the oldest cloud-init shipped by any currently supported DigitalOcean image (Debian 12 bookworm). This addresses review feedback to avoid validating against a schema newer than what target distros actually support, and removes the network dependency so tests work offline. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>