Skip to content

Commit

Permalink
fix plugin, re-enable test
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Sep 14, 2023
1 parent 4d9cdc7 commit 8d9322f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
13 changes: 4 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,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
Expand Down
6 changes: 3 additions & 3 deletions tests/main.bats
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ load ../common
./tests/checktomcatver.sh ${imagename}_${tag}
}

#@test "060 The version of the IdP is current" {
# ./tests/checkidpver.sh ${imagename}_${tag}
#}
@test "060 The version of the IdP is current" {
./tests/checkidpver.sh ${imagename}_${tag}
}

@test "070 The IdP successfully completed a full-cycle test with an SP" {
./tests/fulltest.sh
Expand Down

0 comments on commit 8d9322f

Please sign in to comment.