Skip to content
Permalink
Browse files
fix plugin, re-enable test
  • Loading branch information
pcaskey committed Sep 14, 2023
1 parent f84f5ef commit e670609812d330e9fc3e1cff5e3b45581b40da6a
Showing 2 changed files with 7 additions and 13 deletions.
@@ -147,15 +147,10 @@ ADD container_files/tomcat/idp-default.key /opt/certs/
ADD container_files/tomcat/idp-default.crt /opt/certs/

# install needed IdP plugins
#ARG truststore="/opt/shibboleth-idp/credentials/PGP_KEYS"
#ARG plugin_args="--noPrompt --noRebuild --truststore ${truststore}"
#RUN /bin/curl -Lo ${truststore} https://shibboleth.net/downloads/PGP_KEYS && \
# /opt/shibboleth-idp/bin/plugin.sh ${plugin_args} -I net.shibboleth.idp.plugin.nashorn
####remove below and switch to above for non-beta release ######
ARG truststore="/opt/shibboleth-idp/credentials/beta1-keys"
ARG plugin_args="--noPrompt --noRebuild --noCheck --truststore ${truststore}"
RUN /bin/curl -Lo ${truststore} https://shibboleth.net/downloads/prerelease/identity-provider-5.0.0-beta1/beta1-plugin-truststore.gpg && \
/opt/shibboleth-idp/bin/plugin.sh ${plugin_args} -i https://shibboleth.net/downloads/prerelease/identity-provider-5.0.0-beta1/shibboleth-idp-plugin-nashorn-jdk-2.0.0-beta1.tar.gz
ARG truststore="/opt/shibboleth-idp/credentials/PGP_KEYS"
ARG plugin_args="--noPrompt --noRebuild --truststore ${truststore}"
RUN /bin/curl -Lo ${truststore} https://shibboleth.net/downloads/PGP_KEYS && \
/opt/shibboleth-idp/bin/plugin.sh ${plugin_args} -I net.shibboleth.idp.plugin.nashorn

# Copy TIER helper scripts
ADD container_files/idp/rotateSealerKey.sh /opt/shibboleth-idp/bin/rotateSealerKey.sh
@@ -42,10 +42,9 @@ load ../common
./tests/checktomcatver.sh ${maintainer}/${imagename}
}

#commented for 5.0 beta1
#@test "060 The version of the IdP is current" {
# ./tests/checkidpver.sh ${maintainer}/${imagename}
#}
@test "060 The version of the IdP is current" {
./tests/checkidpver.sh ${maintainer}/${imagename}
}

@test "070 There are no known security vulnerabilities" {
./tests/clairscan.sh ${maintainer}/${imagename}:latest

0 comments on commit e670609

Please sign in to comment.