Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

include sqlite in deployer ci

Change-Id: I47d565295b348a7884dd7dd32fe37c6d70639094
  • Loading branch information...
commit d7ab1eb569ceb70c7916925d70b041a0e3d8cdf0 1 parent a6e7ec0
@pmenglund pmenglund authored
View
5 src/jenkins_jobs/BOSH_Deployer_Functional_Tests/config.xml.erb
@@ -66,6 +66,7 @@
<command>export PATH=$VCAP_RUBY19/bin:$PATH
GIT_REALPATH=`readlink -nf /var/vcap/packages/git`
+SQLITE_REALPATH=`readlink -nf $VCAP_SQLITE`
VCAP_RUBY19_REALPATH=`readlink -nf $VCAP_RUBY19`
DEPLOYER=$PWD/deployer
RAKE_SUPPORT_DIR=$PWD/rake
@@ -78,13 +79,15 @@ cat &lt;&lt;-EOT &gt; $TEST_RUNNER
set -o errexit
set -o nounset
export PATH=$VCAP_RUBY19_REALPATH/bin:$GIT_REALPATH/bin:$PATH
+export LIBRARY_PATH=$SQLITE_REALPATH/lib:$LIBRARY_PATH
+export C_INCLUDE_PATH=$SQLITE_REALPATH/include:$C_INCLUDE_PATH
cd /tmp/deployer
bundle install --local --path vendor/bundle --without development production
cd spec
bundle exec rake spec:functional:ci
EOT
-HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH`
+HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH $SQLITE_REALPATH`
$WARDEN_REPL -c &quot;
copy $HANDLE in $RAKE_SUPPORT_DIR /tmp
copy $HANDLE in $DEPLOYER /tmp
View
7 src/jenkins_jobs/BOSH_Deployer_Unit_Tests/config.xml.erb
@@ -66,6 +66,7 @@
<command>export PATH=$VCAP_RUBY19/bin:$PATH
GIT_REALPATH=`readlink -nf /var/vcap/packages/git`
+SQLITE_REALPATH=`readlink -nf $VCAP_SQLITE`
VCAP_RUBY19_REALPATH=`readlink -nf $VCAP_RUBY19`
DEPLOYER=$PWD/deployer
RAKE_SUPPORT_DIR=$PWD/rake
@@ -78,13 +79,15 @@ cat &lt;&lt;-EOT &gt; $TEST_RUNNER
set -o errexit
set -o nounset
export PATH=$VCAP_RUBY19_REALPATH/bin:$GIT_REALPATH/bin:$PATH
+export LIBRARY_PATH=$SQLITE_REALPATH/lib:$LIBRARY_PATH
+export C_INCLUDE_PATH=$SQLITE_REALPATH/include:$C_INCLUDE_PATH
cd /tmp/deployer
bundle install --local --path vendor/bundle --without development production
cd spec
bundle exec rake spec:unit:ci
EOT
-HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH`
+HANDLE=`$CREATE_CONTAINER $VCAP_RUBY19_REALPATH $GIT_REALPATH $SQLITE_REALPATH`
$WARDEN_REPL -c &quot;
copy $HANDLE in $RAKE_SUPPORT_DIR /tmp
copy $HANDLE in $DEPLOYER /tmp
@@ -127,4 +130,4 @@ rm -f $TEST_RUNNER
</hudson.plugins.rubyMetrics.rcov.RcovPublisher>
</publishers>
<buildWrappers/>
-</project>
+</project>
Please sign in to comment.
Something went wrong with that request. Please try again.