From 2f4128484dfaf87972c72f96d3ed367e32ea03a9 Mon Sep 17 00:00:00 2001
From: phahulin
Date: Mon, 19 Aug 2019 14:44:01 +0300
Subject: [PATCH] Prepare for parity 2.6.1
---
roles/upd-parity-version/tasks/main.yml | 44 ++++++++++++-------------
1 file changed, 21 insertions(+), 23 deletions(-)
diff --git a/roles/upd-parity-version/tasks/main.yml b/roles/upd-parity-version/tasks/main.yml
index 16bacc6..8556d98 100644
--- a/roles/upd-parity-version/tasks/main.yml
+++ b/roles/upd-parity-version/tasks/main.yml
@@ -1,35 +1,33 @@
---
- set_fact:
- PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_UBUNTU: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
- PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_CENTOS: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
- PARITY_VERSION_CHECK: "2.4.6"
+ PARITY_BIN_LOC: "https://releases.parity.io/ethereum/v2.6.1/x86_64-unknown-linux-gnu/parity"
+ PARITY_BIN_SHA256: "8c9211a202750d9d655c6ab819a86774e0fb4086f2c6ad2d14d2df0e45898f8a"
+ PARITY_VERSION_CHECK: "2.6.1"
when: GENESIS_BRANCH == 'sokol'
- set_fact:
- PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_UBUNTU: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
- PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_CENTOS: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
+ PARITY_BIN_LOC: "https://releases.parity.io/ethereum/v2.6.1/x86_64-unknown-linux-gnu/parity"
+ PARITY_BIN_SHA256: "8c9211a202750d9d655c6ab819a86774e0fb4086f2c6ad2d14d2df0e45898f8a"
+ PARITY_VERSION_CHECK: "2.6.1"
+ when: GENESIS_BRANCH == 'kovan'
+
+- set_fact:
+ PARITY_BIN_LOC: "https://releases.parity.io/ethereum/v2.6.1/x86_64-unknown-linux-gnu/parity"
+ PARITY_BIN_SHA256: "8c9211a202750d9d655c6ab819a86774e0fb4086f2c6ad2d14d2df0e45898f8a"
+ PARITY_VERSION_CHECK: "2.6.1"
+ when: GENESIS_BRANCH == 'dai'
+
+- set_fact:
+ PARITY_BIN_LOC: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
+ PARITY_BIN_SHA256: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
PARITY_VERSION_CHECK: "2.4.6"
when: GENESIS_BRANCH == 'core'
- set_fact:
- PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_UBUNTU: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
- PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.4.6/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_CENTOS: "e0a249d586aad506ba2ea886416c3b247a841c615c8dcc51e1b18b343f9439cf"
- PARITY_VERSION_CHECK: "2.4.6"
- when: GENESIS_BRANCH == 'dai'
-
-- set_fact:
- PARITY_BIN_LOC_UBUNTU: "https://releases.parity.io/ethereum/v2.4.7/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_UBUNTU: "8c9211a202750d9d655c6ab819a86774e0fb4086f2c6ad2d14d2df0e45898f8a"
- PARITY_BIN_LOC_CENTOS: "https://releases.parity.io/ethereum/v2.4.7/x86_64-unknown-linux-gnu/parity"
- PARITY_BIN_SHA256_CENTOS: "8c9211a202750d9d655c6ab819a86774e0fb4086f2c6ad2d14d2df0e45898f8a"
- PARITY_VERSION_CHECK: "2.4.7"
- when: GENESIS_BRANCH == 'kovan'
+ PARITY_BIN_LOC_UBUNTU: "{{ PARITY_BIN_LOC }}"
+ PARITY_BIN_SHA256_UBUNTU: "{{ PARITY_BIN_SHA256 }}"
+ PARITY_BIN_LOC_CENTOS: "{{ PARITY_BIN_LOC }}"
+ PARITY_BIN_SHA256_CENTOS: "{{ PARITY_BIN_SHA256 }}"
- name: Check that node role is correct
stat: