Skip to content
Permalink
f5d5e63c8f
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 39 lines (31 sloc) 977 Bytes
#!/usr/bin/env bats
load ../common
@test "010 Image is present" {
docker image inspect tier/midpoint:$tag
}
@test "020 Check basic components" {
docker run -i $maintainer/$imagename:$tag \
find \
/usr/local/bin/startup.sh \
/opt/midpoint/var/ \
/etc/shibboleth/ \
/etc/httpd/
}
@test "100 Cleanup before further tests - demo/simple" {
docker ps -a
cd demo/simple ; docker-compose down -v ; true
}
@test "110 Cleanup before further tests - demo/shibboleth" {
docker ps -a
cd demo/shibboleth ; docker-compose down -v ; true
}
@test "120 Cleanup before further tests - demo/postgresql" {
docker ps -a
cd demo/postgresql ; docker-compose down -v ; true
}
@test "130 Cleanup before further tests - demo/grouper" {
docker ps -a
cd demo/grouper ; docker-compose down -v ; true
}
# not much more to check here, as we cannot start midpoint container without having a repository
# so continuing with tests in demo/plain directory