Compare commits

..

1 Commits

Author SHA1 Message Date
Christian Richter
2d2bd99644 test seperate notify pipeline
Some checks reported errors
continuous-integration/drone/pr Build was killed
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-05-19 13:46:58 +02:00

View File

@@ -1,14 +1,14 @@
def main(ctx):
return [
stepPR(ctx, "amd64", "motsognir"),
stepPR(ctx, "arm64", "motsognir"),
stepPR("amd64", "motsognir"),
stepPR("arm64", "motsognir"),
stepMergeMaster("amd64", "motsognir"),
stepMergeMaster("arm64", "motsognir"),
stepBuildWeekly("amd64", "motsognir"),
stepBuildWeekly("arm64", "motsognir"),
stepPR(ctx, "amd64", "webtest"),
stepPR(ctx, "arm64", "webtest"),
stepPR("amd64", "webtest"),
stepPR("arm64", "webtest"),
stepMergeMaster("amd64", "webtest"),
stepMergeMaster("arm64", "webtest"),
stepBuildWeekly("amd64", "webtest"),
@@ -17,13 +17,6 @@ def main(ctx):
notify(ctx),
]
def getPipelineNames(pipelines = []):
names = []
for pipeline in pipelines:
names.append(pipeline["name"])
return names
def notify(ctx):
return {
"kind": "pipeline",
@@ -67,7 +60,7 @@ def notify(ctx):
},
}
def stepPR(ctx, arch, path):
def stepPR(arch, path):
return {
"kind": "pipeline",
"type": "docker",
@@ -88,7 +81,7 @@ def stepPR(ctx, arch, path):
}
},
],
"depends_on": getPipelineNames([notify(ctx)]),
#"depends_on": [ "matrix-notifications" ],
"trigger": {
"ref": [
"refs/pull/**",