Prepare for sokol and core HFs

This commit is contained in:
phahulin 2018-12-17 18:01:05 +03:00
parent 721801cd87
commit 3864248fa8
4 changed files with 21 additions and 11 deletions

View File

@ -20,7 +20,7 @@ cp group_vars/upd-parity-version.example group_vars/all
```
and change the following variables:
* `poa_role` - role of the node on the network (one of `bootnode`, `validator`, `moc`, `explorer`)
* `resync` - must be set to `"on"`
* `GENESIS_BRANCH` - either `"sokol"` or `"core"` depending which network you're updating
don't change other options

View File

@ -4,4 +4,4 @@ poa_role: "bootnode"
# repo to fetch HFs from
MAIN_REPO_FETCH: "poanetwork"
GENESIS_BRANCH: "core"
GENESIS_BRANCH: "sokol"

View File

@ -1,14 +1,7 @@
---
# bootnode | moc | validator | explorer | netstat
poa_role: "bootnode"
# repo to fetch new binaries from
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: "2.2.1"
poa_role: "validator"
GENESIS_BRANCH: "sokol"
# backup options
backup_parity_data: "on"

View File

@ -1,4 +1,21 @@
---
- set_fact:
PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.2.5/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_UBUNTU: "5a4c8d947feadc48cae1a85f58845b3129d73f96cc7c13df2df8a780584da947"
PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.2.5/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_CENTOS: "5a4c8d947feadc48cae1a85f58845b3129d73f96cc7c13df2df8a780584da947"
PARITY_VERSION_CHECK: "2.2.5"
when: GENESIS_BRANCH == 'sokol'
- set_fact:
PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.2.1/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_UBUNTU: "dfdb0ba6d8847a164600baad7008c1a8715126aca21bb0909e7184f2b3bf2d21"
PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.2.1/x86_64-unknown-linux-gnu/parity"
PARITY_BIN_SHA256_CENTOS: "dfdb0ba6d8847a164600baad7008c1a8715126aca21bb0909e7184f2b3bf2d21"
PARITY_VERSION_CHECK: "2.2.1"
when: GENESIS_BRANCH == 'core'
- name: Check that node role is correct
stat:
path: "{{ home }}"