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.
This commit is contained in:
Gianluca Zuccarelli 2024-12-19 15:26:30 +00:00 committed by Lucas Garfield
parent c0ccec545a
commit cb6f2573d0

4
ci.sh
View file

@ -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