datreeio / action-datree

Github action that runs the Datree CLI
MIT License
24 stars 15 forks source link

Action stuck running for over 6 hours, while CLI completes on same directory checkout in 17 seconds #6

Closed HariSekhon closed 2 years ago

HariSekhon commented 2 years ago

This action is failing to complete, it's been running for over 6 hours on a directory with 230 k8s yaml files, whereas the local datree CLI completes in the same git checkout directory in 17 seconds:

Compare:

https://github.com/HariSekhon/Kubernetes-configs/runs/6410373187?check_suite_focus=true

with local run in the same head checkout:

$ time datree test *.y*ml
...
...
...
(Summary)

- Passing YAML validation: 211/230

- Passing Kubernetes (1.19.0) schema validation: 128/230

- Passing policy check: 106/230

+-----------------------------------+-----------------------+
| Enabled rules in policy “Default” | 20                    |
| Configs tested against policy     | 144                   |
| Total rules evaluated             | 2560                  |
| Total rules skipped               | 0                     |
| Total rules failed                | 55                    |
| Total rules passed                | 2505                  |
| See all rules in policy           | https://hub.datree.io |
+-----------------------------------+-----------------------+

real    0m17.154s
user    0m4.342s
sys     0m0.666s
hadar-co commented 2 years ago

@HariSekhon can you please try to run this again now that the image contains the updated cli?

HariSekhon commented 2 years ago

It progresses now, thanks.