Skip to content

Commit

Permalink
Merge pull request #1 from docker/fix-tests
Browse files Browse the repository at this point in the history
Fix tests, add badges, get rolling
  • Loading branch information
Jim Van Fleet committed Jul 27, 2016
2 parents 71426e7 + 686de17 commit 563f536
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ bin/run.sh
bin/test.sh
root/**
shibboleth-identity-provider.tar.gz
test.log
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.
12 changes: 9 additions & 3 deletions tests/download.bats
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
load ../common

setup() {
bin/download.sh
echo $PWD > test.log
./bin/download.sh
}

@test "Downloads a Shibboleth IDP tree" {
Expand All @@ -12,6 +13,11 @@ setup() {
}

@test "Prunes Shibboleth IDP binaries" {
run ls root/bin
run find root/bin
[ "$status" -eq 1 ]
}
}

@test "Prunes Shibboleth IDP logs" {
run find root/logs
[ "$status" -eq 1 ]
}

0 comments on commit 563f536

Please sign in to comment.