Github actions 10 mins deploy for small dockerized web app

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • monadium

    A platform with the purpose to teach Rust web development to people with no prior experience of programming

  • I have two versions for comparison, one that caches and one that doesn't. Both are called "Docker Copy Only" and are based on your yaml and docker setup as seen here: https://github.com/marcusradell/monadium/actions. Any clue why the caches isn't kicking in?

  • sccache

    Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage.

  • I would assume that the most time of those 2 steps is actually spent compiling your code. You should be able to get considerable performance gains by using sccache and caching sccache's cache folder so it's shared between workflow runs.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • cargo-chef

    A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.

  • The docker bits are more complicated. cargo chef makes it so you that docker can actually cache the layers for compilation, so past that you just need to cache the docker layers. The issues I've had were that restoring and saving the docker layers with github actions started taking more time than just rebuilding everything.

  • futurenhs-platform

    Discontinued 🩺 🚑 👩🏽‍⚕️🚤👨🏻‍⚕️👩🏿‍⚕️👨🏾‍⚕️🚁👩🏼‍⚕️ 🚑 🩺

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts