mirror of
https://github.com/holos-run/holos.git
synced 2026-03-21 01:35:02 +00:00
Previosly the end user needed to write, or at least copy and paste, a
large amount of boiler plate code to achieve the goal of declaring a
helm chart component. There is a gap between the cue code:
(#Helm & Chart).Output
And the full BuildPlan produced for the Holos cli to execute the
rendering process. The boiler plate code in schema.cue at the root of
the platform infrastructure repository was largely responsible for
defining how a BuildPlan with one HelmChart component is derived from
this #Helm definition.
This patch moves the definitions into a new, documented API named
`schema`. End users are expected to define their own #Helm definition
using the schema.#Helm, like so in the root level schema.cue:
#Helm: schema.#Helm
Website
This website is built using Docusaurus, a modern static website generator.
Installation
npm install
Local Development
npm run start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
npm run build
This command generates static content into the build directory and can be
served using any static contents hosting service.
Deployment
Deployments are made with Cloudflare Pages. Cloudflare deploys on changes to the main branch, and Pull Requests get comments with links to preview environments.