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
16
.drone.star
16
.drone.star
|
@ -9,7 +9,8 @@ def main(ctx):
|
|||
else:
|
||||
return
|
||||
|
||||
return {
|
||||
return [
|
||||
{
|
||||
"kind": "pipeline",
|
||||
"name": name,
|
||||
"steps": [
|
||||
|
@ -36,8 +37,21 @@ def main(ctx):
|
|||
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" ]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
def step_for(ctx, sub_image, tags):
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue