17 lines
745 B
Bash
17 lines
745 B
Bash
# shellcheck source=../../utils/with-1-data-1-empty-node-cluster.sh
|
|
source "$UTILS"/with-1-data-1-empty-node-cluster.sh
|
|
|
|
[ "$(cat a/meta/isle/rpc_port)" = "3900" ]
|
|
[ "$(cat b/meta/isle/rpc_port)" = "3910" ]
|
|
[ "$(cat c/meta/isle/rpc_port)" = "3920" ]
|
|
|
|
[ "$(yq <admin.yml '.creation_params.id')" != "" ]
|
|
[ "$(yq <admin.yml '.creation_params.name')" = "testing" ]
|
|
[ "$(yq <admin.yml '.creation_params.domain')" = "shared.test" ]
|
|
|
|
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" ]
|