push path changes
This commit is contained in:
@@ -57,7 +57,7 @@ fi
|
||||
|
||||
check_nym_client_binary_build
|
||||
|
||||
first_init=$(cat /root/.nym/clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
first_init=$(cat ${HOME}/.nym/clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------
|
||||
# lets remove the binary then navigate to the target/release directory for checking the latest version
|
||||
@@ -86,7 +86,7 @@ echo "-------------------------------------"
|
||||
|
||||
check_nym_client_binary_build
|
||||
|
||||
second_init=$(cat /root/.nym/clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
second_init=$(cat ${HOME}/.nym/clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
diff -w <(echo "$first_init") <(echo "$second_init")
|
||||
|
||||
|
||||
@@ -37,8 +37,7 @@ check_gateway_binary_build() if [ -f "$BINARY_NAME" ]; then
|
||||
VALUE=${VALUE%\"}
|
||||
|
||||
#------------------------------------------------------
|
||||
USER=$(whoami)
|
||||
DATA_STORE="/${USER}/.nym/gateways/${ID}/data/db.sqlite"
|
||||
DATA_STORE="${HOME}/.nym/gateways/${ID}/data/db.sqlite"
|
||||
#------------------------------------------------------
|
||||
|
||||
# do asserts here based upon the output
|
||||
@@ -58,7 +57,7 @@ fi
|
||||
check_gateway_binary_build
|
||||
# whoami
|
||||
# this is dependant on where it runs on ci potentially, will need to tweak this in the future
|
||||
first_init=$(cat /root/.nym/gateways/${ID}/config/config.toml | grep -v "^\[gateway\]$" | grep -v "^version =" | grep -v "^cosmos_mnemonic =")
|
||||
first_init=$(cat ${HOME}/.nym/gateways/${ID}/config/config.toml | grep -v "^\[gateway\]$" | grep -v "^version =" | grep -v "^cosmos_mnemonic =")
|
||||
|
||||
#lets remove the binary then navigate to the target/release directory for checking the latest version
|
||||
if [ -f "$BINARY_NAME" ]; then
|
||||
@@ -84,7 +83,7 @@ check_gateway_binary_build
|
||||
echo "diff the config files after each init"
|
||||
echo "-------------------------------------"
|
||||
|
||||
second_init=$(cat /root/.nym/gateways/${ID}/config/config.toml | grep -v "^\[gateway\]$" | grep -v "^version =" | grep -v "^cosmos_mnemonic =")
|
||||
second_init=$(cat ${HOME}/.nym/gateways/${ID}/config/config.toml | grep -v "^\[gateway\]$" | grep -v "^version =" | grep -v "^cosmos_mnemonic =")
|
||||
|
||||
diff -w <(echo "$first_init") <(echo "$second_init")
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ check_mixnode_binary_build() {
|
||||
check_mixnode_binary_build
|
||||
# whoami
|
||||
# this is dependant on where it runs on ci potentially, will need to tweak this in the future
|
||||
first_init=$(cat /root/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =")
|
||||
first_init=$(cat ${HOME}/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =")
|
||||
|
||||
#lets remove the binary then navigate to the target/release directory for checking the latest version
|
||||
if [ -f "$BINARY_NAME" ]; then
|
||||
@@ -74,7 +74,7 @@ check_mixnode_binary_build
|
||||
echo "diff the config files after each init"
|
||||
echo "-------------------------------------"
|
||||
|
||||
second_init=$(cat /root/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =")
|
||||
second_init=$(cat ${HOME}/.nym/mixnodes/${ID}/config/config.toml | grep -v "^\[mixnode\]$" | grep -v "^version =")
|
||||
|
||||
diff -w <(echo "$first_init") <(echo "$second_init")
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ fi
|
||||
|
||||
check_nym_network_requester_binary_build
|
||||
|
||||
first_init=$(cat /root/.nym/service-providers/network-requester/${ID}/config/config.toml | grep -v "^version =")
|
||||
first_init=$(cat ${HOME}/.nym/service-providers/network-requester/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------
|
||||
# lets remove the binary then navigate to the target/release directory for checking the latest version
|
||||
@@ -85,7 +85,7 @@ echo "-------------------------------------"
|
||||
|
||||
check_nym_network_requester_binary_build
|
||||
|
||||
second_init=$(cat /root/.nym/service-providers/network-requester/${ID}/config/config.toml | grep -v "^version =")
|
||||
second_init=$(cat ${HOME}/.nym/service-providers/network-requester/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
diff -w <(echo "$first_init") <(echo "$second_init")
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ fi
|
||||
|
||||
check_nym_socks5_client_binary_build
|
||||
|
||||
first_init=$(cat /root/.nym/socks5-clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
first_init=$(cat ${HOME}/.nym/socks5-clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
#----------------------------------------------------------------------------------------------------------
|
||||
# lets remove the binary then navigate to the target/release directory for checking the latest version
|
||||
@@ -87,7 +87,7 @@ echo "-------------------------------------"
|
||||
|
||||
check_nym_socks5_client_binary_build
|
||||
|
||||
second_init=$(cat /root/.nym/socks5-clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
second_init=$(cat ${HOME}/.nym/socks5-clients/${ID}/config/config.toml | grep -v "^version =")
|
||||
|
||||
diff -w <(echo "$first_init") <(echo "$second_init")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user