From a49befd2b782ff9f1b1c495183aca4b8269b5c49 Mon Sep 17 00:00:00 2001 From: instamenta Date: Fri, 24 Jan 2025 15:52:29 +0200 Subject: [PATCH] rename to --node-aliases inside readme and tasfile Signed-off-by: instamenta --- Taskfile.helper.yml | 16 ++++++++-------- docs/content/User/SoloCLI.md | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Taskfile.helper.yml b/Taskfile.helper.yml index c4289a7b7..c78a91e53 100644 --- a/Taskfile.helper.yml +++ b/Taskfile.helper.yml @@ -167,7 +167,7 @@ tasks: deps: - task: "init" cmds: - - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node keys --gossip-keys --tls-keys --node-aliases-unparsed {{.node_identifiers}} -q --dev + - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node keys --gossip-keys --tls-keys --node-aliases {{.node_identifiers}} -q --dev solo:network:deploy: silent: true @@ -185,7 +185,7 @@ tasks: if [[ "${SOLO_CHART_VERSION}" != "" ]]; then export SOLO_CHART_FLAG='--solo-chart-version ${SOLO_CHART_VERSION}' fi - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- network deploy --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} ${CONSENSUS_NODE_FLAG} ${SOLO_CHART_FLAG} ${VALUES_FLAG} ${SETTINGS_FLAG} ${LOG4J2_FLAG} ${APPLICATION_PROPERTIES_FLAG} ${GENESIS_THROTTLES_FLAG} ${DEBUG_NODE_FLAG} ${SOLO_CHARTS_DIR_FLAG} ${LOAD_BALANCER_FLAG} ${NETWORK_DEPLOY_EXTRA_FLAGS} -q --dev + SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- network deploy --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} ${CONSENSUS_NODE_FLAG} ${SOLO_CHART_FLAG} ${VALUES_FLAG} ${SETTINGS_FLAG} ${LOG4J2_FLAG} ${APPLICATION_PROPERTIES_FLAG} ${GENESIS_THROTTLES_FLAG} ${DEBUG_NODE_FLAG} ${SOLO_CHARTS_DIR_FLAG} ${LOAD_BALANCER_FLAG} ${NETWORK_DEPLOY_EXTRA_FLAGS} -q --dev - task: "solo:node:setup" solo:node:setup: @@ -198,7 +198,7 @@ tasks: if [[ "${CONSENSUS_NODE_VERSION}" != "" ]]; then export CONSENSUS_NODE_FLAG='--release-tag {{.CONSENSUS_NODE_VERSION}}' fi - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node setup --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} ${CONSENSUS_NODE_FLAG} ${LOCAL_BUILD_FLAG} -q --dev + SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node setup --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} ${CONSENSUS_NODE_FLAG} ${LOCAL_BUILD_FLAG} -q --dev solo:network:destroy: silent: true @@ -218,7 +218,7 @@ tasks: if [[ "${DEBUG_NODE_ALIAS}" != "" ]]; then export DEBUG_NODE_FLAG="--debug-node-alias {{ .DEBUG_NODE_ALIAS }}" fi - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node start --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} ${DEBUG_NODE_FLAG} -q {{ .CLI_ARGS }} --dev + SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node start --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} ${DEBUG_NODE_FLAG} -q {{ .CLI_ARGS }} --dev - | if [[ "{{ .use_port_forwards }}" == "true" ]];then echo "Port forwarding for Hedera Network Node: grpc:50211" @@ -233,7 +233,7 @@ tasks: deps: - task: "init" cmds: - - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node stop --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} -q {{ .CLI_ARGS }} --dev + - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node stop --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} -q {{ .CLI_ARGS }} --dev solo:relay: silent: true @@ -289,8 +289,8 @@ tasks: cmds: - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node prepare-upgrade --namespace "${SOLO_NAMESPACE}" -q --dev - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node freeze-upgrade --namespace "${SOLO_NAMESPACE}" -q --dev - - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node stop --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} -q --dev - - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node start --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} -q --dev + - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node stop --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} -q --dev + - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node start --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} -q --dev cluster:create: silent: true @@ -360,7 +360,7 @@ tasks: solo:node:logs: silent: true cmds: - - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node logs --namespace "${SOLO_NAMESPACE}" --node-aliases-unparsed {{.node_identifiers}} -q --dev + - SOLO_HOME_DIR=${SOLO_HOME_DIR} npm run solo -- node logs --namespace "${SOLO_NAMESPACE}" --node-aliases {{.node_identifiers}} -q --dev start: desc: solo node start diff --git a/docs/content/User/SoloCLI.md b/docs/content/User/SoloCLI.md index 08cc3a7b6..ed14f2331 100644 --- a/docs/content/User/SoloCLI.md +++ b/docs/content/User/SoloCLI.md @@ -248,7 +248,7 @@ Kubernetes Cluster : kind-solo-e2e --debug-node-alias Enable default jvm debug port (5005) for the given node id [string] --log4j2-xml log4j2.xml file for node [string] -n, --namespace Namespace [string] - -i, --node-aliases-unparsed Comma separated node aliases (empty means all nodes) [string] + -i, --node-aliases Comma separated node aliases (empty means all nodes) [string] --pvcs Enable persistent volume claims to store data outside the pod, required for node add [boolean] --profile-file Resource profile definition (e.g. custom-spec.yaml) [string] @@ -297,7 +297,7 @@ Kubernetes Cluster : kind-solo-e2e --debug-node-alias Enable default jvm debug port (5005) for the given node id [string] --log4j2-xml log4j2.xml file for node [string] -n, --namespace Namespace [string] - -i, --node-aliases-unparsed Comma separated node aliases (empty means all nodes) [string] + -i, --node-aliases Comma separated node aliases (empty means all nodes) [string] --pvcs Enable persistent volume claims to store data outside the pod, required for node add [boolean] --profile-file Resource profile definition (e.g. custom-spec.yaml) [string] @@ -399,7 +399,7 @@ solo node command is used to manage hedera network nodes, it has the following s -l, --ledger-id Ledger ID (a.k.a. Chain ID) [string] -d, --chart-dir Local chart directory path (e.g. ~/solo-charts/charts [string] -n, --namespace Namespace [string] - -i, --node-aliases-unparsed Comma separated node aliases (empty means all nodes) [string] + -i, --node-aliases Comma separated node aliases (empty means all nodes) [string] --operator-id Operator ID [string] --operator-key Operator Key [string] --profile-file Resource profile definition (e.g. custom-spec.yaml) [string] @@ -417,5 +417,5 @@ solo node command is used to manage hedera network nodes, it has the following s ```text -d, --chart-dir Local chart directory path (e.g. ~/solo-charts/charts [string] -n, --namespace Namespace [string] - -i, --node-aliases-unparsed Comma separated node aliases (empty means all nodes) [string] [string] + -i, --node-aliases Comma separated node aliases (empty means all nodes) [string] [string] ```