Skip to content

Commit 472ef70

Browse files
feat: main
1 parent e147cfa commit 472ef70

8 files changed

Lines changed: 148 additions & 34 deletions

File tree

containerization.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ docker build -t myapp:v3 /apps/myapp/
164164

165165
</details>
166166

167+
<details><summary>EXTRACT CONTAINER IMAGE</summary>
168+
169+
```bash
170+
docker pull ghcr.io/stuttgart-things/dagger:20250613-095510
171+
docker create --name dagger ghcr.io/stuttgart-things/dagger:20250613-095510 /bin/sh
172+
docker export dagger -o dagger.tar
173+
mkdir dagger-fs
174+
tar -xf dagger.tar -C dagger-fs
175+
```
176+
177+
</details>
178+
167179
<details><summary>BUILD ARM64 IMAGE W/ NERDCTL</summary>
168180

169181
```bash

presentations/container-stories/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ background = "#FF4081"
2020
+++
2121

2222

23-
{{< slide id=agenda background-color="#0f1011ff" type="slide" transition="zoom" transition-speed="fast" background-image="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/stories.jpeg" background-size="500px" >}}
23+
{{< slide id=agenda background-color="#0f1011ff" type="slide" transition="zoom" transition-speed="fast" background-image="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/chatty_stories.png" background-size="500px" >}}
2424

2525
{{% section %}}
2626

presentations/container-stories/home/dagger-kargo.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,38 @@ weight = 40
2020
* GOLANG TESTING
2121
* K8s / HELM TESTING
2222

23+
### /(Reusable) Modules
24+
25+
<img src="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/functions_crane.gif" alt="Alt Text" width="5000" style="border: none; box-shadow: none;" />
26+
27+
28+
- Analogy: Like a library or plugin for CI/CD workflows.
29+
30+
- Example: A module called docker might expose functions like build, push, and scan.
31+
32+
---
33+
34+
### /CREATE MODULE
35+
36+
<img src="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/module.gif" alt="Alt Text" width="5000" style="border: none; box-shadow: none;" />
37+
38+
---
39+
40+
### /CHAINING + USE IMPORTS
41+
42+
<img src="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/helm-lint.png" alt="Alt Text" width="5000" style="border: none; box-shadow: none;" />
43+
44+
- Usage of imported helm module
45+
46+
---
47+
48+
### /PIPELINES
49+
50+
<img src="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/pipeline.png" alt="Alt Text" width="800" style="border: none; box-shadow: none;" />
51+
52+
53+
54+
2355
---
2456

2557
### DAGGER AI-AGENTS

presentations/container-stories/home/intro.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,4 @@ weight = 10
1919
- 5️⃣ **DAGGER + KARGO**
2020
- 6️⃣ **Outro** - Wrapping up & next steps
2121

22-
---
23-
2422
{{% /section %}}

presentations/container-stories/home/tekton-kcl.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,21 @@ weight = 20
5858

5959
---
6060

61+
💬 TL;DR
62+
63+
You can define Kubernetes objects manually — but importing the k8s library gives you:
64+
65+
✅ Type safety
66+
67+
✅ Schema validation
68+
69+
✅ Version compatibility
70+
71+
✅ Autocompletion
72+
73+
✅ Easier composition and reuse
74+
---
75+
6176
# /KCL TEKTON INTEGRATION
6277

6378
---

presentations/container-stories/home/tinkerbell-crossplane.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
weight = 30
33
+++
44

5-
{{< slide id=tinkerbell background-color="#9FE2BF" type="slide" transition="zoom" transition-speed="fast" >}}
5+
{{< slide id=tinkerbell background-color="#dd44b9ff" type="slide" transition="zoom" transition-speed="fast" >}}
66

77
{{% section %}}
88

9+
<img src="https://artifacts.demo-infra.sthings-vsphere.labul.sva.de/images/tinkerbell.jpeg" alt="Alt Text" width="350" style="border: 1px; box-shadow: none;" />
10+
911
# /TINKERBELL-CROSSPLANE
1012

1113
---
Lines changed: 49 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,49 @@
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
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Output function_kcl_module.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 "mkdir kcl-xplane-tinkerbell"
11+
12+
Sleep 500ms
13+
14+
Enter
15+
16+
Type "cd kcl-xplane-tinkerbell"
17+
18+
Enter
19+
20+
Type "kcl mod init"
21+
22+
Enter
23+
24+
Sleep 10s
25+
26+
Type "kcl mod add crossplane-provider-kubernetes"
27+
28+
Enter
29+
30+
Sleep 10s
31+
32+
Type "kcl run"
33+
34+
Enter
35+
36+
Sleep 10s

0 commit comments

Comments
 (0)