Compare commits

...

3 commits

Author SHA1 Message Date
bom
671a3b8cbb bump version to: 4.11.7-dev 2024-02-24 12:07:53 +01:00
bom
011fc848af release: 4.11.6 2024-02-24 12:07:53 +01:00
bom
c5af5c9198 Raise error if process fails in execute_live 2024-02-24 12:07:31 +01:00
8 changed files with 10 additions and 8 deletions

View file

@ -33,7 +33,7 @@ default_task = "dev"
name = "ddadevops"
MODULE = "not-used"
PROJECT_ROOT_PATH = "."
version = "4.11.6-dev"
version = "4.11.7-dev"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "clj-cljs"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init
def initialize(project):

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "clj"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init
def initialize(project):

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "ddadevops"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "dind"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "kotlin"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init

View file

@ -6,7 +6,7 @@ from ddadevops import *
name = "ddadevops"
MODULE = "python"
PROJECT_ROOT_PATH = "../.."
version = "4.11.6-dev"
version = "4.11.7-dev"
@init

View file

@ -122,9 +122,11 @@ class ExecutionApi:
print(command)
else:
process = Popen(command, shell=shell)
outs, _ = process.communicate()
outs, errs = process.communicate()
while outs is not None:
stdout.buffer.write(outs)
if errs is not None:
raise RuntimeError(f"Execute live '{command}' failed with code {process.returncode}\n{errs}")
class EnvironmentApi: