From 3a02974e3ab7008a9a2f8309a5983c5481e1cbea Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Mon, 20 Sep 2021 16:08:20 +0300 Subject: [PATCH] A/B testing for the taskpool implementation The `stable` hosts will run with the taskpool code reverted, the testing hosts will employ multiple cores. --- ansible/prater.yml | 5 ++++- ansible/pyrmont.yml | 5 ++++- ansible/requirements.yml | 6 +++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ansible/prater.yml b/ansible/prater.yml index e2f06c0..d08d45e 100644 --- a/ansible/prater.yml +++ b/ansible/prater.yml @@ -46,7 +46,10 @@ vars: # TEMPORARY switch for Prater Altair transition beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.branch }}' - beacon_node_repo_branch: 'unstable' + beacon_node_repo_branch: |- + {{ (node.branch == 'stable') | ternary("unstable-revert-taskpool", "unstable") }} + beacon_node_threads: |- + {{ (node.branch == 'testing') | ternary(4, 1) }} beacon_node_build_frequency: '{{ node.build_frequency }}' beacon_node_discovery_port: '{{ 9000 + port_offset }}' beacon_node_listening_port: '{{ 9000 + port_offset }}' diff --git a/ansible/pyrmont.yml b/ansible/pyrmont.yml index bf9ae85..fe46e8b 100644 --- a/ansible/pyrmont.yml +++ b/ansible/pyrmont.yml @@ -25,7 +25,10 @@ beacon_node_service_name: 'beacon-node-{{ beacon_node_network }}-{{ node.name }}' beacon_node_build_frequency: '{{ node.build_frequency }}' # TEMPORARY switch for Prater Altair transition - beacon_node_repo_branch: 'unstable' + beacon_node_repo_branch: |- + {{ (node.branch == 'stable') | ternary("unstable-revert-taskpool", "unstable") }} + beacon_node_threads: |- + {{ (node.branch == 'testing') | ternary(4, 1) }} beacon_node_discovery_port: '{{ 9000 + port_offset }}' beacon_node_listening_port: '{{ 9000 + port_offset }}' beacon_node_metrics_port: '{{ 9200 + port_offset }}' diff --git a/ansible/requirements.yml b/ansible/requirements.yml index 969698f..3407b6f 100644 --- a/ansible/requirements.yml +++ b/ansible/requirements.yml @@ -41,17 +41,17 @@ - name: infra-role-beacon-node-docker src: git@github.com:status-im/infra-role-beacon-node-docker.git - version: cb69ed19f0e1d1e23c7cf66f389854082c157778 + version: 292b6336fa6ceaf8db6c4ad5785d919614ad17ba scm: git - name: infra-role-beacon-node-linux src: git@github.com:status-im/infra-role-beacon-node-linux.git - version: ff400bfbce1f92bc63386195ec0a726502565e45 + version: 84ebd34117bfa20c5a03b2065ddc2685641fa669 scm: git - name: infra-role-beacon-node-windows src: git@github.com:status-im/infra-role-beacon-node-windows.git - version: 02074ceeda0694ad9c36d1eca034b3a3cf9a9f19 + version: 5fe4fb03e233cb540d5e22d576031f15895b37a9 scm: git - name: infra-role-dist-validators