You've already forked ansible-role-common
..
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user