Skip to content

Comments

blog: Running DDEV in CI with WarpBuild, add mermaid diagram support#515

Open
deviantintegral wants to merge 25 commits intoddev:mainfrom
deviantintegral:warpbuild-post
Open

blog: Running DDEV in CI with WarpBuild, add mermaid diagram support#515
deviantintegral wants to merge 25 commits intoddev:mainfrom
deviantintegral:warpbuild-post

Conversation

@deviantintegral
Copy link
Collaborator

@deviantintegral deviantintegral commented Jan 16, 2026

The Issue

I'm following up from the suggestion at ddev/ddev#7054 (comment).

How This PR Solves The Issue

It documents what we've done to effectively use DDEV in GitHub Actions.

This PR adds mermaid diagram support with astro-mermaid.

Review at https://pr-515.ddev-com-fork-previews.pages.dev/blog/ddev-ci-warpbuild/

Comment on lines 3 to 4
pubDate: 2026-01-01
modifiedDate: 2026-01-03
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These need bumping before publishing.

@github-actions
Copy link

github-actions bot commented Jan 16, 2026

🌐 Fork Preview for PR #515

https://pr-515.ddev-com-fork-previews.pages.dev

This preview updates automatically when you push changes to your fork.

@rfay
Copy link
Member

rfay commented Jan 20, 2026

Looking forward to trying it out, thanks!

Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great work on this! Made a few suggestions, will also ask Copilot to take a pass.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a blog post documenting how Lullabot uses WarpBuild to significantly improve DDEV startup performance in CI environments, specifically for GitHub Actions workflows. The post shares practical implementation details and performance results from using WarpBuild's Snapshot feature to cache DDEV environments.

Changes:

  • New blog post describing WarpBuild integration with DDEV for CI performance optimization
  • New author profile for Andrew Berry
  • Minor cleanup removing unused "Resources" category from README documentation

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 5 comments.

File Description
src/content/blog/ddev-ci-warpbuild.md Technical blog post explaining WarpBuild setup, configuration, and performance results for DDEV in CI
src/content/authors/andrew-berry.md Author profile for the blog post author
README.md Removes unused "Resources" category from blog category list

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@rfay rfay requested review from stasadev and tyler36 January 22, 2026 18:03
@rfay rfay marked this pull request as draft January 27, 2026 21:23
@deviantintegral deviantintegral marked this pull request as ready for review January 27, 2026 22:07
@deviantintegral
Copy link
Collaborator Author

Rewrite is done! The example now is broken into separate sections, but they should all combine into a single file without any references to actions in other directories.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 4 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@deviantintegral
Copy link
Collaborator Author

@rfay prettier is failing on the yaml blocks, but the indentation matters. Remove the indentation (and make this less copy-paste-able) or change something in prettier?

@rfay
Copy link
Member

rfay commented Jan 27, 2026

Shouldn't be hard, we have yaml blocks lots of places. What does ddev prettier do to it? Something usable?

@stasadev
Copy link
Member

I updated it to make prettier happy.

Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

Great technique, it should have been available in GitHub Actions by default.

@deviantintegral
Copy link
Collaborator Author

Great technique, it should have been available in GitHub Actions by default.

I recently noticed https://docs.github.com/en/actions/how-tos/manage-runners/larger-runners/use-custom-images which might solve this but in a different way. I don't like that everything is controlled via the UI, at the org level and not the repo level. I expect WarpBuild will still be cheaper. But I haven't actually tried it yet!

Copy link
Member

@rfay rfay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, it's great! Minor suggestion for rewording the second sentence, you can do it any way you like.

If you have any more tolerance for it, there are two things that would make this really, really useful:

  1. A simple github repo that demonstrates it in context
  2. A diagram explaining what in the world is going on with all the moving parts.

I am not assuming you have any more tolerance, and I don't want to put a roadblock in front of you.

Thanks!

@rfay
Copy link
Member

rfay commented Jan 29, 2026

This made me wonder whether we can significantly improve our huge DDEV tests with the large images approach we probably get with our nonprofit teams plan, or with WarpBuild itself if they have a nonprofit plan.

@deviantintegral
Copy link
Collaborator Author

A simple github repo that demonstrates it in context
A diagram explaining what in the world is going on with all the moving parts.

Good ideas, and I'll do both!

@rfay rfay marked this pull request as draft February 3, 2026 15:42
@rfay
Copy link
Member

rfay commented Feb 3, 2026

Moving it back to draft then, but don't get stuck with it. Something is better than nothing!

}

const { default: mermaid } = await import(
"https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to link to this or would we rather mirror this locally?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used astro-mermaid for this.

@deviantintegral
Copy link
Collaborator Author

  • I've added mermaid support to the blog, and added a diagram that uses it.
  • I've created an example repo and linked to it.

I bumped the date to today, but I imagine it will need more more right before merging. Otherwise, I think this is ready for review again.

@deviantintegral deviantintegral marked this pull request as ready for review February 20, 2026 19:08
@deviantintegral
Copy link
Collaborator Author

Tests failed with a network error and I don't have permission to rerun.

@rfay
Copy link
Member

rfay commented Feb 20, 2026

Gave you privs on project, does that make you able to re-run? I'm happy to re-run as well. You can also just push an empty commit.

@deviantintegral
Copy link
Collaborator Author

Someone beat me to it, all green!

@stasadev stasadev self-requested a review February 21, 2026 19:18
@stasadev stasadev changed the title Blog: Running DDEV in CI with WarpBuild blog: Running DDEV in CI with WarpBuild, add mermaid diagram support Feb 23, 2026
Copy link
Member

@stasadev stasadev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

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.

3 participants