2023-09-05 21:14:40 +00:00
|
|
|
# shellcheck source=../../utils/with-1-data-1-empty-node-cluster.sh
|
|
|
|
source "$UTILS"/with-1-data-1-empty-node-cluster.sh
|
2023-09-01 15:19:59 +00:00
|
|
|
|
|
|
|
[ "$(cat a/meta/isle/rpc_port)" = "3900" ]
|
|
|
|
[ "$(cat b/meta/isle/rpc_port)" = "3910" ]
|
|
|
|
[ "$(cat c/meta/isle/rpc_port)" = "3920" ]
|
2023-09-03 16:08:14 +00:00
|
|
|
|
|
|
|
[ "$(yq <admin.yml '.creation_params.id')" != "" ]
|
|
|
|
[ "$(yq <admin.yml '.creation_params.name')" = "testing" ]
|
2023-09-05 21:14:40 +00:00
|
|
|
[ "$(yq <admin.yml '.creation_params.domain')" = "shared.test" ]
|
2023-09-03 16:08:14 +00:00
|
|
|
|
|
|
|
bootstrap_file="$XDG_DATA_HOME/isle/bootstrap.yml"
|
|
|
|
|
|
|
|
[ "$(yq <"$bootstrap_file" '.admin_creation_params')" = "$(yq <admin.yml '.creation_params')" ]
|
|
|
|
[ "$(yq <"$bootstrap_file" '.nebula.ca_public_credentials')" = "$(yq <admin.yml '.nebula.ca_credentials.public')" ]
|
|
|
|
[ "$(yq <"$bootstrap_file" '.hostname')" = "primus" ]
|