1
0
mirror of https://github.com/harness/drone.git synced 2022-03-12 19:30:52 +03:00
Files
drone-cicd/plugin/converter/testdata/input.jsonnet
2021-06-03 14:06:57 +01:00

19 lines
323 B
Jsonnet

local stepName = std.extVar("input.stepName");
local image = std.extVar("input.image");
local commands = std.extVar("input.commands");
{
"kind": "pipeline",
"type": "docker",
"name": "default",
"steps": [
{
"name": stepName,
"image": image,
"commands": [
commands
]
}
]
}