OXYGENHUB
# c140d0d8bc9c +2 oxygenflow / .flow / pipeline.kdl
990 B · last changed OxygenFlow's own pipeline: layout, notes, size and isolation checks, then a summary, in microVMs on Earth 1 month ago source blame history raw
f29b88af Andy McCall 1
// OxygenFlow's own pipeline (docs/m0.md). Runs in Firecracker microVMs on
2
// Earth for every push to a bookmark; see the Flow tab on OxygenHub.
3
schema-version 1
4
5
sandbox "alpine" {
6
    runtime "microvm"
7
    // Alpine 3.24.2 minirootfs, imported on Earth with `flow rootfs import`.
8
    rootfs "cas://blob/e95d22fb2380b67193f2640a12c2f8c7bae485f6fd14330bdb0c7157faa588dc"
9
    memory-limit "256MiB"
10
    cpu-limit 1
11
    network "isolated"
12
}
13
14
job "layout" {
15
    sandbox "alpine"
16
    exec "sh" "-eu" ".flow/jobs/layout.sh"
17
}
18
19
job "todos" {
20
    sandbox "alpine"
21
    scope "crates/**"
22
    exec "sh" "-eu" ".flow/jobs/todos.sh"
23
}
24
25
job "size" {
26
    sandbox "alpine"
27
    scope "crates/**"
28
    exec "sh" "-eu" ".flow/jobs/size.sh"
29
}
30
31
job "isolation" {
32
    sandbox "alpine"
33
    exec "sh" "-eu" ".flow/jobs/isolation.sh"
34
}
35
36
job "summary" {
37
    sandbox "alpine"
38
    depends-on "layout" "todos" "size" "isolation"
39
    env {
40
        PROJECT "OxygenFlow"
41
    }
42
    exec "sh" "-eu" ".flow/jobs/summary.sh"
43
}