ssh-agent
kamal
ssh-agent | kamal | |
---|---|---|
3 | 29 | |
1,091 | 9,029 | |
1.8% | 2.6% | |
4.6 | 9.3 | |
10 days ago | 3 days ago | |
JavaScript | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ssh-agent
-
Continuous Deployment with GitHub Actions and Kamal
Once the image has been built and pushed, you only need to trigger the deployment using Kamal. We use the webfactory/ssh-agent to establish a connection to our production server. After installing the required Ruby dependencies, it’s only a matter of running Kamal. As the image is already built and pushed, we use the --skip-push flag.
-
Flow to build using Github Actions when having dependencies in multiple private repositories
When using Github Actions, to build projects I have been using the ssh-agent approach (https://github.com/webfactory/ssh-agent), with this means the Cargo.toml looks like this:
-
Getting Started with GitHub Codespaces from a Serverless Perspective
Thankfully when I reached out on Twitter, Jonathan Carter on the Codespaces team, seemed to suggest they may be working on a native SSH integration one day. Till then, here is the solution I came up with. This process address some sequencing issues around devcontainer.json's Lifecycle Scripts and when your Dotfiles are installed. Credit to VS Codes Using SSH Keys guide. Also, some things here are pulled directly from the GitHub Action to setup SSH. Again, thanks to Johnathan Carter for the ideas.
kamal
-
My deployment platform is a shell script
Guessing you're talking about https://kamal-deploy.org/ which looks interesting, though I tend to like reconciliation logic based systems ... but often only fired off imperatively with a plan/apply separation. So I shall be having a poke around anyway :)
-
How Rails Powers PopaDex for Simplified Financial Planning
Navigating the deployment landscape can be a daunting task for any developer, particularly those going it alone. PopaDex uses Kamal as its deployment solution, due to its straightforward and efficient nature. This tool is designed to facilitate the quick deployment of Rails applications across diverse environments, streamlining what can often be a complicated process. Kamal's appeal lies in its ability to demystify deployment, removing the hurdles commonly associated with Docker and app deployment in general. A couple of the main benefits of Kamal:
-
Let's build a screenshot API
Or you can use [https://kamal-deploy.org/] and GitHub actions for automating at least deploys, but there are still will be issues that you will need to solve.
- FLaNK AI for 11 March 2024
- Kamal – Deploy web apps anywhere, from bare metal to cloud VMs
-
The Hater's Guide to Kubernetes
For homelab, Docker compose should be enough
For something more production oriented https://github.com/basecamp/kamal
- Kamal – Deploy web apps anywhere
- Kamal: Open-source, zero-downtime deployment with rolling restarts
-
Continuous Deployment with GitHub Actions and Kamal
Kamal is a wonderfully simple way to deploy your applications anywhere. It will also be included by default in Rails 8. Kamal is trivial, but I don’t recommend using it on your development machine.
What are some alternatives?
codespaces
build-push-action - GitHub Action to build and push Docker images with Buildx
webssh2 - Web SSH Client using ssh2, socket.io, xterm.js, and express. webssh webssh2
whisper-plus - WhisperPlus: Advancing Speech-to-Text Processing 🚀
aws-sam-build-images - AWS SAM build images
Nomad - Nomad is an easy-to-use, flexible, and performant workload orchestrator that can deploy a mix of microservice, batch, containerized, and non-containerized applications. Nomad is easy to operate and scale and has native Consul and Vault integrations.
blog-post-workflow - Show your latest blog posts from any sources or StackOverflow activity or Youtube Videos on your GitHub profile/project readme automatically using the RSS feed
OpenVoice - Instant voice cloning by MyShell.
amazon-ecs-run-task - Runs an Amazon ECS task on ECS cluster
Centurion - A mass deployment tool for Docker fleets
openvscode-server - Run upstream VS Code on a remote machine with access through a modern web browser from any device, anywhere.
rewrite - Automated mass refactoring of source code.