def steps(name): return { "kind": "pipeline", "name": name, "clone": { "disable": true, }, "steps": [ { "name": "build", "image": "alpine", "commands": [ "echo hello 'star lark'", ], }, ], } def main(ctx): return [ steps('first'), steps('second'), ]