Skip to content

Commit 3228a07

Browse files
feat: main
1 parent 7f48ddb commit 3228a07

4 files changed

Lines changed: 31 additions & 53 deletions

File tree

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ tasks:
1414
cmds:
1515
- |
1616
find {{ .dir }}/{{ .presentation }} -type f | entr -r \
17-
dagger call -m {{ daggerModule }} serve \
17+
dagger call -m {{ .daggerModule }} serve \
1818
--config {{ .dir }}/{{ .presentation }}/hugo.toml \
1919
--content {{ .dir }}/{{ .presentation }} \
2020
--port {{ .port }} \

presentations/dagger/home/architecture.md

Lines changed: 11 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ weight = 30
88

99
# /ARCHITECTURE
1010

11-
### /DAG
11+
---
12+
13+
### DAG = Directed Acyclic Graph
1214

1315
```mermaid
1416
graph TD
@@ -29,10 +31,7 @@ graph TD
2931
F --> G
3032
```
3133

32-
---
33-
34-
- DAG = Directed Acyclic Graph
35-
- Graph to model dependencies and workflows
34+
<!-- - Graph to model dependencies and workflows -->
3635
- Directed: The connections (edges) between steps (nodes) point in one direction — from one step to another.
3736
- Acyclic: No cycles — you can’t return to a previous step by following edges.
3837

@@ -49,7 +48,7 @@ graph TD
4948
### /DAGGER ENGINE
5049

5150
- The Dagger engine is a custom version of BuildKit
52-
- It is responsible for efficiently running your pipeline as a DAG (Directed Acyclic Graph)
51+
- It is responsible for efficiently running your pipeline as a DAG
5352
- It's shipped as a container image and runs as a privileged container.
5453

5554
---
@@ -79,37 +78,17 @@ The Dagger CLI is the interface between you and the Dagger engine. It's used to
7978

8079
---
8180

82-
83-
### /Sample Dagger DAG (Mermaid)
84-
85-
```
86-
graph TD
87-
A[Checkout Code] --> B[Build Container]
88-
B --> C[Test Application]
89-
C --> D1[Run Linter]
90-
C --> D2[Publish to Registry]
91-
```
92-
93-
- Cloning code from a repo
94-
- Building a container image
95-
- Running tests
96-
- Running a linter and publishing the image in parallel after tests
97-
98-
---
99-
10081
### /🎯 Why GraphQL?
101-
GraphQL is strongly typed and introspectable (perfect for generating SDKs).
102-
103-
Lets you dynamically compose and query complex objects (like containers and filesystems).
104-
105-
Supports lazy evaluation — only the final outputs you need get computed.
82+
- You write code in Go/Python/Node using a Dagger SDK.
83+
- That code sends GraphQL queries to a running Dagger engine (inside a container).
84+
- The engine interprets the queries, builds the DAG of container operations, executes it, and returns results.
10685

10786
---
10887

10988
### /🎯 Why GraphQL?
110-
- You write code in Go/Python/Node using a Dagger SDK.
111-
- That code sends GraphQL queries to a running Dagger engine (inside a container).
112-
- The engine interprets the queries, builds the DAG of container operations, executes it, and returns results.
89+
- GraphQL is strongly typed and introspectable (perfect for generating SDKs).
90+
- Lets you dynamically compose and query complex objects (like containers and filesystems).
91+
- Supports lazy evaluation — only the final outputs you need get computed.
11392

11493
---
11594

@@ -145,13 +124,6 @@ Streams the output back to your SDK
145124
146125
147126
148-
### 🔄 Summary
149127
150-
| **Concept** | **Dagger** |
151-
|------------------|----------------------------------------------------------------------------|
152-
| **DAG** | Internal representation of all operations and dependencies |
153-
| **GraphQL API** | How your local code communicates with the Dagger engine |
154-
| **SDK** | Thin client that generates and sends GraphQL queries |
155-
| **Engine** | Containerized GraphQL server that builds, runs, and caches workflows |
156128
157129
{{% /section %}}

presentations/dagger/home/outro.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,23 @@ weight = 99
1010

1111
---
1212

13+
### DAGGER AI
1314

14-
### DAGGER SHELL
1515

16-
### DAGGER AI
16+
---
17+
18+
19+
### 🔄 Summary Architecture
20+
21+
| **Concept** | **Dagger** |
22+
|------------------|----------------------------------------------------------------------------|
23+
| **DAG** | Internal representation of all operations and dependencies |
24+
| **GraphQL API** | How your local code communicates with the Dagger engine |
25+
| **SDK** | Thin client that generates and sends GraphQL queries |
26+
| **Engine** | Containerized GraphQL server that builds, runs, and caches workflows |
27+
28+
29+
---
1730

1831

1932

@@ -37,5 +50,4 @@ Dagger is like **Terraform, but for CI/CD** 🎯
3750
> - 🚫 No
3851
3952

40-
4153
{{% /section %}}

presentations/dagger/tapes/shell_golang.tape

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
Output shell_golang.gif
22

3-
Set TypingSpeed 150ms
3+
Set TypingSpeed 75ms
44
Set FontSize 30
55
Set Width 1650
66
Set Height 880
77

88
Sleep 500ms
99

10-
Type "dagger"
10+
Type "echo 'container | from cgr.dev/chainguard/wolfi-base | with-exec apk add go | with-directory /src https://github.com/golang/example#master | with-workdir /src/hello | with-exec -- go build -o hello . | file ./hello | export ./gude' | dagger"
1111

1212
Enter
1313

14-
Sleep 5s
14+
Sleep 10s
1515

16-
Type "container | from cgr.dev/chainguard/wolfi-base | with-exec apk add go | with-directory /src https://github.com/golang/example#master | with-workdir /src/hello | with-exec -- go build -o hello . | file ./hello | export ./gude"
17-
18-
Enter
19-
20-
Sleep 180s
21-
22-
Type "./gude"
16+
Type "/gude"
2317

2418
Enter
2519

0 commit comments

Comments
 (0)