Upgrade RTL to v0.15.2
Need to use `npm install --force` due to a dependency issue
This commit is contained in:
parent
da242d4817
commit
c64526a944
@ -71,7 +71,7 @@ node.default['boltz']['rest_port'] = '9003'
|
|||||||
node.default['boltz']['no_macaroons'] = 'false'
|
node.default['boltz']['no_macaroons'] = 'false'
|
||||||
|
|
||||||
node.default['rtl']['repo'] = 'https://github.com/Ride-The-Lightning/RTL.git'
|
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']['host'] = '10.1.1.163'
|
||||||
node.default['rtl']['port'] = '3000'
|
node.default['rtl']['port'] = '3000'
|
||||||
|
|
||||||
|
@ -57,13 +57,17 @@ git rtl_dir do
|
|||||||
group bitcoin_group
|
group bitcoin_group
|
||||||
repository node['rtl']['repo']
|
repository node['rtl']['repo']
|
||||||
revision node['rtl']['revision']
|
revision node['rtl']['revision']
|
||||||
|
notifies :run, "execute[npm_install]", :immediately
|
||||||
notifies :restart, "systemd_unit[#{app_name}.service]", :delayed
|
notifies :restart, "systemd_unit[#{app_name}.service]", :delayed
|
||||||
end
|
end
|
||||||
|
|
||||||
execute "npm install" do
|
execute "npm_install" do
|
||||||
cwd rtl_dir
|
cwd rtl_dir
|
||||||
environment "HOME" => rtl_dir
|
environment "HOME" => rtl_dir
|
||||||
user bitcoin_user
|
user bitcoin_user
|
||||||
|
# TODO remove --force when upstream dependency issues have been resolved
|
||||||
|
command "npm install --force"
|
||||||
|
action :nothing
|
||||||
end
|
end
|
||||||
|
|
||||||
file "#{rtl_dir}/RTL-Config.json" do
|
file "#{rtl_dir}/RTL-Config.json" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user