Skip to content

log4j, tomcat, java updates #99

merged 4 commits into from Dec 10, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Prev Previous commit
Next Next commit
more tweaks to idp ver test
pcaskey committed Dec 10, 2021
commit 135614e9d1917d6ba4fcce2c7210b4e59baeac69
10 changes: 7 additions & 3 deletions tests/checkidpver.sh
@@ -23,8 +23,8 @@ if [ $? == '0' ]; then
if [ $? -ne '0' ]; then
docker run -d $1 &>/dev/null
launchflag="yes"
echo 'launching container (will take about a minute)...'
sleep 80
echo 'launching container (will take about 2 minutes)...'
sleep 120
fi

#get container ID
@@ -34,6 +34,8 @@ if [ $? == '0' ]; then
echo "Specified container does not appear to be running... Terminating."
echo ""
exit 1
else
echo "Container is running at id: $contid"
fi

#get version from running status page inside container
@@ -47,10 +49,12 @@ if [ -z "$(echo $shibver | xargs)" ]; then
echo "Unable to determine version from a running instance... Terminating."
echo ""
exit 1
else
echo "Running shibb version is: $shibver"
fi

#check if that version is available in the 'latest' download area (return is 0 if current, non-zero if not current)
wget -q --spider https://shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-${shibver}.tar.gz
wget --spider https://shibboleth.net/downloads/identity-provider/latest/shibboleth-identity-provider-${shibver}.tar.gz

if [ $? == '0' ]; then
echo "Running IdP version (${shibver}) is current!"