Skip to content

Commit

Permalink
add grep back
Browse files Browse the repository at this point in the history
  • Loading branch information
maanug-nv committed May 10, 2023
1 parent f7019e3 commit d65865f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ cleanup.selene:
- set -x
- EC() { echo -e '\e[1;33m'code $?'\e[m\n'; }
- trap EC ERR
- NUM_CLEANUP=$(find ${SELENE_ADLR_CI_PATH} -type d -ctime +20)
- NUM_CLEANUP=$(find ${SELENE_ADLR_CI_PATH} -type d -ctime +20 | grep -v data)
# - NUM_CLEANUP=$(find ${SELENE_ADLR_CI_PATH} -type d -ctime +20 | grep -v data | wc -l)
#- find ${SELENE_ADLR_CI_PATH}/* -type d -ctime +20 | grep -v data | xargs rm -rf
- echo "Finished cleaning $NUM_CLEANUP directories older than 20 days everything in Selene"
Expand Down

0 comments on commit d65865f

Please sign in to comment.