bacalhau icon indicating copy to clipboard operation
bacalhau copied to clipboard

wip: first pass at writing a job schema in cue

Open frrist opened this issue 10 months ago • 4 comments

  1. Download the latest version of cue
  • https://github.com/cue-lang/cue/releases/tag/v0.8.0
  1. 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

frrist avatar Mar 29 '24 03:03 frrist