Files
Adrian Duke 620a1ec697 simulation: Introduce particle CUE module for radicle-node
Adds a `radicle-node` particle CUE module to simulation. Partial for
brevity in review as the `cue.mod` files found in the NEXT commit are
less relevant and autogenerated by Timoni + CUE.

Creates a set of roles: `peer`, `seed`, `bootstrap` that can be arranged
into toplogies for deployment in a k8s system. Images are provided by
Radicle Garden via quay.io.
2026-05-11 12:53:17 +01:00

26 lines
785 B
CUE

// Code generated by timoni.
// Note that this file must have no imports and all values must be concrete.
@if(!debug)
package main
// Defaults
values: {
// The topology map allows defining multiple node groups with different versions
topology: [string]: {
//
// Open enum for allowed image versions (allows custom local builds via `string`)
// This is kept here so the update-image-tags.sh script can easily modify it.
//
version: "1.2.0" | "1.4.0" | "1.5.0" | "1.5.0-" | "1.5.0-amd64" | "1.5.0-arm64" | "1.6.0" | "1.6.1" | "1.7.0" | "1.7.1" | "1.8.0" | "latest" | "main" | "production" | "sqlite-patch" | string | *"latest"
...
}
// Provide a default node so that a basic install works out-of-the-box
topology: "default-node": {
role: "seed"
replicas: 1
}
}