Skip to content

Commit 15624c8

Browse files
committed
Adapt for bash
1 parent c27bc3d commit 15624c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ kubectl cluster-info
2626

2727
PRE_LOAD_IMAGES=()
2828
PRE_LOAD_IMAGES+=($(grep -e image: test-in-k8s.yaml | cut -d ':' -f 2- | xargs))
29-
PRE_LOAD_IMAGES+=($(grep -h -e "^\s*image: .*$" src/test/resources/**/*.groovy | sed -e "s/^[[:space:]]*image: //" | sort | uniq | grep -v "windows" | grep -v "nonexistent" | grep -v "invalid" | xargs))
29+
PRE_LOAD_IMAGES+=($(grep -h --include="*.groovy" -e "^\s*image: .*$" -R src/test/resources | sed -e "s/^[[:space:]]*image: //" | sort | uniq | grep -v "windows" | grep -v "nonexistent" | grep -v "invalid" | xargs))
3030
for image in "${PRE_LOAD_IMAGES[@]}"
3131
do
3232
docker pull $image

0 commit comments

Comments
 (0)