Skip to content

Commit

Permalink
temporally allow log grepping
Browse files Browse the repository at this point in the history
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
  • Loading branch information
ktock committed Jun 1, 2024
1 parent e838ecd commit bce34f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/cri-containerd/test-legacy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ fi
# Dump all names of images used in the test
docker exec -i "${TEST_NODE_ID}" journalctl -xu containerd > "${LOG_TMP}"
cat "${LOG_TMP}" | grep PullImage | sed -E 's/.*PullImage \\"([^\\]*)\\".*/\1/g' > "${LIST_TMP}"
cat "${LOG_TMP}" | grep SandboxImage | sed -E 's/.*SandboxImage:([^ ]*).*/\1/g' >> "${LIST_TMP}" || true
echo ${PAUSE_IMAGE_NAME} >> "${LIST_TMP}"
cat "${LIST_TMP}" | sort | uniq > "${IMAGE_LIST}"

Expand Down

0 comments on commit bce34f2

Please sign in to comment.