diff --git a/.gitignore b/.gitignore index 9ed152d..f9b8692 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ bin/run.sh bin/test.sh root/** shibboleth-identity-provider.tar.gz +test.log diff --git a/README.md b/README.md index 8542f76..9b58954 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -# shib-conftree +# shib-idp-conftree + +[![Build Status](https://jenkins.testbed.tier.internet2.edu/buildStatus/icon?job=docker/shib-idp-conftree/master)](https://jenkins.testbed.tier.internet2.edu/job/docker/job/shib-idp-conftree/job/master/) + +## Purpose + +This repository will serve as an interim pipeline for our finished Shibboleth IDP container image process. We may refactor later, but managing the configuration tree inline makes sense right now. diff --git a/tests/download.bats b/tests/download.bats index f434ece..7077da4 100644 --- a/tests/download.bats +++ b/tests/download.bats @@ -3,7 +3,8 @@ load ../common setup() { - bin/download.sh + echo $PWD > test.log + ./bin/download.sh } @test "Downloads a Shibboleth IDP tree" { @@ -12,6 +13,11 @@ setup() { } @test "Prunes Shibboleth IDP binaries" { - run ls root/bin + run find root/bin [ "$status" -eq 1 ] -} \ No newline at end of file +} + +@test "Prunes Shibboleth IDP logs" { + run find root/logs + [ "$status" -eq 1 ] +}