Permalink
Browse files
Do a minor cleanup
1. demo/plain -> demo/simple 2. updated README.MD
- Loading branch information
Showing
with
38 additions
and 6 deletions.
- +1 −0 Jenkinsfile
- +7 −3 README.md
- +30 −0 build.sh
- +0 −3 cleanup.sh
- 0 demo/{plain → simple}/.env
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/application/database_password.txt
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/application/keystore_password.txt
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/httpd/host-cert.pem
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/httpd/host-key.pem
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/shibboleth/idp-metadata.xml
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/shibboleth/shibboleth2.xml
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/shibboleth/sp-cert.pem
- 0 demo/{plain → simple}/configs-and-secrets/midpoint/shibboleth/sp-key.pem
- 0 demo/{plain → simple}/docker-compose.yml
- 0 test.sh → midpoint-obsolete/test-root.sh
- 0 { → midpoint-obsolete}/test/common.sh
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
function normalize_path() | ||
{ | ||
# Remove all /./ sequences. | ||
local path=${1//\/.\//\/} | ||
|
||
# Remove dir/.. sequences. | ||
while [[ $path =~ ([^/][^/]*/\.\./) ]] | ||
do | ||
path=${path/${BASH_REMATCH[0]}/} | ||
done | ||
echo $path | ||
} | ||
|
||
cd "$(dirname "$0")" | ||
./download-midpoint | ||
docker build --tag tier/midpoint:latest midpoint-server | ||
echo "---------------------------------------------------------------------------------------" | ||
echo "The midPoint containers were successfully built. To start them, execute the following:" | ||
echo "" | ||
echo "(for simple demo)" | ||
echo "" | ||
echo "$ cd" $(normalize_path `pwd`/../demo/simple) | ||
echo "$ docker-compose up --build" | ||
echo "" | ||
echo "(for complex demo)" | ||
echo "" | ||
echo "$ cd" $(normalize_path `pwd`/../demo/complex) | ||
echo "$ docker-compose up --build" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.