diff --git a/presentations/cicd-gitops.md b/presentations/cicd-gitops.md index a0e2317..ed9784d 100644 --- a/presentations/cicd-gitops.md +++ b/presentations/cicd-gitops.md @@ -64,16 +64,30 @@ build: [](https://www.sva.de/index.html) -- ## /BUILD -[](https://www.sva.de/index.html) +[](https://www.sva.de/index.html) +-- +## /LOCAL VS PIPELINE +[](https://www.sva.de/index.html) +-- +## /TASKFILE +![staging](https://tsh.io/wp-content/uploads/2021/04/taskfile-preference-meme.png) +-- +## /TASKFILE +``` +tasks: + build: + cmds: + - go build -v -i main.go +``` +-- +## /DRY +[](https://www.sva.de/index.html) -- ## /STAGING ![staging](https://codefresh.io/wp-content/uploads/2023/07/same-artifact-for-all.png) -- ## /STAGING ![staging](https://codefresh.io/wp-content/uploads/2023/07/same-artifact-for-all.png) --- -## /DRY -![staging](https://preview.redd.it/r2e86rrndns41.jpg?width=1080&crop=smart&auto=webp&s=4fe4832eaa7d75762850ec174b7e9f99bc358bc9) --- # /CD -- @@ -86,18 +100,44 @@ build: * Microservices instead of monoliths (Managing dependencies between all services is going to be challenging) -- ## /TEKTON CD -[](https://www.sva.de/index.html) +[](https://www.sva.de/index.html) -- ## /TEKTON CD -[](https://www.sva.de/index.html) ---- +[](https://www.sva.de/index.html) +-- +## /TEKTON TASK +``` +apiVersion: tekton.dev/v1beta1 +kind: Task +metadata: + name: hello +spec: + steps: + - name: echo + image: alpine + script: | + #!/bin/sh + echo "Hello World" +``` +-- +## /TEKTON TASKRUN +``` +apiVersion: tekton.dev/v1beta1 +kind: TaskRun +metadata: + name: hello-task-run +spec: + taskRef: + name: hello +``` +-- # /GITOPS -- ## /PUSH -![staging](https://blog.sparkfabrik.com/hs-fs/hubfs/Blog/cicd-push-based-deployment.png?width=2560&name=cicd-push-based-deployment.png) +[](https://www.sva.de/index.html) -- ## /PULL -![staging](https://blog.sparkfabrik.com/hs-fs/hubfs/Blog/CI-CD-GitOps-Push-Based-Deployments.png?width=2560&name=CI-CD-GitOps-Push-Based-Deployments.png) +[](https://www.sva.de/index.html) -- ## /DevOps vs GitOps * GitOps is a development mechanism, which mainly focuses on automating and tracking environment changes in a declarative manner