From cb6f2573d03df7acddf8cc17121407f535ad5606 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Thu, 19 Dec 2024 15:26:30 +0000 Subject: [PATCH] Konflux: fix cockpit workaround Limit the cockpit workaround to only delete the `cockpit` directory at the root of the project. Otherwise this command would delete some of the mocks that we need to compile the project. --- ci.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci.sh b/ci.sh index cbc7cff2..b2f019a5 100644 --- a/ci.sh +++ b/ci.sh @@ -2,8 +2,8 @@ # Workaround needed for Konflux pipeline to pass -find -name "cockpit" -type d -find -name "cockpit" -type d | xargs rm -rf - +find -name "cockpit" -type d -maxdepth 1 +find -name "cockpit" -type d -maxdepth 1 | xargs rm -rf - setNpmOrYarn install