Commit 80e5aa40 authored by Jon Pugh's avatar Jon Pugh

Replacing Robo taskExec() for docker-compose up with a ServerContext::shell_exec().

parent a975d571
......@@ -197,15 +197,13 @@ YML;
->start("Running <info>docker-compose up -d</info> in <info>{$this->provider->server_config_path}</info> ...")
->execute(function() {
return Provision::getProvision()->getTasks()->taskExec('docker-compose')
return $this->provider->shell_exec(Provision::getProvision()->getTasks()->taskExec('docker-compose')
->dir($this->provider->server_config_path)
->arg('up')
->arg('-d')
->arg('--build')
->silent(!$this->getProvision()->getOutput()->isVerbose())
->run()
->getExitCode()
;
->getCommand()
, NULL, 'exit');
})
;
// Run docker-compose up -d --build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment