From 75816d8726ce652228664e72f00d9e53d4fcb721 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Thu, 27 May 2021 13:07:45 -0400 Subject: [PATCH] lttng-www: use bootstrap.sh instead of the ubuntu variant The distributed jekyll version of ubuntu 18.04 is lower than the lttng-www dependancy of jekyll v4. Instead use the boostrap.sh script that essentially install jekyll via `gem install`. Signed-off-by: Jonathan Rajotte --- scripts/lttng-www/deploy.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/lttng-www/deploy.sh b/scripts/lttng-www/deploy.sh index 9224b4e..59a6ad4 100755 --- a/scripts/lttng-www/deploy.sh +++ b/scripts/lttng-www/deploy.sh @@ -29,12 +29,14 @@ cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa curl -fsSL https://deb.nodesource.com/setup_15.x | bash - apt-get install -y nodejs -apt-get install -y ruby asciidoc xmlto +apt-get install -y ruby-dev asciidoc xmlto python3 python3-pip npm install -g grunt-cli npm install -g sass -./bootstrap-ubuntu.sh +export PATH="/root/.gem/ruby/2.5.0/bin:$PATH" + +./bootstrap.sh grunt build:prod grunt deploy:prod -- 2.34.1