mirror of
https://github.com/yavook/kiwi-scp.git
synced 2024-12-24 18:22:59 +00:00
Run conf-copy before upping instance
This commit is contained in:
parent
1a98137c71
commit
e45d3ae83f
1 changed files with 6 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue