bacalhau
bacalhau copied to clipboard
wip: first pass at writing a job schema in cue
- Download the latest version of
cue
- https://github.com/cue-lang/cue/releases/tag/v0.8.0
- vet your job specs with this via the command:
-
cue vet -d "#Job" testdata/jobs/docker-output.yaml pkg/models/job-schema.cue
Couple notes:
- This is a work in progress, not perfect
- At present the schema requires that keys in your yaml be upper case