mirror of
https://gitlab.sectorq.eu/jaydee/portainer.git
synced 2026-05-04 15:39:50 +02:00
build-all
This commit is contained in:
@@ -405,6 +405,8 @@ if __name__ == "__main__":
|
||||
("update_service","update_service"),
|
||||
("update_containers","update_containers"),
|
||||
("list_stacks","list_stacks"),
|
||||
("list_all_stacks", "list_all_stacks"),
|
||||
("delete_ophaned_stacks", "delete_ophaned_stacks"),
|
||||
("update_stack","update_stack"),
|
||||
("secrets","secrets"),
|
||||
("print_all_data","print_all_data"),
|
||||
@@ -591,6 +593,21 @@ if __name__ == "__main__":
|
||||
# print(json.dumps(por.all_data, indent=2))
|
||||
sys.exit()
|
||||
|
||||
if args.action == "list_all_stacks":
|
||||
por.get_stacks_failed()
|
||||
if args.launcher:
|
||||
input("Press ENTER to continue...")
|
||||
# print(json.dumps(por.all_data, indent=2))
|
||||
sys.exit()
|
||||
|
||||
if args.action == "delete_ophaned_stacks":
|
||||
por.delete_failed_stack()
|
||||
if args.launcher:
|
||||
input("Press ENTER to continue...")
|
||||
# print(json.dumps(por.all_data, indent=2))
|
||||
sys.exit()
|
||||
|
||||
|
||||
if args.action == "list_containers":
|
||||
print("Getting containers")
|
||||
args = prompt_missing_args(
|
||||
|
||||
Reference in New Issue
Block a user