Use YAML documents for CI templates' instead of `spec:`
Description
We can separate spec:
keyword from the actual YAML configuration using documents in YAML: ---
three dashes.
It loads as an array (tested by @ayufan):
irb(main):013:0> YAML.load_stream(File.read('test.yaml'))
=> [{"inputs"=>{"variable"=>"KEY"}}, {"rspec"=>{"script"=>"echo Hello World"}}]
inputs:
variable: KEY
---
rspec:
script: echo Hello World
Edited by Kamil Trzciński