Exemplo n.º 1
0
 def test_runner_deploy(self, mock_runner_composer, mock_runner_fabric):
     runner_deploy(self.OPTS, upgrade=False)
     mock_runner_fabric.assert_called_once_with(
         self.OPTS, upgrade=False
     )
     mock_runner_composer.assert_called_once_with(
         self.OPTS, upgrade=False
     )
Exemplo n.º 2
0
def deploy(settings):
    opts = load_config(settings.settings_file)
    runner_deploy(opts, upgrade=settings.upgrade, verbose=settings.verbose)