Skip to content

Commit 7b72ddb

Browse files
committed
e2e: allow-list pod-logs.tar.gz
1 parent 741acdb commit 7b72ddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/e2e.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ on_exit() {
6262
# Cleanup VSPHERE_PASSWORD from temporary artifacts directory.
6363
if [[ "${ORIGINAL_ARTIFACTS}" != "" ]]; then
6464
# Delete non-text files from artifacts directory to not leak files accidentially
65-
find "${ARTIFACTS}" -type f -exec file --mime-type {} \; | grep -v -E -e "text/plain|text/xml|application/json|inode/x-empty" | while IFS= read -r line
65+
find "${ARTIFACTS}" -type f -exec file --mime-type {} \; | grep -v -E -e "text/plain|text/xml|application/json|inode/x-empty" | grep -v 'pod-logs.tar.gz: ' | while IFS= read -r line
6666
do
6767
file="$(echo "${line}" | cut -d ':' -f1)"
6868
mimetype="$(echo "${line}" | cut -d ':' -f2)"

0 commit comments

Comments
 (0)