-
-
Save jbontech/8310ade461fc3d26e812356c34120917 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################### | |
# Dagger: The Missing Ingredient for Your Disastrous CI/CD Pipeline # | |
##################################################################### | |
# Additional Info: | |
# - Dagger: https://dagger.io | |
# - Your CI/CD Pipelines Are Wrong - From Monoliths To Events: https://youtu.be/TSQ0QpfCi1c | |
# - Is CUE The Perfect Language For Kubernetes Manifests (Helm Templates Replacement)?: https://youtu.be/m6g0aWggdUQ | |
# - Is Timoni With CUE a Helm Replacement?: https://youtu.be/bbE1BFCs548 | |
# - | |
######### | |
# Setup # | |
######### | |
# Make sure that Docker Desktop is up-and-running. | |
# Create a Kubernetes cluster (a local cluster like KinD, | |
# Minikube, or Docker Desktop should be fine). | |
# Install `dagger` CLI by following the instructions at | |
# https://docs.dagger.io/quickstart/729236/cli. | |
git clone https://github.com/vfarcic/silly-demo | |
cd silly-demo | |
git pull | |
git checkout -t origin/dagger | |
################################################ | |
# Dagger: CI/CD With Code That Runs Everywhere # | |
################################################ | |
DEV=true dagger run go run dagger/main.go | |
kubectl get all | |
DEV=true dagger run go run dagger/main.go | |
cat dagger/main.go | |
cat .github/workflows/ci.yaml | |
########### | |
# Destroy # | |
########### | |
git checkout master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment