-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: dynamically construct the genesis-network.json and add it to th…
…e values file to be used during network deploy (#982) Signed-off-by: Jeromy Cannon <jeromy@swirldslabs.com> Co-authored-by: Jeromy Cannon <jeromy@swirldslabs.com>
- Loading branch information
1 parent
3c3673a
commit 1b9b7e6
Showing
24 changed files
with
450 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/** | ||
* Copyright (C) 2024 Hedera Hashgraph, LLC | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the ""License""); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an ""AS IS"" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
import type {NodeAlias, NodeAliases, PodName} from '../../types/aliases.js'; | ||
import type {NetworkNodeServices} from '../../core/network_node_services.js'; | ||
import {type PrivateKey} from '@hashgraph/sdk'; | ||
|
||
export interface NodeAddConfigClass { | ||
app: string; | ||
cacheDir: string; | ||
chainId: string; | ||
chartDirectory: string; | ||
devMode: boolean; | ||
debugNodeAlias: NodeAlias; | ||
endpointType: string; | ||
soloChartVersion: string; | ||
generateGossipKeys: boolean; | ||
generateTlsKeys: boolean; | ||
gossipEndpoints: string; | ||
grpcEndpoints: string; | ||
localBuildPath: string; | ||
namespace: string; | ||
nodeAlias: NodeAlias; | ||
releaseTag: string; | ||
adminKey: PrivateKey; | ||
allNodeAliases: NodeAliases; | ||
chartPath: string; | ||
curDate: Date; | ||
existingNodeAliases: NodeAliases; | ||
freezeAdminPrivateKey: string; | ||
keysDir: string; | ||
lastStateZipPath: string; | ||
nodeClient: any; | ||
podNames: Record<NodeAlias, PodName>; | ||
serviceMap: Map<string, NetworkNodeServices>; | ||
treasuryKey: PrivateKey; | ||
stagingDir: string; | ||
stagingKeysDir: string; | ||
grpcTlsCertificatePath: string; | ||
grpcWebTlsCertificatePath: string; | ||
grpcTlsKeyPath: string; | ||
grpcWebTlsKeyPath: string; | ||
haproxyIps: string; | ||
envoyIps: string; | ||
getUnusedConfigs: () => string[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.