Prepare for 2.2.1 update

This commit is contained in:
phahulin 2018-11-22 16:20:15 +03:00
parent cf37919586
commit 0dbc703060
3 changed files with 21 additions and 10 deletions

View File

@ -55,9 +55,9 @@ and check parity version (replace `bootnode` with correct role name ,e.g. `valid
```
sample output:
```
Parity
version Parity/v1.11.8-stable-c754a02-20180725/x86_64-linux-gnu/rustc1.27.2
Copyright 2015, 2016, 2017, 2018 Parity Technologies (UK) Ltd
Parity Ethereum
version Parity-Ethereum/v2.2.1-beta-5c56fc5-20181114/x86_64-linux-gnu/rustc1.30.1
Copyright 2015-2018 Parity Technologies (UK) Ltd.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
@ -122,7 +122,7 @@ cp -a backups-version/20180209T214517/node.toml .
sample output:
```
Parity
version Parity/v1.10.6-unstable-bc0d134-20180605/x86_64-linux-gnu/rustc1.26.2
version Parity/v1.11.8-stable-c754a02-20180725/x86_64-linux-gnu/rustc1.27.2
Copyright 2015, 2016, 2017, 2018 Parity Technologies (UK) Ltd
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.

View File

@ -3,21 +3,23 @@
poa_role: "bootnode"
# repo to fetch new binaries from
PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/v1.11.8/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_UBUNTU: "fbb349dc45e5de1b337880622be88c375998bf2ce69bb402eb9fe60f63b361f9"
PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/v1.11.8/x86_64-unknown-centos-gnu/parity"
PARITY_BIN_SHA256_CENTOS: "3f10fb875c5d51ec890f975c60606fc2c258431814cb8d33c5231fe1b8c13259"
PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/v2.2.1/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_UBUNTU: "dfdb0ba6d8847a164600baad7008c1a8715126aca21bb0909e7184f2b3bf2d21"
PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/v2.2.1/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_CENTOS: "dfdb0ba6d8847a164600baad7008c1a8715126aca21bb0909e7184f2b3bf2d21"
PARITY_VERSION_CHECK: "1.11.8"
PARITY_VERSION_CHECK: "2.2.1"
# backup options
backup_parity_data: "on"
# do full resync
resync: "off"
resync: "on"
# strings to remove from node.toml
bootnode_node_toml_lines_to_remove: []
# strings to add in node.toml
bootnode_node_toml_lines_to_add: []
update_netstats: "on"

View File

@ -78,6 +78,15 @@
become_user: "{{ poa_role }}"
when: (resync or "off") == "on"
- name: Update netstats
command: "git pull origin master"
args:
chdir: "{{ home }}/eth-net-intelligence-api"
# when: (update_netstats or "off") == "on"
become: true
become_user: "{{ poa_role }}"
ignore_errors: yes
- name: Launch poa-parity service
service: name=poa-parity state=started