This repository has been archived on 2020-08-11. You can view files and clone it, but cannot push or open issues or pull requests.
stack/.drone.star

21 lines
310 B
Plaintext
Raw Normal View History

2020-04-24 10:10:50 +00:00
def steps(name):
2020-04-24 10:07:57 +00:00
return {
"kind": "pipeline",
2020-04-24 10:10:50 +00:00
"name": name,
2020-04-24 10:07:57 +00:00
"steps": [
{
"name": "build",
"image": "alpine",
"commands": [
"echo hello 'star lark'",
],
},
],
}
2020-04-24 06:58:20 +00:00
2020-04-24 06:32:20 +00:00
def main(ctx):
2020-04-24 10:10:50 +00:00
return [
steps('first'),
steps('second'),
]
2020-04-24 09:56:09 +00:00