ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johndam...@apache.org
Subject incubator-ariatosca-website git commit: Updating build script for ASF Jenkins.
Date Thu, 22 Jun 2017 14:29:32 GMT
Repository: incubator-ariatosca-website
Updated Branches:
  refs/heads/master 49b992f59 -> 4a2008015


Updating build script for ASF Jenkins.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/commit/4a200801
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/tree/4a200801
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/diff/4a200801

Branch: refs/heads/master
Commit: 4a2008015dc1c2880fb6a80495b0b6e67e0bf28a
Parents: 49b992f
Author: John Ament <johndament@apache.org>
Authored: Thu Jun 22 10:29:05 2017 -0400
Committer: John Ament <johndament@apache.org>
Committed: Thu Jun 22 10:29:05 2017 -0400

----------------------------------------------------------------------
 build_site.sh | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca-website/blob/4a200801/build_site.sh
----------------------------------------------------------------------
diff --git a/build_site.sh b/build_site.sh
index 121e1aa..95c8ea6 100755
--- a/build_site.sh
+++ b/build_site.sh
@@ -1,9 +1,15 @@
 #!/bin/bash
-
 WORKDIR=/tmp/incubator-ariatosca-site
 rm -rf $WORKDIR
 mkdir -p $WORKDIR
-gem install bundler
+export RUBY_PATH=~/shared/.rvm
+export GEM_HOME=${RUBY_PATH}/gems
+curl -sSL https://get.rvm.io | bash -s -- --path ${RUBY_PATH}
+mkdir -p ${GEM_HOME}/gems
+gem install  --install-dir ${GEM_HOME} bundler
+export PATH=${GEM_HOME}/bin:$PATH
+bundle install --path ${GEM_HOME}
+bundle
 bundle exec jekyll build --destination $WORKDIR $WORKDIR
 git checkout asf-site
 git clean -f -d


Mime
View raw message