You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by dg...@apache.org on 2023/01/15 21:48:33 UTC

[openwhisk-website] branch debug-jenkins updated: update to a modern version of Ruby/Jekyll

This is an automated email from the ASF dual-hosted git repository.

dgrove pushed a commit to branch debug-jenkins
in repository https://gitbox.apache.org/repos/asf/openwhisk-website.git


The following commit(s) were added to refs/heads/debug-jenkins by this push:
     new 71ed941  update to a modern version of Ruby/Jekyll
71ed941 is described below

commit 71ed941a3d87a490b7dc1a1d64f7f2965f48e313
Author: David Grove <gr...@us.ibm.com>
AuthorDate: Sun Jan 15 16:48:04 2023 -0500

    update to a modern version of Ruby/Jekyll
---
 .ruby-version                      | 2 +-
 Gemfile                            | 9 ++-------
 tools/jenkins/website_build.groovy | 7 +------
 3 files changed, 4 insertions(+), 14 deletions(-)

diff --git a/.ruby-version b/.ruby-version
index 37c2961..ff365e0 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
-2.7.2
+3.1.3
diff --git a/Gemfile b/Gemfile
index 8de00bc..8efdfe8 100644
--- a/Gemfile
+++ b/Gemfile
@@ -9,14 +9,9 @@ ruby RUBY_VERSION
 #
 # This will help ensure the proper Jekyll version is running.
 # Happy Jekylling!
-gem 'jekyll', '3.3.0'
+gem 'jekyll'
 
-# This is the default theme for new Jekyll sites. You may change this to anything you like.
-# gem 'minima', '~> 2.0'
-
-# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
-# uncomment the line below. To upgrade, run `bundle update github-pages`.
-# gem "github-pages", '104', group: :jekyll_plugins
+gem "webrick", "~> 1.7"
 
 # If you have any plugins, put them here!
 group :jekyll_plugins do
diff --git a/tools/jenkins/website_build.groovy b/tools/jenkins/website_build.groovy
index b551e49..36bdcef 100644
--- a/tools/jenkins/website_build.groovy
+++ b/tools/jenkins/website_build.groovy
@@ -13,12 +13,7 @@ node("git-websites") {
     export RBENV_ROOT=${WORKSPACE}/shared/.rbenv
     git clone https://github.com/rbenv/rbenv.git ${RBENV_ROOT}
     export PATH=${RBENV_ROOT}/shims:$PATH
-    curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash    
-    exit 1
-
-
-
-
+    curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash exit 1
     which ruby
     ruby -v 
     mkdir -p ${GEM_HOME}/gems