Skip to content

Instantly share code, notes, and snippets.

@geofffranks
Created October 3, 2021 11:50
Show Gist options
  • Save geofffranks/421cce535f23f31aac927c87171137af to your computer and use it in GitHub Desktop.
Save geofffranks/421cce535f23f31aac927c87171137af to your computer and use it in GitHub Desktop.
a bit o' spruce, from http://play.spruce.cf
{"flavor":"1.29.0","prune":["meta"],"env":["HOME=/home/user"],"cherry_pick":[],"yaml":[{"filename":"file1.yml","contents":"meta:\n ratios:\n - cpu: 125m\n mem: 250M\n - cpu: 250m\n mem: 500M\n legacyRatios: |\n - cpu: 125m\n mem: 250M\n - cpu: 250m\n mem: 500M\n\n\n\n\nfoo: (( stringify meta.ratios || nil ))\nbar: (( stringify meta.nemo || nil ))\noldFoo: (( grab meta.legacyRatios || nil ))\noldBar: (( grab meta.nemo || nil ))\n\n\n\n"}],"skip_eval":false,"fallback_append":false,"go_patch":false,"debug":false,"trace":false}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment