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;
->start("Running <info>docker-compose up -d</info> in <info>{$this->provider->server_config_path}</info> ...")
->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)
->arg('up')
->arg('-d')
->arg('--build')
->getCommand()
, NULL, 'exit');
->silent(!$this->getProvision()->getOutput()->isVerbose())
->run()
->getExitCode()
;
})
;
// 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