Preparing for rc.6

This commit is contained in:
kexkey
2019-04-25 16:55:43 -04:00
committed by kexkey
parent 1ec95a9c74
commit a758ab8c89
6 changed files with 24 additions and 20 deletions

View File

@@ -3,15 +3,15 @@
TRACING=1 TRACING=1
# CYPHERNODE VERSION "v0.1.1" # CYPHERNODE VERSION "v0.1.1"
CONF_VERSION="v0.2.0-rc.5-local" CONF_VERSION="v0.2.0-rc.6-local"
GATEKEEPER_VERSION="v0.2.0-rc.5-local" GATEKEEPER_VERSION="v0.2.0-rc.6-local"
PROXY_VERSION="v0.2.0-rc.5-local" PROXY_VERSION="v0.2.0-rc.6-local"
PROXYCRON_VERSION="v0.2.0-rc.5-local" PROXYCRON_VERSION="v0.2.0-rc.6-local"
OTSCLIENT_VERSION="v0.2.0-rc.5-local" OTSCLIENT_VERSION="v0.2.0-rc.6-local"
PYCOIN_VERSION="v0.2.0-rc.5-local" PYCOIN_VERSION="v0.2.0-rc.6-local"
BITCOIN_VERSION="v0.17.1" BITCOIN_VERSION="v0.17.1"
LIGHTNING_VERSION="v0.7.0" LIGHTNING_VERSION="v0.7.0"
GRAFANA_VERSION="v0.2.0-rc.5-local" GRAFANA_VERSION="v0.2.0-rc.6-local"
trace() trace()
{ {

12
dist/setup.sh vendored
View File

@@ -711,12 +711,12 @@ AUTOSTART=0
# CYPHERNODE VERSION "v0.1.1" # CYPHERNODE VERSION "v0.1.1"
VERSION_OVERRIDE="true" VERSION_OVERRIDE="true"
CONF_VERSION="v0.2.0-rc.5" CONF_VERSION="v0.2.0-rc.6"
GATEKEEPER_VERSION="v0.2.0-rc.5" GATEKEEPER_VERSION="v0.2.0-rc.6"
PROXY_VERSION="v0.2.0-rc.5" PROXY_VERSION="v0.2.0-rc.6"
PROXYCRON_VERSION="v0.2.0-rc.5" PROXYCRON_VERSION="v0.2.0-rc.6"
OTSCLIENT_VERSION="v0.2.0-rc.5" OTSCLIENT_VERSION="v0.2.0-rc.6"
PYCOIN_VERSION="v0.2.0-rc.5" PYCOIN_VERSION="v0.2.0-rc.6"
BITCOIN_VERSION="v0.17.1" BITCOIN_VERSION="v0.17.1"
LIGHTNING_VERSION="v0.7.0" LIGHTNING_VERSION="v0.7.0"

View File

@@ -8,7 +8,7 @@ We are also providing Spark Wallet as a Cyphernode application. It is a hybrid
As you already know it, we want Cyphernode to be modular and decoupled. That's why we created a completely separated repository for the Cyphernode Apps: https://github.com/SatoshiPortal/cypherapps As you already know it, we want Cyphernode to be modular and decoupled. That's why we created a completely separated repository for the Cyphernode Apps: https://github.com/SatoshiPortal/cypherapps
Cypherapps acts as an indirection layer between Cyphernode and the actual applications. The repo is cloned into the Cyphernode directory during setup, depending on the selected optional features. The corresponding docker images are taken from our Docker hub. Cypherapps acts as an indirection layer between Cyphernode and the actual applications. The repo is cloned into the Cyphernode directory during setup, depending on the selected optional features. The corresponding docker images are taken from the Docker hub repositories.
Separating Cypherapps from Cyphernode allows us to add applications without changing Cyphernode. Separating Cypherapps from Cyphernode allows us to add applications without changing Cyphernode.

View File

@@ -34,6 +34,8 @@ cd dist
## Upgrading ## Upgrading
To upgrade to the most recent version, just get and run the most recent version of the setup.sh file as described in the previous section. Migration should be taken care by the script.
Your proxy's database won't be lost. Migration scripts are taking care of automatically migrating the database when starting the proxy. Your proxy's database won't be lost. Migration scripts are taking care of automatically migrating the database when starting the proxy.
``` ```

View File

@@ -1,4 +1,6 @@
# Upgrade notes from 0.1 to 0.2 # Upgrade notes from 0.1 to 0.2, to upgrade manually
Usually no need to do this since it will be done during setup.sh v0.2.
1. cd currentInstallation, where setup.sh is located 1. cd currentInstallation, where setup.sh is located
2. ./stop.sh current running cyphernode 2. ./stop.sh current running cyphernode
@@ -14,7 +16,7 @@ cd conf
<enter your password> <enter your password>
``` ```
k=$(dd if=/dev/urandom bs=32 count=1 2> /dev/null | xxd -pc 32) && l="kapi_id=\\\"000\\\";kapi_key=\\\"$k\\\";kapi_groups=\\\"stats\\\";eval ugroups_\${kapi_id}=\${kapi_groups};eval ukey_\${kapi_id}=\${kapi_key}" && cat config.json | sed 's/kapi_groups=\\"/kapi_groups=\\"stats,/g' | jq ".gatekeeper_keys.configEntries = [\"$l\"] + .gatekeeper_keys.configEntries" | jq ".gatekeeper_keys.clientInformation = [\"000=$k\"] + .gatekeeper_keys.clientInformation" | jq ".gatekeeper_apiproperties = \"$(curl -fsSL https://raw.githubusercontent.com/SatoshiPortal/cyphernode/v0.2.0-rc.5/api_auth_docker/api-sample.properties | paste -s -d '\n')\"" > config.json k=$(dd if=/dev/urandom bs=32 count=1 2> /dev/null | xxd -pc 32) && l="kapi_id=\\\"000\\\";kapi_key=\\\"$k\\\";kapi_groups=\\\"stats\\\";eval ugroups_\${kapi_id}=\${kapi_groups};eval ukey_\${kapi_id}=\${kapi_key}" && cat config.json | sed 's/kapi_groups=\\"/kapi_groups=\\"stats,/g' | jq ".gatekeeper_keys.configEntries = [\"$l\"] + .gatekeeper_keys.configEntries" | jq ".gatekeeper_keys.clientInformation = [\"000=$k\"] + .gatekeeper_keys.clientInformation" | jq ".gatekeeper_apiproperties = \"$(curl -fsSL https://raw.githubusercontent.com/SatoshiPortal/cyphernode/v0.2.0/api_auth_docker/api-sample.properties | paste -s -d '\n')\"" > config.json
7z u config.7z config.json 7z u config.7z config.json
``` ```
@@ -23,5 +25,5 @@ k=$(dd if=/dev/urandom bs=32 count=1 2> /dev/null | xxd -pc 32) && l="kapi_id=\\
<CTRL-D> <CTRL-D>
``` ```
curl -fsSL https://raw.githubusercontent.com/SatoshiPortal/cyphernode/v0.2.0-rc.5/dist/setup.sh -o setup_cyphernode.sh && chmod +x setup_cyphernode.sh && ./setup_cyphernode.sh curl -fsSL https://raw.githubusercontent.com/SatoshiPortal/cyphernode/v0.2.0/dist/setup.sh -o setup_cyphernode.sh && chmod +x setup_cyphernode.sh && ./setup_cyphernode.sh
``` ```

View File

@@ -91,9 +91,9 @@ arm="arm32v6"
#arch=${arm} #arch=${arm}
arch=${x86} arch=${x86}
v1="v0-rc.5" v1="v0-rc.6"
v2="v0.2-rc.5" v2="v0.2-rc.6"
v3="v0.2.0-rc.5" v3="v0.2.0-rc.6"
echo "arch=$arch" echo "arch=$arch"