We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27bc3d commit 15624c8Copy full SHA for 15624c8
kind.sh
@@ -26,7 +26,7 @@ kubectl cluster-info
26
27
PRE_LOAD_IMAGES=()
28
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))
+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))
30
for image in "${PRE_LOAD_IMAGES[@]}"
31
do
32
docker pull $image
0 commit comments