forked from admin/brencher
Compare commits
16
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff150000cd | ||
|
|
7cdd58d359 | ||
|
|
6c7070f163 | ||
|
|
c00ebb7d6d | ||
|
|
8c13360c0c | ||
|
|
0b576ee4b5 | ||
|
|
c38b91d555 | ||
|
|
9e3c05540f | ||
|
|
55fbeb3187 | ||
|
|
7a53fbe499 | ||
|
|
5abfc44e6f | ||
|
|
f0e4bd8ea5 | ||
|
|
2e84fb0ad4 | ||
|
|
b5e8153a00 | ||
|
|
d3991c4331 | ||
|
|
b7ad854a49 |
+1
-1
@@ -48,7 +48,7 @@ class App:
|
||||
"name": r.name,
|
||||
"status": [str(result), stack],
|
||||
"error": True,
|
||||
"is_running": False,
|
||||
"is_running": False,
|
||||
})
|
||||
else:
|
||||
pipeline_state.append({
|
||||
|
||||
@@ -307,7 +307,8 @@ class DockerSwarmDeploy(AbstractStep[str]):
|
||||
swarmEnv = {k: v for k, v in dotenv_values(os.path.join(os.path.dirname(tmp_compose_path), ".env")).items()
|
||||
if v is not None}
|
||||
# merge_dicts(swarmEnv, env)
|
||||
result = subprocess.run(cmd, capture_output=True, text=True, cwd=os.path.dirname(tmp_compose_path), env=swarmEnv)
|
||||
result = subprocess.run(cmd, capture_output=True, text=True, cwd=os.path.dirname(tmp_compose_path))
|
||||
#, env=swarmEnv)
|
||||
os.remove(tmp_compose_path)
|
||||
logger.info(f"docker stack deploy stdout: {result.stdout or '<empty>'}")
|
||||
logger.info(f"docker stack deploy stderr: {result.stderr or '<empty>'}")
|
||||
|
||||
Reference in New Issue
Block a user