From f30a3c1314020600ff5840539803cac9c8d95803 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 5 Nov 2020 22:37:44 +0100 Subject: [PATCH] adjust branch names and memory for master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/nimbus-master.yml | 4 ++++ ansible/nimbus.yml | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 ansible/group_vars/nimbus-master.yml diff --git a/ansible/group_vars/nimbus-master.yml b/ansible/group_vars/nimbus-master.yml new file mode 100644 index 0000000..d737ed9 --- /dev/null +++ b/ansible/group_vars/nimbus-master.yml @@ -0,0 +1,4 @@ +--- +# Master host has more memory, but it should be for builds +beacon_node_mem_limit: '{{ (ansible_memtotal_mb * 0.25) | int }}' +beacon_node_mem_reserve: '{{ (ansible_memtotal_mb * 0.2) | int }}' diff --git a/ansible/nimbus.yml b/ansible/nimbus.yml index 83d3601..0a432dc 100644 --- a/ansible/nimbus.yml +++ b/ansible/nimbus.yml @@ -7,7 +7,7 @@ that: 'ansible_version.full is version_compare("2.8", ">=")' msg: 'Your Ansible version is lower than 2.8. Upgrade it.' -- name: Configure shared testnet3 +- name: Configure shared testnet3 using master hosts: nimbus.test[0:3] vars: beacon_node_repo_branch: 'master' @@ -15,18 +15,18 @@ - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] } - { role: network-debug-script, tags: [ network-debug-script ] } -- name: Configure shared testnet2 +- name: Configure shared testnet2 using devel hosts: nimbus.test[4:7] vars: - beacon_node_repo_branch: 'develop' + beacon_node_repo_branch: 'devel' roles: - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] } - { role: network-debug-script, tags: [ network-debug-script ] } -- name: Configure shared testnet2 +- name: Configure shared testnet3 using libp2p hosts: nimbus.test[8:9] vars: - beacon_node_repo_branch: 'nim-libp2p-auto-bump' + beacon_node_repo_branch: 'libp2p' roles: - { role: infra-role-beacon-node, tags: [ infra-role-beacon-node, beacon-node ] } - { role: network-debug-script, tags: [ network-debug-script ] }