Skip to content

ci: D2 from its release, not Docker Hub - #31

Merged
aledbf merged 1 commit into
mainfrom
ci/d2-from-its-release
Oct 9, 2026
Merged

aledbf merged 1 commit into
mainfrom
ci/d2-from-its-release

Conversation

@aledbf

@aledbf aledbf commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

diagrams:check pulled terrastruct/d2 from Docker Hub. Since this afternoon GitHub's runners can't get a token there (auth.docker.io … Client.Timeout exceeded; earlier it was toomanyrequests), so every lint fails. #30 has failed five runs in a row on that alone.

  • D2 becomes a pinned release binary, like tofu, tflint, trivy and terraform-docs: tools:d2, checked against the release's SHA256SUMS. The version is the one spin-stack/ami pins (v0.9.0). diagrams and diagrams:check depend on it.
  • Verified: the binary renders docs/diagrams/installation.svg byte for byte as the image did. task lint is green with it. With one byte added to the committed SVG, diagrams:check fails, and the SVG was restored.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

diagrams:check pulled terrastruct/d2 from Docker Hub, which GitHub's
runners could not get a token from on 2026-10-09 - every lint failed
with it, five runs in a row. D2 is now a pinned release binary like
tofu and tflint (tools:d2, checked against the release's SHA256SUMS),
at the version spin-stack/ami pins, v0.9.0. It renders the committed
SVG byte for byte as the image did.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@aledbf
aledbf merged commit e5f0eb6 into main Oct 9, 2026
1 check passed
@aledbf
aledbf deleted the ci/d2-from-its-release branch October 9, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant