Skip to content

Commit

Permalink
Add task for list_all_resources.sh
Browse files Browse the repository at this point in the history
Signed-off-by: mehabhalodiya <mehabhalodiya@gmail.com>
  • Loading branch information
mehabhalodiya committed Nov 27, 2024
1 parent 1ca4ba8 commit 6e77a0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions reliability-v2/config/reliability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ reliability:
- func delete_all_projects
- func verify_project_deletion -n 1
- func new_project -n 1
- reliability-v2/tasks/script/list_all_resources.sh -n 10
- <path_to_script>/cronjob.sh -n 10
tasks:
- <path_to_script>/cronjob.sh -c
Expand Down
3 changes: 2 additions & 1 deletion reliability-v2/tasks/Tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from time import sleep
import requests
import sys
import subprocess
from threading import Lock
import asyncio
from tasks.GlobalData import global_data
Expand Down Expand Up @@ -445,4 +446,4 @@ def check_netobserv_pods(self, user):
else:
self.logger.error(f"Pods status fetch error: result {result}, rc - {rc}")

return (result, rc_return)
return (result, rc_return)

0 comments on commit 6e77a0b

Please sign in to comment.