Added basic templates

This commit is contained in:
2022-10-29 17:08:39 +02:00
commit dabb49db35
2 changed files with 28 additions and 0 deletions

17
telegram.jsonnet Normal file
View File

@@ -0,0 +1,17 @@
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,
],
},
],
}