On CI/CD

created: Sun, 01 Dec 2024 08:40:56 GMT, modified: Thu, 26 Dec 2024 17:03:51 GMT

Docker-based deployments are slow and clunky, and caching is not a good way of solving it. At the same time there are tools to simplify setting up local development environments. And git works perfectly well with just SSH.

Looks like a combination of ssh git, mise, systemd and key management solution would be a minimal PaaS.

Points

  • languages do a good job with virtual environments
  • it's helpful rebuilding project from scratch from time to time, but really annoying on each push
  • frontend builds that produce static files can be served from anywhere and should be deployable instantly
  • same job done twice: build/run locally and in containers
  • triggering deployment on commit makes a lot of sense, given the feedback is provided
  • commits, pull request and reviews should be doable from cli

Existing projects:

Related existing projects: