Upgrade RSKj to 5.3.0, deploy new nodes

Adapted the cookbook for new nodes running on Jammy.
This commit is contained in:
Râu Cao
2023-11-04 15:04:29 +01:00
parent 3d3156a031
commit 925a5da239
10 changed files with 146 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
node.default['rskj']['version'] = '4.4.0~focal'
node.default['rskj']['version'] = '5.3.0~jammy'
node.default['rskj']['network'] = 'testnet'
node.default['rskj']['nginx']['domain'] = nil

View File

@@ -1,6 +1,7 @@
---
driver:
name: dokken
chef_version: 18.2.7
pull_platform_image: false
pull_chef_image: false
memory_limit: 2147483648 # 2GB
@@ -18,7 +19,7 @@ transport:
provisioner:
name: dokken
clean_dokken_sandbox: false
# clean_dokken_sandbox: false
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
@@ -33,9 +34,9 @@ verifier:
name: inspec
platforms:
- name: ubuntu-20.04
- name: ubuntu-22.04
driver:
image: dokken/ubuntu-20.04
image: dokken/ubuntu-22.04
privileged: true
pid_one_command: /usr/lib/systemd/systemd
intermediate_instructions:

View File

@@ -3,8 +3,8 @@ maintainer 'Kosmos Developers'
maintainer_email 'ops@kosmos.org'
license 'MIT'
description 'Installs/configures RSKj and related software'
version '0.3.0'
chef_version '>= 15.0'
version '0.4.0'
chef_version '>= 18.2'
issues_url 'https://gitea.kosmos.org/kosmos/chef/issues'
source_url 'https://gitea.kosmos.org/kosmos/chef'

View File

@@ -9,7 +9,7 @@ end
describe package('rskj') do
it { should be_installed }
its('version') { should eq '4.4.0~focal' }
its('version') { should eq '5.3.0~jammy' }
end
describe service('rsk') do