Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
midPoint_container/demo/shibboleth/test.sh
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
executable file
33 lines (26 sloc)
721 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
trap 'exitcode=$? ; error "Exiting $0 because of an error ($exitcode) occurred" ; exit $exitcode' ERR | |
cd "$(dirname "$0")" | |
. ../../test/common.sh | |
heading "Cleaning up containers and volumes if they exist" | |
docker-compose down -v || true | |
ok "Done" | |
echo | |
heading "Composing and starting Shibboleth..." | |
docker-compose up --build -d | |
ok "OK" | |
echo | |
# TODO wait for Shib to start | |
heading "Composing and starting midPoint..." | |
pushd ../../midpoint | |
MPDIR=`pwd` | |
docker-compose down -v || true | |
env AUTHENTICATION=shibboleth docker-compose up --build -d | |
popd | |
$MPDIR/test/t010-wait-for-start.sh | |
ok "OK" | |
echo | |
heading "Test 100: Checking health via HTTP..." | |
$MPDIR/test/t100-check-health.sh | |
ok "Health check passed" | |
echo |