Commit a356493d authored by Jon Pugh's avatar Jon Pugh

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

This reverts commit 80e5aa40.
parent 6fb496f5
...@@ -197,13 +197,15 @@ YML; ...@@ -197,13 +197,15 @@ YML;
->start("Running <info>docker-compose up -d</info> in <info>{$this->provider->server_config_path}</info> ...") ->start("Running <info>docker-compose up -d</info> in <info>{$this->provider->server_config_path}</info> ...")
->execute(function() { ->execute(function() {
return $this->provider->shell_exec(Provision::getProvision()->getTasks()->taskExec('docker-compose') return Provision::getProvision()->getTasks()->taskExec('docker-compose')
->dir($this->provider->server_config_path) ->dir($this->provider->server_config_path)
->arg('up') ->arg('up')
->arg('-d') ->arg('-d')
->arg('--build') ->arg('--build')
->getCommand() ->silent(!$this->getProvision()->getOutput()->isVerbose())
, NULL, 'exit'); ->run()
->getExitCode()
;
}) })
; ;
// Run docker-compose up -d --build // 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