1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-25 05:53:00 +00:00

Run conf-copy before upping instance

This commit is contained in:
Jörn-Michael Miehe 2020-08-18 16:02:45 +02:00
parent 1a98137c71
commit e45d3ae83f

View file

@ -12,6 +12,12 @@ class UpCommand(FlexCommand):
description="Bring up the whole instance, a project or service(s) inside a project"
)
def _run_instance(self, runner, config, args):
if runner.run('conf-copy'):
return super()._run_instance(runner, config, args)
return False
def _run_services(self, runner, config, args, services):
if runner.run('net-up'):
DockerCommand('docker-compose').run(