Add dry run for eos-ocis

This commit is contained in:
Michael Barz
2020-10-14 10:09:34 +02:00
parent ede9bb47b6
commit b349997727

View File

@@ -117,7 +117,7 @@ def main(ctx):
updateDeployment(ctx)
]
if '[docs-only]' in ctx.build.title:
if '[docs-only]' in (ctx.build.title + ctx.build.message):
pipelines = docs(ctx)
pipelines['depends_on'] = []
else:
@@ -700,6 +700,25 @@ def docker(ctx, arch):
},
},
},
{
'name': 'dryrun-eos-docker',
'image': 'plugins/docker:18.09',
'pull': 'always',
'settings': {
'dry_run': True,
'context': 'ocis/docker/eos-ocis',
'tags': 'linux-%s' % (arch),
'dockerfile': 'ocis/docker/eos-ocis/Dockerfile',
'repo': 'owncloud/eos-ocis',
},
'when': {
'ref': {
'include': [
'refs/pull/**',
],
},
},
},
{
'name': 'docker',
'image': 'plugins/docker:18.09',