@constellation-network/node-pilot 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -11
- package/oclif.manifest.json +4 -2
- package/package.json +1 -1
- package/projects/hypergraph/Dockerfile +4 -1
- package/projects/hypergraph/docker-compose.yml +6 -5
- package/scripts/services/node-pilot-restarter.service +2 -1
- package/scripts/services/node-pilot-updater.service +1 -0
package/README.md
CHANGED
@@ -21,7 +21,7 @@ $ npm install -g @constellation-network/node-pilot
|
|
21
21
|
$ cpilot COMMAND
|
22
22
|
running command...
|
23
23
|
$ cpilot (--version|-v)
|
24
|
-
@constellation-network/node-pilot/0.0.
|
24
|
+
@constellation-network/node-pilot/0.0.11 darwin-arm64 node-v22.15.0
|
25
25
|
$ cpilot --help [COMMAND]
|
26
26
|
USAGE
|
27
27
|
$ cpilot COMMAND
|
@@ -62,7 +62,7 @@ EXAMPLES
|
|
62
62
|
$ cpilot config
|
63
63
|
```
|
64
64
|
|
65
|
-
_See code: [src/commands/config.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
65
|
+
_See code: [src/commands/config.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/config.ts)_
|
66
66
|
|
67
67
|
## `cpilot config get [NAME]`
|
68
68
|
|
@@ -86,7 +86,7 @@ EXAMPLES
|
|
86
86
|
$ cpilot config get gl0:CL_PUBLIC_HTTP_PORT
|
87
87
|
```
|
88
88
|
|
89
|
-
_See code: [src/commands/config/get.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
89
|
+
_See code: [src/commands/config/get.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/config/get.ts)_
|
90
90
|
|
91
91
|
## `cpilot config set NAME VALUE`
|
92
92
|
|
@@ -109,7 +109,7 @@ EXAMPLES
|
|
109
109
|
$ cpilot config set gl0:CL_PUBLIC_HTTP_PORT 9000
|
110
110
|
```
|
111
111
|
|
112
|
-
_See code: [src/commands/config/set.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
112
|
+
_See code: [src/commands/config/set.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/config/set.ts)_
|
113
113
|
|
114
114
|
## `cpilot help [COMMAND]`
|
115
115
|
|
@@ -146,7 +146,7 @@ EXAMPLES
|
|
146
146
|
$ cpilot info
|
147
147
|
```
|
148
148
|
|
149
|
-
_See code: [src/commands/info.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
149
|
+
_See code: [src/commands/info.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/info.ts)_
|
150
150
|
|
151
151
|
## `cpilot logs LAYER`
|
152
152
|
|
@@ -170,7 +170,7 @@ EXAMPLES
|
|
170
170
|
$ cpilot logs
|
171
171
|
```
|
172
172
|
|
173
|
-
_See code: [src/commands/logs.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
173
|
+
_See code: [src/commands/logs.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/logs.ts)_
|
174
174
|
|
175
175
|
## `cpilot restart [LAYER]`
|
176
176
|
|
@@ -178,7 +178,7 @@ A full shutdown of the validator node, then restart
|
|
178
178
|
|
179
179
|
```
|
180
180
|
USAGE
|
181
|
-
$ cpilot restart [LAYER] [-p ] [--autostart] [--update]
|
181
|
+
$ cpilot restart [LAYER] [-p hypergraph] [--autostart] [--update]
|
182
182
|
|
183
183
|
ARGUMENTS
|
184
184
|
LAYER network layer to restart. e.g. gl0
|
@@ -189,7 +189,7 @@ FLAGS
|
|
189
189
|
|
190
190
|
GLOBAL FLAGS
|
191
191
|
-p, --project=<option> Specify the project name to use
|
192
|
-
<options: >
|
192
|
+
<options: hypergraph>
|
193
193
|
|
194
194
|
DESCRIPTION
|
195
195
|
A full shutdown of the validator node, then restart
|
@@ -198,7 +198,7 @@ EXAMPLES
|
|
198
198
|
$ cpilot restart
|
199
199
|
```
|
200
200
|
|
201
|
-
_See code: [src/commands/restart.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
201
|
+
_See code: [src/commands/restart.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/restart.ts)_
|
202
202
|
|
203
203
|
## `cpilot shutdown`
|
204
204
|
|
@@ -215,7 +215,7 @@ EXAMPLES
|
|
215
215
|
$ cpilot shutdown
|
216
216
|
```
|
217
217
|
|
218
|
-
_See code: [src/commands/shutdown.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
218
|
+
_See code: [src/commands/shutdown.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/shutdown.ts)_
|
219
219
|
|
220
220
|
## `cpilot status`
|
221
221
|
|
@@ -229,5 +229,5 @@ DESCRIPTION
|
|
229
229
|
Display node status and configuration settings
|
230
230
|
```
|
231
231
|
|
232
|
-
_See code: [src/commands/status.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.
|
232
|
+
_See code: [src/commands/status.ts](https://github.com/Constellation-Labs/node-pilot/blob/v0.0.11/src/commands/status.ts)_
|
233
233
|
<!-- commandsstop -->
|
package/oclif.manifest.json
CHANGED
@@ -111,7 +111,9 @@
|
|
111
111
|
"name": "project",
|
112
112
|
"hasDynamicHelp": false,
|
113
113
|
"multiple": false,
|
114
|
-
"options": [
|
114
|
+
"options": [
|
115
|
+
"hypergraph"
|
116
|
+
],
|
115
117
|
"type": "option"
|
116
118
|
},
|
117
119
|
"autostart": {
|
@@ -274,5 +276,5 @@
|
|
274
276
|
]
|
275
277
|
}
|
276
278
|
},
|
277
|
-
"version": "0.0.
|
279
|
+
"version": "0.0.11"
|
278
280
|
}
|
package/package.json
CHANGED
@@ -36,7 +36,10 @@ COPY dist/gl1.jar /app/jars/gl1.jar
|
|
36
36
|
COPY dist/gl0.jar /app/jars/gl0.jar
|
37
37
|
|
38
38
|
# Add health-check
|
39
|
-
|
39
|
+
#COPY ./health-check /health-check
|
40
|
+
#RUN chmod +x /health-check/bin/run.sh
|
41
|
+
#RUN chmod +x /health-check/bin/hydrate.sh
|
42
|
+
RUN npm install -g "@constellation-network/node-pilot-health-check@latest"
|
40
43
|
|
41
44
|
# Add entrypoint
|
42
45
|
COPY ./entrypoint.sh /app/entrypoint.sh
|
@@ -18,16 +18,17 @@ services:
|
|
18
18
|
- "9000:9000" # Public HTTP
|
19
19
|
- "9001:9001" # P2P HTTP
|
20
20
|
volumes:
|
21
|
+
- ./gl0/data:/app/data
|
22
|
+
- ./gl0/logs:/app/logs
|
21
23
|
- ./key.p12:/app/key.p12:ro
|
22
24
|
- ./seedlist:/app/seedlist:ro
|
23
|
-
- ./app-data/gl0-logs:/app/logs
|
24
|
-
- ./app-data/gl0-data:/app/data
|
25
25
|
healthcheck:
|
26
26
|
test: ["CMD", "cpilotHC"]
|
27
|
+
# test: ["CMD", "/health-check/bin/run.sh"]
|
27
28
|
interval: 15s
|
28
29
|
retries: 1
|
29
30
|
timeout: 15s
|
30
|
-
start_period:
|
31
|
+
start_period: 60s
|
31
32
|
profiles: ["gl0"]
|
32
33
|
labels:
|
33
34
|
autoheal: "true"
|
@@ -42,9 +43,9 @@ services:
|
|
42
43
|
- "9010:9010" # Public HTTP
|
43
44
|
- "9011:9011" # P2P HTTP
|
44
45
|
volumes:
|
46
|
+
- ./gl1/data:/app/data
|
47
|
+
- ./gl1/logs:/app/logs
|
45
48
|
- ./key.p12:/app/key.p12:ro
|
46
|
-
- ./app-data/gl1-logs:/app/logs
|
47
|
-
- ./app-data/gl1-data:/app/data
|
48
49
|
# healthcheck:
|
49
50
|
# test: ["CMD", "/app/internal-health-check.sh"]
|
50
51
|
# interval: 3s
|