jjb: Add lttng-modules stable-2.13 jobs
[lttng-ci.git] / scripts / lttng-www / deploy.sh
index a9cd98ae90befb5182899aa281913c993a031248..59a6ad45caa7981eb8fc76a99d9802c40e549b33 100755 (executable)
@@ -19,7 +19,7 @@
 set -exu
 
 # Add ssh key for deployment
-echo "StrictHostKeyChecking no" >> ~/.ssh/config
+cp "$HOST_PUBLIC_KEYS" ~/.ssh/known_hosts
 cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa
 
 # lttng-www dependencies
@@ -27,14 +27,16 @@ cp "$KEY_FILE_VARIABLE" ~/.ssh/id_rsa
 # Nodejs
 # Using Debian, as root
 curl -fsSL https://deb.nodesource.com/setup_15.x | bash -
-apt-get install -y nodejs 
+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.025667 seconds and 4 git commands to generate.