drone/plugin/converter/testdata/starlark.input.star

15 lines
245 B
Plaintext

def main(ctx):
return {
"kind": "pipeline",
"name": "build",
"steps": [
{
"name": ctx.input.stepName,
"image": ctx.input.image,
"commands": [
ctx.input.commands
]
}
]
}