This commit is contained in:
2022-03-15 14:35:29 +13:00
parent d78de8d8c4
commit de6761b03a

View File

@@ -17,6 +17,7 @@ local docker_service() =
local email_notification() =
{
name: 'notify by email',
image: 'drillster/drone-email',
settings:
{ host: 'mail.guise.net.nz',
@@ -71,8 +72,11 @@ local gen_pipeline(distro) =
gen_pipeline('debian10'),
gen_pipeline('debian11'),
{kind: 'pipeline',
name: 'Send notification by email',
steps: [email_notification()],
type: 'docker',
name: 'Notify',
steps: [email_notification()],
when:
{ status: [ 'success', 'failure' ] },
depends_on:
['Test on %(distro)s' % { distro: distro }
for distro in distros]