Just cut the CI/CD build time for my blog (blog.hofstede.it) by over 100%!
-
Just cut the CI/CD build time for my blog (blog.hofstede.it) by over 100%!
I use Pelican as a static site generator and deploy via Forgejo Actions. Instead of running apt install for Python dependencies on every single run, I finally built a custom container image.
The best part? Forgejo has a built-in OCI registry! I just pushed my custom image to my git-forge and referenced it in the workflow. Down to a 24s deploy time! Nice.
#Forgejo #CICD #SelfHosted #Python #WebDev #Pelican #Linux

-
R relay@relay.mycrowd.ca shared this topic
-
Just cut the CI/CD build time for my blog (blog.hofstede.it) by over 100%!
I use Pelican as a static site generator and deploy via Forgejo Actions. Instead of running apt install for Python dependencies on every single run, I finally built a custom container image.
The best part? Forgejo has a built-in OCI registry! I just pushed my custom image to my git-forge and referenced it in the workflow. Down to a 24s deploy time! Nice.
#Forgejo #CICD #SelfHosted #Python #WebDev #Pelican #Linux

@Larvitz @selfhosting Time to finally plug plug on Forgejo self hosting I guess. Thanks for your write up.
-
@Larvitz @selfhosting Time to finally plug plug on Forgejo self hosting I guess. Thanks for your write up.
@pecet @selfhosting I made a full writeup on the blog: https://blog.hofstede.it/speeding-up-forgejo-ci-with-a-custom-oci-image/