From 06ba96bcbafbdeae392180bf4caf518d28718db0 Mon Sep 17 00:00:00 2001 From: phahulin Date: Fri, 1 Feb 2019 17:56:30 +0300 Subject: [PATCH] Prepare for 2.3.1 on sokol --- docs/Update-parity-version.md | 3 ++- group_vars/hf-spec-change.example | 2 +- group_vars/upd-parity-version.example | 2 +- roles/upd-parity-version/tasks/main.yml | 12 ++++++------ 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/docs/Update-parity-version.md b/docs/Update-parity-version.md index 40c28ce..6b885a3 100644 --- a/docs/Update-parity-version.md +++ b/docs/Update-parity-version.md @@ -43,6 +43,7 @@ ansible-playbook -i hosts upd-parity-version.yml 1. open network statistic webpage: - for sokol test network: https://sokol-netstat.poa.network - for core main network: https://core-netstat.poa.network + - for dai network: https://dai-netstat.poa.network check that your node is "green" and is catching new blocks. It may take 5-6 minutes to fully start and reconnect @@ -57,7 +58,7 @@ and check parity version (replace `bootnode` with correct role name ,e.g. `valid sample output (version number may be different): ``` Parity Ethereum - version Parity-Ethereum/v2.3.0-beta-10657d9-20190115/x86_64-linux-gnu/rustc1.31.1 + version Parity-Ethereum/v2.3.1-beta-938c8d8-20190130/x86_64-linux-gnu/rustc1.31.1 Copyright 2015-2018 Parity Technologies (UK) Ltd. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. diff --git a/group_vars/hf-spec-change.example b/group_vars/hf-spec-change.example index 84a3f82..2906ebc 100644 --- a/group_vars/hf-spec-change.example +++ b/group_vars/hf-spec-change.example @@ -4,4 +4,4 @@ poa_role: "validator" # repo to fetch HFs from MAIN_REPO_FETCH: "poanetwork" -GENESIS_BRANCH: "core" +GENESIS_BRANCH: "sokol" diff --git a/group_vars/upd-parity-version.example b/group_vars/upd-parity-version.example index d88b0f1..f6b11f0 100644 --- a/group_vars/upd-parity-version.example +++ b/group_vars/upd-parity-version.example @@ -1,7 +1,7 @@ --- # bootnode | moc | validator | explorer | netstat poa_role: "validator" -GENESIS_BRANCH: "core" +GENESIS_BRANCH: "sokol" # backup options backup_parity_data: "on" diff --git a/roles/upd-parity-version/tasks/main.yml b/roles/upd-parity-version/tasks/main.yml index 37cfa75..cdfee97 100644 --- a/roles/upd-parity-version/tasks/main.yml +++ b/roles/upd-parity-version/tasks/main.yml @@ -1,10 +1,10 @@ --- - set_fact: - PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.3.0/x86_64-unknown-linux-gnu/parity" - PARITY_BIN_SHA256_UBUNTU: "c55c0c1ee397c7a1999ff8e19f9f91caf1b93e239a2a4fc85f57d18eb934f63b" - PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.3.0/x86_64-unknown-linux-gnu/parity" - PARITY_BIN_SHA256_CENTOS: "c55c0c1ee397c7a1999ff8e19f9f91caf1b93e239a2a4fc85f57d18eb934f63b" - PARITY_VERSION_CHECK: "2.3.0" + PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.3.1/x86_64-unknown-linux-gnu/parity" + PARITY_BIN_SHA256_UBUNTU: "c7bca14bc9be2b46f8c071004d3b5c88a1e9f523906d1068aca38ec00d9e9950" + PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.3.1/x86_64-unknown-linux-gnu/parity" + PARITY_BIN_SHA256_CENTOS: "c7bca14bc9be2b46f8c071004d3b5c88a1e9f523906d1068aca38ec00d9e9950" + PARITY_VERSION_CHECK: "2.3.1" when: GENESIS_BRANCH == 'sokol' - set_fact: @@ -106,7 +106,7 @@ command: "git pull origin master" args: chdir: "{{ home }}/eth-net-intelligence-api" - # when: (update_netstats or "off") == "on" + when: (update_netstats or "off") == "on" become: true become_user: "{{ poa_role }}" ignore_errors: yes