This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/README.md

64 lines
2.6 KiB
Markdown
Raw Normal View History

2020-12-30 10:16:15 +01:00
# dagger: the devops superglu, by the creators of docker
2020-12-30 10:16:15 +01:00
Dagger is an automation platform that lets software teams bind all their tools and infrastructure together into a unified supply chain.
2020-12-30 10:16:15 +01:00
Thanks to its vast catalog of adapters, developed in the open and curated for safety and quality,
you can drop Dagger into an existing stack *without changing it*, and immediately start automating the most repetitive and complex tasks.
2020-12-30 10:16:15 +01:00
And most importantly, Dagger is *programmable*. Thanks to a powerful scripting environment,
anyone with basic programming knowledge can extend Dagger with their own custom adapters and workflows.
Whether you're a seasoned SRE building a custom PAAS for your organization, a hobbyist on a fun
over-engineered week-end project, or a developer trying to setup CICD because, well, someone has to do it..
There's a whole community of fellow automation enthusiasts ready to help you write your first Dagger script.
2020-12-30 10:16:15 +01:00
## Usage examples
2020-12-30 10:16:15 +01:00
A few examples of how Dagger is used in the wild:
2020-12-30 10:16:15 +01:00
- Deploy a new API to AWS Elastic Container Service while continuing to deploy the main app on Heroku
- Deploy lightweight staging environments on-demand for QA, integration testing or product demos.
- Run integration tests on a live production-like deployment, automatically, for each pull request.
- Deploy the same app on Netlify for testing, and on Kubernetes for production
- Replace a 500-line deploy.sh with a 10-line configuration file
- Control sprawl of serverless functions on AWS, Google Cloud, Cloudflare, Netlify etc. by gradually
moving them to a generic interface, and switching backend at will.
- When the ML team uploads a new model to their S3 bucket, automatically incorporate it into staging
deployments, but not into production until manual confirmation!
- Rotate database credentials, and automatically re-deploy all staging environments with the new credentials.
- Allocate cool auto-generated URLs to development instances, and automatically configure your DNS,
load-balancer and SSL certificate manager to route traffic to them.
- Orchestrate application deployment across 2 infrastructure siloes, one managed with CloudFormation, the other with Terraform.
- Migrate from Helm to Kustomize, without disrupting next week's big release.
2020-12-30 10:16:15 +01:00
## Comparison to other automation platforms
2020-12-30 10:16:15 +01:00
### CICD
2020-12-30 10:16:15 +01:00
Github, Gitlab, Jenkins, Spinnaker, Tekton
2020-12-30 10:16:15 +01:00
### Build systems
2020-12-30 10:16:15 +01:00
Bazel, Nix, Skopeo
2020-12-30 10:16:15 +01:00
### Infrastructure automation
2020-12-30 10:16:15 +01:00
Terraform, Pulumi, Ansible
2020-12-30 10:16:15 +01:00
### Traditional scripting
2020-12-30 10:16:15 +01:00
Bash, Make, Python
2020-12-30 10:16:15 +01:00
### PaaS
Heroku, Elastic Beanstalk, Cloud Foundry, Openshift
### Kubernetes management
Kustomize, Helm, jsonnet
### Gitops
Flux, ...