From d2978024d13f8e19180689ae94338b739990110e Mon Sep 17 00:00:00 2001 From: Artem Ryabov Date: Fri, 12 Aug 2022 09:22:27 +0300 Subject: [PATCH 1/4] Updated RUST node --- CHANGELOG.md | 6 ++++++ scripts/env.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95fd26e..0adb306 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.1.9] – 2022-08-12 + +### Improvements + +- updated ton-labs-node from `5438eaab4db17c0c78869debf3e936078d9d7150` to `c5ee530c54199e81e2ca241a17ec23be7290229a` + ## [0.1.8] – 2022-06-27 ### Improvements diff --git a/scripts/env.sh b/scripts/env.sh index 277aea4..562852e 100755 --- a/scripts/env.sh +++ b/scripts/env.sh @@ -22,4 +22,4 @@ HOSTNAME=$(hostname -f) export TON_Q_SERVER_GITHUB_REPO="https://github.com/tonlabs/ton-q-server" export TON_Q_SERVER_GITHUB_COMMIT_ID="0.52.1" export TON_NODE_GITHUB_REPO="https://github.com/tonlabs/ton-labs-node" -export TON_NODE_GITHUB_COMMIT_ID="5438eaab4db17c0c78869debf3e936078d9d7150" +export TON_NODE_GITHUB_COMMIT_ID="c5ee530c54199e81e2ca241a17ec23be7290229a" From 9d1bbbc54fc59c17d90d8907d93a51b0ddb49203 Mon Sep 17 00:00:00 2001 From: Artem Ryabov Date: Fri, 12 Aug 2022 09:39:40 +0300 Subject: [PATCH 2/4] Fix for IP detection mechanism --- scripts/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 4a11586..a31dc52 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -94,9 +94,10 @@ done until [ "$(echo "${IntIP}" | grep "\." -o | wc -l)" -eq 3 ]; do set +e - IntIP="$(curl -sS https://ip.me/)":${ADNL_PORT} + IntIP="$(curl -sS4 https://ip.me/)":${ADNL_PORT} set -e echo "INFO: IntIP = $IntIP" + sleep 5s done sed -i "s|IntIP.*|IntIP=${IntIP}|g" "${DOCKER_COMPOSE_DIR}/statsd/.env" cd "${DOCKER_COMPOSE_DIR}/statsd/" && docker-compose up -d From 676facafa844cec10e08a236359bdace217afa4c Mon Sep 17 00:00:00 2001 From: Artem Ryabov Date: Fri, 12 Aug 2022 09:45:42 +0300 Subject: [PATCH 3/4] Fix for IP detection mechanism --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0adb306..6b061a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ All notable changes to this project will be documented in this file. - updated ton-labs-node from `5438eaab4db17c0c78869debf3e936078d9d7150` to `c5ee530c54199e81e2ca241a17ec23be7290229a` +### Fixed +- fixed IP address detection issue + ## [0.1.8] – 2022-06-27 ### Improvements From 7395ea45aafd0aa888075700711b60d54a1a9007 Mon Sep 17 00:00:00 2001 From: Artem Ryabov Date: Fri, 12 Aug 2022 10:09:29 +0300 Subject: [PATCH 4/4] index.html update fix --- scripts/deploy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index a31dc52..884be13 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -30,6 +30,7 @@ sed -i "s|email for notification|${EMAIL_FOR_NOTIFICATIONS}|g" "${DOCKER_COMPOSE sed -i "s|NETWORK_TYPE.*|NETWORK_TYPE=${NETWORK_TYPE}|g" "${DOCKER_COMPOSE_DIR}/arangodb/.env" sed -i "s|host.yourdomain.com|${HOSTNAME}|g" "${DOCKER_COMPOSE_DIR}/web.root/.env" +sed -i "s|host.yourdomain.com|${HOSTNAME}|g" "${DOCKER_COMPOSE_DIR}/web.root/index.html" sed -i "s|for notification|${EMAIL_FOR_NOTIFICATIONS}|g" "${DOCKER_COMPOSE_DIR}/web.root/docker-compose.yml" rm -f "${DOCKER_COMPOSE_DIR}/proxy/htpasswd/arango.yourdomain.com"