mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-08 14:19:57 +02:00
⚙️ Drone CI: Notify by mail
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
545c75ebce
commit
f9b4a2265e
1 changed files with 42 additions and 28 deletions
70
.drone.star
70
.drone.star
|
@ -9,35 +9,49 @@ def main(ctx):
|
||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
return {
|
return [
|
||||||
"kind": "pipeline",
|
{
|
||||||
"name": name,
|
"kind": "pipeline",
|
||||||
"steps": [
|
"name": name,
|
||||||
{
|
"steps": [
|
||||||
"name": "prepare data",
|
{
|
||||||
"image": "alpine",
|
"name": "prepare data",
|
||||||
"commands": [
|
"image": "alpine",
|
||||||
"apk update && apk add bash curl",
|
"commands": [
|
||||||
"FORCE_DOWNLOAD=y ./build-tmp-XXX"
|
"apk update && apk add bash curl",
|
||||||
]
|
"FORCE_DOWNLOAD=y ./build-tmp-XXX"
|
||||||
},
|
]
|
||||||
# We can't glob and have to add here manually...
|
},
|
||||||
step_for(ctx, "core", tags),
|
# We can't glob and have to add here manually...
|
||||||
step_for(ctx, "core-cuda10.0", tags),
|
step_for(ctx, "core", tags),
|
||||||
step_for(ctx, "core-cuda10.1", tags),
|
step_for(ctx, "core-cuda10.0", tags),
|
||||||
|
step_for(ctx, "core-cuda10.1", tags),
|
||||||
|
|
||||||
|
step_for(ctx, "dinglehopper", tags),
|
||||||
|
step_for(ctx, "ocrd_calamari", tags),
|
||||||
|
step_for(ctx, "ocrd_calamari03", tags),
|
||||||
|
step_for(ctx, "ocrd_cis", tags),
|
||||||
|
step_for(ctx, "ocrd_fileformat", tags),
|
||||||
|
step_for(ctx, "ocrd_olena", tags),
|
||||||
|
step_for(ctx, "ocrd_segment", tags),
|
||||||
|
step_for(ctx, "ocrd_tesserocr", tags),
|
||||||
|
step_for(ctx, "sbb_binarization", tags),
|
||||||
|
step_for(ctx, "sbb_textline_detector", tags),
|
||||||
|
{
|
||||||
|
"name": "notify",
|
||||||
|
"image": "drillster/drone-email",
|
||||||
|
"settings": {
|
||||||
|
"host": "172.17.0.1",
|
||||||
|
"from": "drone@ci.moegen-wir.net",
|
||||||
|
},
|
||||||
|
"when": {
|
||||||
|
"status": [ "success", "failure" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
||||||
step_for(ctx, "dinglehopper", tags),
|
|
||||||
step_for(ctx, "ocrd_calamari", tags),
|
|
||||||
step_for(ctx, "ocrd_calamari03", tags),
|
|
||||||
step_for(ctx, "ocrd_cis", tags),
|
|
||||||
step_for(ctx, "ocrd_fileformat", tags),
|
|
||||||
step_for(ctx, "ocrd_olena", tags),
|
|
||||||
step_for(ctx, "ocrd_segment", tags),
|
|
||||||
step_for(ctx, "ocrd_tesserocr", tags),
|
|
||||||
step_for(ctx, "sbb_binarization", tags),
|
|
||||||
step_for(ctx, "sbb_textline_detector", tags),
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
def step_for(ctx, sub_image, tags):
|
def step_for(ctx, sub_image, tags):
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue