lttng-www: use bootstrap.sh instead of the ubuntu variant
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 27 May 2021 17:07:45 +0000 (13:07 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Thu, 27 May 2021 17:07:45 +0000 (13:07 -0400)
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 <jonathan.rajotte-julien@efficios.com>
scripts/lttng-www/deploy.sh

index 9224b4ee121e9ac8b70c41b51ee6dc74105c7782..59a6ad45caa7981eb8fc76a99d9802c40e549b33 100755 (executable)
@@ -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
This page took 0.026127 seconds and 4 git commands to generate.