Skip to content

Instantly share code, notes, and snippets.

@geofffranks
Created January 27, 2022 14:43
Show Gist options
  • Save geofffranks/abeb40f6d6e13cf01f42b1e05e79f568 to your computer and use it in GitHub Desktop.
Save geofffranks/abeb40f6d6e13cf01f42b1e05e79f568 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":"---\nenv:\n prefix: \"\"\n location: something\n\n"},{"filename":"file2.yml","contents":"---\nimage: (( concat env.prefix || \"prefix-\" env.location \"/foo/bar\" ))\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