2024-07-14 09:58:39 +00:00
|
|
|
# shellcheck source=../../utils/with-1-data-1-empty-node-network.sh
|
|
|
|
source "$UTILS"/with-1-data-1-empty-node-network.sh
|
|
|
|
|
|
|
|
bs="$secondus_bootstrap" # set in with-1-data-1-empty-node-network.sh
|
|
|
|
|
2024-07-14 11:11:18 +00:00
|
|
|
[ "$(jq -r <"$bs" '.Bootstrap.NetworkCreationParams.Domain')" = "shared.test" ]
|
|
|
|
[ "$(jq -r <"$bs" '.Bootstrap.NetworkCreationParams.Name')" = "testing" ]
|
2024-07-14 09:58:39 +00:00
|
|
|
[ "$(jq -r <"$bs" '.Bootstrap.SignedHostAssigned.Body.Name')" = "secondus" ]
|
|
|
|
|
|
|
|
[ "$(jq -r <"$bs" '.Bootstrap.Hosts.primus.PublicCredentials')" \
|
2024-09-09 14:34:00 +00:00
|
|
|
= "$(jq -r <"$BOOTSTRAP_FILE" '.SignedHostAssigned.Body.PublicCredentials')" ]
|
2024-07-14 09:58:39 +00:00
|
|
|
|
|
|
|
[ "$(jq <"$bs" '.Bootstrap.Hosts.primus.Garage.Instances|length')" = "3" ]
|
|
|
|
|
|
|
|
[ "$(jq <"$bs" '.Secrets["garage-rpc-secret"]')" != "null" ]
|
|
|
|
|