Split start/version reporting
This commit is contained in:
parent
9ca6a2d25b
commit
31dee553d5
|
@ -263,6 +263,7 @@ start() {
|
||||||
startClient "$ipAddress" "$netLogDir/client-$ipAddress.log"
|
startClient "$ipAddress" "$netLogDir/client-$ipAddress.log"
|
||||||
done
|
done
|
||||||
clientDeployTime=$SECONDS
|
clientDeployTime=$SECONDS
|
||||||
|
$metricsWriteDatapoint "testnet-deploy start=1"
|
||||||
|
|
||||||
if [[ $deployMethod = "snap" ]]; then
|
if [[ $deployMethod = "snap" ]]; then
|
||||||
IFS=\ read -r _ networkVersion _ < <(
|
IFS=\ read -r _ networkVersion _ < <(
|
||||||
|
@ -270,10 +271,9 @@ start() {
|
||||||
"snap info solana | grep \"^installed:\""
|
"snap info solana | grep \"^installed:\""
|
||||||
)
|
)
|
||||||
networkVersion=${networkVersion/0+git./}
|
networkVersion=${networkVersion/0+git./}
|
||||||
|
$metricsWriteDatapoint "testnet-deploy version=\"$networkVersion\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$metricsWriteDatapoint "testnet-deploy start=1,version=\"$networkVersion\""
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "================================================================="
|
echo "================================================================="
|
||||||
echo "Deployment finished at $(date)"
|
echo "Deployment finished at $(date)"
|
||||||
|
|
Loading…
Reference in New Issue