1- #!/usr/bin/env dagger
2-
3- container |
4- from cgr.dev/chainguard/wolfi-base |
5- with-exec apk add curl git bash wget kubectl helm k9s cilium terraform |
6- with-exec -- wget https://github.com/helmfile/helmfile/releases/download/v1.1.7/helmfile_1.1.7_linux_amd64.tar.gz |
7- with-exec -- tar xvfz helmfile_1.1.7_linux_amd64.tar.gz |
8- with-exec -- mv helmfile /usr/bin/ |
9- with-directory /showcase https://github.com/stuttgart-things/platform-engineering-showcase.git#main |
10- with-mounted-file /root/.kube/config ../../../.kube/keycloak-cluster |
11- with-env-variable KUBECONFIG /root/.kube/config |
12- with-mounted-file apply-helm.sh apply-helm.sh |
13- with-mounted-file provisioning.yaml provisioning.yaml |
14- with-mounted-file crds.yaml crds.yaml |
15- terminal
16-
17- #with-secret-variable VCENTER_FQDN env://VCENTER_FQDN |
18- #with-secret-variable BLA vault://eva.kubeconfig |
19-
20- #--token=vault://secret/data/github?field=token
21- # MOUNT CURRENT DIR
22- #with-mounted-directory /workspace . |
23-
24- # MOUNT CACHE
25- #with-mounted-cache /data my-workspace |
26- #terminal|
27- #with-exec -- mkdir /output |
28- #with-exec -- cp -r /data/ /output/data/ |
29- #directory /output |
30- #export ./output-dir
1+ Output dagger_shell.gif
2+
3+ Set TypingSpeed 150ms
4+ Set FontSize 30
5+ Set Width 1650
6+ Set Height 880
7+
8+ Sleep 500ms
9+
10+ Type "dagger"
11+
12+ Enter
13+
14+ Sleep 3s
15+
16+ Type "container | from cgr.dev/chainguard/wolfi-base | with-exec apk add curl git bash wget kubectl helm k9s cilium | with-directory /showcase https://github.com/stuttgart-things/platform-engineering-showcase.git#main | with-secret-variable KUBECONFIG vault://github.token | with-secret-variable GITHUB_TOKEN vault://eva.kubeconfig | with-secret-variable VCENTER_FQDN env://VCENTER_FQDN | terminal "
17+
18+ Sleep 500ms
19+
20+ Enter
21+
22+ Sleep 45s
23+
24+
25+ Output dagger_shell.gif
26+ Set FontSize 30
27+ Set Width 1650
28+ Set Height 880
29+ Set TypingSpeed 120ms
30+
31+ Sleep 500ms
32+ Type "dagger"
33+ Enter
34+ Sleep 2s
35+
36+ Type "container \\"
37+ Enter
38+ Type " | from cgr.dev/chainguard/wolfi-base \\"
39+ Type " | with-exec apk add curl git bash wget kubectl helm k9s cilium \\"
40+ Type " | with-directory /showcase https://github.com/stuttgart-things/platform-engineering-showcase.git#main \\"
41+ Type " | with-secret-variable KUBECONFIG vault://github.token \\"
42+ Type " | with-secret-variable GITHUB_TOKEN vault://eva.kubeconfig \\"
43+ Type " | with-secret-variable VCENTER_FQDN env://VCENTER_FQDN \\"
44+ Type " | terminal"
45+
46+ Sleep 500ms
47+ Enter
48+
49+ Sleep 25s
0 commit comments