Skip to content

Instantly share code, notes, and snippets.

@geofffranks
Created January 27, 2018 14:28
Show Gist options
  • Save geofffranks/a069c79eae73a6c9f6b17907a881b808 to your computer and use it in GitHub Desktop.
Save geofffranks/a069c79eae73a6c9f6b17907a881b808 to your computer and use it in GitHub Desktop.
a bit o' spruce, from http://play.spruce.cf
{"flavor":"1.11.0","prune":["meta"],"env":["HOME=/home/user"],"cherry_pick":[],"yaml":[{"filename":"file1.yml","contents":"meta:\n target_mem: 144\njobs:\n- name: big_ones\n instances: (( calc \"floor(meta.target_mem / 32)\" ))\n- name: small_ones\n instances: (( calc \"floor((meta.target_mem - jobs.big_ones.instances * 32) / 16)\" ))\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