Skip to content

Commit

Permalink
fix output dir
Browse files Browse the repository at this point in the history
Signed-off-by: bvolovat <[email protected]>
  • Loading branch information
bvolovat committed Feb 18, 2025
1 parent 6955dc7 commit 1b78b45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion threshold_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def run(self) -> None:
logger.info(f"Using output directory: {output_dir}")

checker = ThresholdChecker(
output_dir="output",
output_dir=output_dir,
memory_threshold=350, # 500 MiB
cpu_threshold=0.1, # 0.5 cores
duration_threshold=10 # 30 seconds
Expand Down
5 changes: 5 additions & 0 deletions collect-metrics-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ data:
echo "Cloning performance repository for scripts..."
git clone "https://${DECODED_TOKEN}@github.com/armosec/perfornamce.git" /workspace
cd /workspace
# Add these debug lines
echo "Listing files in workspace directory:"
ls -la /workspace/
echo "Current working directory: $(pwd)"
echo "Cloning Logs repository (shallow clone)..."
git clone --depth 1 "https://${DECODED_TOKEN}@github.com/armosec/Logs.git" /workspace/Logs
Expand Down

0 comments on commit 1b78b45

Please sign in to comment.