Update jsonnet
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2022-11-02 15:59:12 +13:00
parent b11417540b
commit 22d502de50

View File

@@ -64,6 +64,17 @@ local gen_pipeline(distro) =
},
};
local gen_pipeline_release() =
{kind: 'pipeline',
type: 'docker',
name: 'Generate release from tag',
steps:
[gen_release()],
when:
{ event: {include: ['tag']},
},
};
local gen_release() =
{kind: 'pipeline',
type: 'docker',
@@ -90,6 +101,7 @@ local gen_release() =
{kind: 'pipeline',
type: 'docker',
name: 'Notify normal',
clone_disable: 'true',
steps: [email_notification()],
when:
{ status: [ 'success', 'failure' ] ,
@@ -99,9 +111,10 @@ local gen_release() =
['Test on %(distro)s' % { distro: distro }
for distro in distros]
},
gen_release(),
gen_pipeline_release(),
{kind: 'pipeline',
type: 'docker',
clone_disable: 'true',
name: 'Notify Tagged release',
steps: [email_notification()],
when: