Compare commits
1 Commits
14223a14b4
...
6daf086844
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6daf086844 |
30
.drone.star
30
.drone.star
@@ -1,18 +1,18 @@
|
|||||||
def main(ctx):
|
def main(ctx):
|
||||||
return [
|
return [
|
||||||
stepPR("amd64", "motsognir"),
|
stepPR(ctx, "amd64", "motsognir"),
|
||||||
stepPR("arm64", "motsognir"),
|
stepPR(ctx, "arm64", "motsognir"),
|
||||||
stepMergeMaster("amd64", "motsognir"),
|
stepMergeMaster(ctx, "amd64", "motsognir"),
|
||||||
stepMergeMaster("arm64", "motsognir"),
|
stepMergeMaster(ctx, "arm64", "motsognir"),
|
||||||
stepBuildWeekly("amd64", "motsognir"),
|
stepBuildWeekly(ctx, "amd64", "motsognir"),
|
||||||
stepBuildWeekly("arm64", "motsognir"),
|
stepBuildWeekly(ctx, "arm64", "motsognir"),
|
||||||
|
|
||||||
stepPR("amd64", "webtest"),
|
stepPR(ctx, "amd64", "webtest"),
|
||||||
stepPR("arm64", "webtest"),
|
stepPR(ctx, "arm64", "webtest"),
|
||||||
stepMergeMaster("amd64", "webtest"),
|
stepMergeMaster(ctx, "amd64", "webtest"),
|
||||||
stepMergeMaster("arm64", "webtest"),
|
stepMergeMaster(ctx, "arm64", "webtest"),
|
||||||
stepBuildWeekly("amd64", "webtest"),
|
stepBuildWeekly(ctx, "amd64", "webtest"),
|
||||||
stepBuildWeekly("arm64", "webtest"),
|
stepBuildWeekly(ctx, "arm64", "webtest"),
|
||||||
|
|
||||||
notify(ctx),
|
notify(ctx),
|
||||||
]
|
]
|
||||||
@@ -60,7 +60,7 @@ def notify(ctx):
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def stepPR(arch, path):
|
def stepPR(ctx, arch, path):
|
||||||
return {
|
return {
|
||||||
"kind": "pipeline",
|
"kind": "pipeline",
|
||||||
"type": "docker",
|
"type": "docker",
|
||||||
@@ -93,7 +93,7 @@ def stepPR(arch, path):
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
def stepMergeMaster(arch, path):
|
def stepMergeMaster(ctx, arch, path):
|
||||||
return {
|
return {
|
||||||
"kind": "pipeline",
|
"kind": "pipeline",
|
||||||
"type": "docker",
|
"type": "docker",
|
||||||
@@ -132,7 +132,7 @@ def stepMergeMaster(arch, path):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def stepBuildWeekly(arch, path):
|
def stepBuildWeekly(ctx, arch, path):
|
||||||
return {
|
return {
|
||||||
"kind": "pipeline",
|
"kind": "pipeline",
|
||||||
"type": "docker",
|
"type": "docker",
|
||||||
|
|||||||
Reference in New Issue
Block a user