THIS IS ONLY A TEST INSTANCE. DON'T DO IMPORTANT WORK HERE!

Commit 52731656 authored by nickboldt's avatar nickboldt
Browse files

fix defaults.go.update.sh - wrong file to cat



Change-Id: I4e2b17ca62c2d6ef38eb4caddc86317472389e0f
Signed-off-by: default avatarnickboldt <nboldt@redhat.com>
parent d7ead56f
......@@ -11,7 +11,7 @@ if [[ ! -f ${defaultsFile} ]]; then
fi
excludes="eclipse/che-keycloak|centos/postgresql-96-centos7"
for d in $(cat /tmp/defaults.go | egrep "Keycloak|Postgres|Pvc" | egrep Image | egrep -v "func|return|Old|ToDetect|$excludes" | sed -e "s#.\+= \"\(.\+\)\"#\1#"); do
for d in $(cat ${defaultsFile} | egrep "Keycloak|Postgres|Pvc" | egrep Image | egrep -v "func|return|Old|ToDetect|$excludes" | sed -e "s#.\+= \"\(.\+\)\"#\1#"); do
echo "- ${d}"
echo -n "+ ${d%:*}:";
e=$(skopeo inspect docker://${d%:*} | yq .RepoTags | egrep -v "\[|\]|latest" | tr -d ",\" " | sort -V | tail -1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment