From 07723cdd4a47b39c96f8331e2f731cc6fc9eb307 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Wed, 26 Apr 2017 11:23:00 -0400 Subject: [PATCH] Remove old tapestry test file, it has been moved to the Tapestry repository. No issue # --- jenkins/run-tapestry-tests.sh | 58 ----------------------------------- 1 file changed, 58 deletions(-) delete mode 100755 jenkins/run-tapestry-tests.sh diff --git a/jenkins/run-tapestry-tests.sh b/jenkins/run-tapestry-tests.sh deleted file mode 100755 index c68e983..0000000 --- a/jenkins/run-tapestry-tests.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash - -# Copyright (C) The Arvados Authors. All rights reserved. -# -# SPDX-License-Identifier: AGPL-3.0 - -EXITCODE=0 - -COLUMNS=80 - -title () { - printf "\n%*s\n\n" $(((${#title}+$COLUMNS)/2)) "********** $1 **********" -} - -source /etc/profile.d/rvm.sh - -# This shouldn't really be necessary... but the jenkins/rvm integration seems a -# bit wonky occasionally. -rvm use ree - -echo $WORKSPACE - -# Tapestry -title "Starting tapestry tests" -cd "$WORKSPACE" - -# There are a few submodules -git submodule init && git submodule update - -# Use sqlite for testing -sed -i'' -e "s:mysql:sqlite3:" Gemfile - -# Tapestry is not set up yet to use --deployment -#bundle install --deployment -bundle install - -rm -f config/database.yml -rm -f config/environments/test.rb -cp $HOME/tapestry/test.rb config/environments/ -cp $HOME/tapestry/database.yml config/ - -export RAILS_ENV=test - -bundle exec rake db:drop -bundle exec rake db:create -bundle exec rake db:setup -bundle exec rake test - -ECODE=$? - -if [[ "$ECODE" != "0" ]]; then - title "!!!!!! TAPESTRY TESTS FAILED !!!!!!" - EXITCODE=$(($EXITCODE + $ECODE)) -fi - -title "Tapestry tests complete" - -exit $EXITCODE -- 2.30.2