Upgrade RTL to v0.15.2

Need to use `npm install --force` due to a dependency issue
This commit is contained in:
Râu Cao 2024-10-16 12:17:38 +02:00
parent da242d4817
commit c64526a944
Signed by: raucao
GPG Key ID: 37036C356E56CC51
2 changed files with 6 additions and 2 deletions

View File

@ -71,7 +71,7 @@ node.default['boltz']['rest_port'] = '9003'
node.default['boltz']['no_macaroons'] = 'false'
node.default['rtl']['repo'] = 'https://github.com/Ride-The-Lightning/RTL.git'
node.default['rtl']['revision'] = 'v0.15.0'
node.default['rtl']['revision'] = 'v0.15.2'
node.default['rtl']['host'] = '10.1.1.163'
node.default['rtl']['port'] = '3000'

View File

@ -57,13 +57,17 @@ git rtl_dir do
group bitcoin_group
repository node['rtl']['repo']
revision node['rtl']['revision']
notifies :run, "execute[npm_install]", :immediately
notifies :restart, "systemd_unit[#{app_name}.service]", :delayed
end
execute "npm install" do
execute "npm_install" do
cwd rtl_dir
environment "HOME" => rtl_dir
user bitcoin_user
# TODO remove --force when upstream dependency issues have been resolved
command "npm install --force"
action :nothing
end
file "#{rtl_dir}/RTL-Config.json" do