mirror of https://github.com/milvus-io/milvus.git
parent
df6e0b7a2c
commit
7e9ed91304
|
@ -88,7 +88,8 @@ fi
|
|||
# Try to found logs file from mount disk /volume1/ci-logs
|
||||
# log_files=$(find ${LOG_DIR} -type f -name "*${RELEASE_NAME}*" )
|
||||
log_files=$(ls ${LOG_DIR} | grep ${RELEASE_NAME} || echo nonexistment)
|
||||
if [ "${log_files}"="nonexistment" ]; then
|
||||
|
||||
if [ "${log_files}" == "nonexistment" ]; then
|
||||
echo "No log files find"
|
||||
else
|
||||
for log_file in ${log_files}
|
||||
|
@ -102,11 +103,11 @@ fi
|
|||
|
||||
# remain_log_files=$(find ${LOG_DIR} -type f -name "*${RELEASE_NAME}*")
|
||||
|
||||
ls ${LOG_DIR} | grep ${RELEASE_NAME}
|
||||
# ls ${LOG_DIR} | grep ${RELEASE_NAME}
|
||||
|
||||
remain_log_files=$(ls ${LOG_DIR} | grep ${RELEASE_NAME} || echo nonexistment)
|
||||
|
||||
if [ "${remain_log_files}"="nonexistment" ]; then
|
||||
if [ "${remain_log_files}" == "nonexistment" ]; then
|
||||
echo "No remain log files"
|
||||
else
|
||||
echo "Still have log files & Remove again"
|
||||
|
|
Loading…
Reference in New Issue