Skip to content

Commit

Permalink
Code review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Priya Wadhwa <[email protected]>
  • Loading branch information
priyawadhwa committed Jul 25, 2022
1 parent 5953a16 commit 603cc15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ rekorServerImagerefs
rekorCliImagerefs
trillianServerImagerefs
trillianSignerImagerefs
logs
6 changes: 3 additions & 3 deletions tests/rekor-harness.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function build_cli () {
cli_version=$1
current_branch=$(git rev-parse --abbrev-ref HEAD)
git checkout $cli_version
go build -o rekor-cli ./cmd/rekor-cli
make rekor-cli
git checkout $current_branch
}

Expand All @@ -63,8 +63,8 @@ function run_tests () {
go clean -testcache
for test in $HARNESS_TESTS
do
if ! REKORTMPDIR=$REKORTMPDIR go test -run $test -v -tags=e2e ./tests/ > logs ; then
cat logs
if ! REKORTMPDIR=$REKORTMPDIR go test -run $test -v -tags=e2e ./tests/ > $REKORTMPDIR/logs ; then
cat $REKORTMPDIR/logs
docker-compose logs --no-color > /tmp/docker-compose.log
exit 1
fi
Expand Down

0 comments on commit 603cc15

Please sign in to comment.