mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-01-29 04:49:44 +01:00
build
This commit is contained in:
@@ -514,7 +514,7 @@ class PortainerApi:
|
|||||||
values=stacks_tuples
|
values=stacks_tuples
|
||||||
).run()
|
).run()
|
||||||
stcs = []
|
stcs = []
|
||||||
input(stack_ids)
|
#input(stack_ids)
|
||||||
|
|
||||||
if args.stack == "all":
|
if args.stack == "all":
|
||||||
for s in stack_dict:
|
for s in stack_dict:
|
||||||
@@ -528,7 +528,7 @@ class PortainerApi:
|
|||||||
with ThreadPoolExecutor(max_workers=10) as exe:
|
with ThreadPoolExecutor(max_workers=10) as exe:
|
||||||
list(exe.map(update, stcs))
|
list(exe.map(update, stcs))
|
||||||
|
|
||||||
input('UPDATED')
|
#input('UPDATED')
|
||||||
if not args.autostart:
|
if not args.autostart:
|
||||||
time.sleep(120)
|
time.sleep(120)
|
||||||
cont = []
|
cont = []
|
||||||
@@ -1030,6 +1030,7 @@ class PortainerApi:
|
|||||||
print(err)
|
print(err)
|
||||||
else:
|
else:
|
||||||
print(ok)
|
print(ok)
|
||||||
|
self.gotify_message(f"Service update process finished")
|
||||||
print("\033[?25h", end="")
|
print("\033[?25h", end="")
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user