star
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Giles Bradshaw 2020-04-24 07:58:20 +01:00
parent 621d7a2f66
commit 0285b1f01e
2 changed files with 31 additions and 13 deletions

View File

@ -1,14 +1,18 @@
load("@this//:steps.star", "steps")
def main(ctx):
return {
"kind": "pipeline",
"name": "build",
"steps": [
{
"name": "build",
"image": "alpine",
"commands": [
"echo hello world",
],
},
],
}
return steps()
#return {
# "kind": "pipeline",
# "name": "build",
# "steps": [
# {
# "name": "build",
# "image": "alpine",
# "commands": [
# "echo hello world",
# ],
# },
# ],
#}

14
steps.star Normal file
View File

@ -0,0 +1,14 @@
def steps(ctx):
return {
"kind": "pipeline",
"name": "build",
"steps": [
{
"name": "build",
"image": "alpine",
"commands": [
"echo hello world",
],
},
],
}