mirror of
https://github.com/harness/drone.git
synced 2025-09-04 19:37:44 +00:00
19 lines
323 B
Jsonnet
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
|
|
]
|
|
}
|
|
]
|
|
}
|