#CUE Frontend to the Dagger Go SDK

1 messages · Page 1 of 1 (latest)

snow glacier
#

For those of you who don't know, I'm a big fan of Go, CUE, and Dagger and I'm finally starting to put all three together. I'll continue to post updates to this thread as I add more features.

Currently, I am trying to define environments for my custom agent (also defined in CUE) and can now build images.

Code: https://github.com/hofstadter-io/hof/blob/_next/lib/env/devex/veg.cue
Schema: https://github.com/hofstadter-io/hof/blob/_next/schemas/env/container.cue
Function: https://github.com/hofstadter-io/hof/blob/_next/lib/env/dag/cue.go

This is an early look and the goal is not to 100% the possible API and capabilities. Some of this will look more like kubernetes resources, because long-term I want the DSL to support defining (i.e.) services or deployments/"pods". These terms like "service" are a bit muddled when you try to speak about both at the same time.

Screenshot of hof env export veg

snow glacier
#

caches are working, saved 1G of disk! Probably a bunch more working too, just got things back together. Big refactor and build out