mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-23 05:59:28 -06:00
Add dry run for eos-ocis
This commit is contained in:
21
.drone.star
21
.drone.star
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user