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.
|
def steps(name):
|
|
return {
|
|
"kind": "pipeline",
|
|
"name": name,
|
|
"clone": {
|
|
"disable": True,
|
|
},
|
|
"steps": [
|
|
{
|
|
"name": "build",
|
|
"image": "alpine",
|
|
"commands": [
|
|
"echo hello 'star lark'",
|
|
],
|
|
},
|
|
],
|
|
}
|
|
|
|
def main(ctx):
|
|
return [
|
|
steps('first'),
|
|
steps('second'),
|
|
]
|
|
|