holos-run / holos

Holos - The Holistic platform manager
https://holos.run
Apache License 2.0
1 stars 0 forks source link

builder: fill #UserData from userdata/**/*.json (#210) #211

Closed jeffmccune closed 2 months ago

jeffmccune commented 2 months ago

Now that we have multi-platform images, we need a way to easily deploy them. This involves changing the image tag. kustomize edit is often used to bump image tags, but we can do better providing it directly in the unified CUE configuration.

This patch modifies the builder to unify user data *.json files recursively under userdata/ into the #UserData definition of the holos entrypoint.

This is to support automation that writes simple json files to version control, executes holos render platform, then commits and pushes the results for git ops to take over deployment.

Closes: #210

cloudflare-workers-and-pages[bot] commented 2 months ago

Deploying holos with  Cloudflare Pages  Cloudflare Pages

Latest commit: f1dc546
Status:⚡️  Build in progress...

View logs