github.com/upcmd/up@v0.8.1-0.20230108151705-ad8b797bf04f/tests/functests/c0007.yml (about) 1 doc_meta: | 2 folder: quick-start 3 title: syntax variation 4 head: | 5 Demo a few different ways for yml array 6 7 sections: 8 - title: Raw yaml 9 content: | 10 ``` 11 - 12 name: task 13 task: 14 - 15 func: shell 16 do: [echo "hello", echo "world"] 17 18 - 19 func: shell 20 do: [ 21 echo "hello", 22 echo "world" 23 ] 24 25 - 26 func: shell 27 do: [ 28 echo "hello", 29 echo "world"] 30 ``` 31 - title: Demo 32 log: yes 33 34 35 notes: 36 goal: 37 - to test using different yaml syntax 38 39 tasks: 40 41 - 42 name: task 43 task: 44 - 45 func: shell 46 do: [echo "hello", echo "world"] 47 48 - 49 func: shell 50 do: [ 51 echo "hello", 52 echo "world" 53 ] 54 55 - 56 func: shell 57 do: [ 58 echo "hello", 59 echo "world"] 60