From a7feea730a4750f8ebe1976c5fc4581961b23151 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Wed, 20 Oct 2021 10:32:15 +0300 Subject: [PATCH] [#135] .env: update neofs-node version Signed-off-by: Evgenii Stratonikov --- .env | 6 +++--- services/ir/healthcheck.sh | 7 ++++--- services/storage/healthcheck.sh | 7 ++++--- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.env b/.env index 92cecad..b28833a 100644 --- a/.env +++ b/.env @@ -11,11 +11,11 @@ NEOGO_VERSION=0.97.3 MORPH_CHAIN_URL="https://github.com/nspcc-dev/neofs-contract/releases/download/v0.12.1/devenv_sidechain.gz" # NeoFS InnerRing nodes -IR_VERSION=0.25.1 +IR_VERSION=0.26.0 IR_IMAGE=nspccdev/neofs-ir # NeoFS Storage nodes -NODE_VERSION=0.25.1 +NODE_VERSION=0.26.0 NODE_IMAGE=nspccdev/neofs-storage # HTTP Gate @@ -31,5 +31,5 @@ LOCODE_DB_URL=https://github.com/nspcc-dev/neofs-locode-db/releases/download/v0. #LOCODE_DB_PATH=/path/to/locode_db # NeoFS CLI binary -NEOFS_CLI_URL=https://github.com/nspcc-dev/neofs-node/releases/download/v0.25.0/neofs-cli-amd64.tar.gz +NEOFS_CLI_URL=https://github.com/nspcc-dev/neofs-node/releases/download/v0.26.0/neofs-cli-amd64.tar.gz #NEOFS_CLI_PATH=/path/to/neofs-cli-binary diff --git a/services/ir/healthcheck.sh b/services/ir/healthcheck.sh index 30bbfd4..7a783f5 100755 --- a/services/ir/healthcheck.sh +++ b/services/ir/healthcheck.sh @@ -1,5 +1,6 @@ #!/bin/sh -EXPECTED="Health status: READY" -GOT=`/neofs-cli -r $NEOFS_IR_CONTROL_GRPC_ENDPOINT --binary-key /wallet01.key control healthcheck --ir | grep Health` -if [ "$EXPECTED" = "$GOT" ]; then exit 0; else exit 1; fi +/neofs-cli control healthcheck \ + --endpoint "$NEOFS_IR_CONTROL_GRPC_ENDPOINT" \ + --binary-key /wallet01.key --ir | + grep "Health status: READY" diff --git a/services/storage/healthcheck.sh b/services/storage/healthcheck.sh index 58f23ce..cfc3fd5 100755 --- a/services/storage/healthcheck.sh +++ b/services/storage/healthcheck.sh @@ -1,5 +1,6 @@ #!/bin/sh -EXPECTED="Health status: READY" -GOT=`/neofs-cli -r $NEOFS_CONTROL_GRPC_ENDPOINT --binary-key $NEOFS_NODE_KEY control healthcheck | grep "Health"` -if [ "$EXPECTED" = "$GOT" ]; then exit 0; else exit 1; fi +/neofs-cli control healthcheck \ + --endpoint "$NEOFS_CONTROL_GRPC_ENDPOINT" \ + --binary-key "$NEOFS_NODE_KEY" | + grep "Health status: READY"