underpost 2.8.871 → 2.8.872
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/.github/workflows/release.cd.yml +3 -1
- package/README.md +46 -36
- package/cli.md +86 -86
- package/conf.js +2 -1
- package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
- package/package.json +2 -3
- package/src/cli/repository.js +1 -0
- package/src/cli/run.js +1 -0
- package/src/client/components/core/Account.js +2 -1
- package/src/client/components/core/AgGrid.js +2 -2
- package/src/client/components/core/CalendarCore.js +3 -4
- package/src/client/components/core/CommonJs.js +1 -2
- package/src/client/components/core/Content.js +2 -1
- package/src/client/components/core/Css.js +2 -1
- package/src/client/components/core/CssCore.js +2 -1
- package/src/client/components/core/Docs.js +4 -4
- package/src/client/components/core/FileExplorer.js +3 -3
- package/src/client/components/core/JoyStick.js +2 -2
- package/src/client/components/core/LoadingAnimation.js +2 -2
- package/src/client/components/core/Logger.js +4 -1
- package/src/client/components/core/Modal.js +17 -27
- package/src/client/components/core/ObjectLayerEngineModal.js +2 -1
- package/src/client/components/core/Pagination.js +14 -0
- package/src/client/components/core/Panel.js +3 -11
- package/src/client/components/core/PanelForm.js +6 -15
- package/src/client/components/core/Recover.js +2 -2
- package/src/client/components/core/Router.js +178 -33
- package/src/client/components/core/Stream.js +1 -1
- package/src/client/components/core/VanillaJs.js +0 -83
- package/src/client/components/core/Worker.js +2 -2
- package/src/client/components/default/MenuDefault.js +4 -3
- package/src/client/components/default/RoutesDefault.js +3 -2
- package/src/client/services/core/core.service.js +1 -1
- package/src/client/ssr/head/DefaultScripts.js +1 -0
- package/src/index.js +1 -1
- package/src/server/runtime.js +7 -0
- package/src/server/ssl.js +1 -2
package/README.md
CHANGED
|
@@ -31,6 +31,11 @@
|
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
34
39
|
|
|
35
40
|
|
|
36
41
|
|
|
@@ -40,7 +45,7 @@
|
|
|
40
45
|
<!-- badges -->
|
|
41
46
|
|
|
42
47
|
|
|
43
|
-
[](https://github.com/underpostnet/engine/actions/workflows/docker-image.yml) [](https://github.com/underpostnet/engine/actions/workflows/coverall.yml) [](https://www.npmjs.com/package/underpost) [](https://github.com/underpostnet/engine/actions/workflows/docker-image.yml) [](https://github.com/underpostnet/engine/actions/workflows/coverall.yml) [](https://www.npmjs.com/package/underpost) [](https://socket.dev/npm/package/underpost/overview/2.8.872) [](https://coveralls.io/github/underpostnet/engine?branch=master) [](https://www.npmjs.org/package/underpost) [](https://www.npmjs.com/package/underpost)
|
|
44
49
|
|
|
45
50
|
|
|
46
51
|
<!-- end-badges -->
|
|
@@ -60,6 +65,11 @@
|
|
|
60
65
|
|
|
61
66
|
|
|
62
67
|
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
63
73
|
|
|
64
74
|
|
|
65
75
|
|
|
@@ -110,44 +120,44 @@ Run dev client server
|
|
|
110
120
|
npm run dev
|
|
111
121
|
```
|
|
112
122
|
<!-- -->
|
|
113
|
-
## underpost ci/cd cli v2.8.
|
|
123
|
+
## underpost ci/cd cli v2.8.872
|
|
114
124
|
|
|
115
125
|
### Usage: `underpost [options] [command]`
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
-
|
|
120
|
-
-h, --help display help for command
|
|
126
|
+
```
|
|
127
|
+
Options:
|
|
128
|
+
-V, --version output the version number
|
|
129
|
+
-h, --help display help for command
|
|
121
130
|
|
|
122
131
|
Commands:
|
|
123
|
-
new [options] <app-name> Initializes a new Underpost project with a predefined structure.
|
|
124
|
-
start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
|
|
125
|
-
clone [options] <uri> Clones a specified GitHub repository into the current directory.
|
|
126
|
-
pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
|
|
127
|
-
cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
|
|
128
|
-
push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
|
|
129
|
-
env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
|
|
130
|
-
config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
|
|
131
|
-
root Displays the root path of the npm installation.
|
|
132
|
-
cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
|
|
133
|
-
deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
|
|
134
|
-
secret [options] <platform> Manages secrets for various platforms.
|
|
135
|
-
dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
|
|
136
|
-
dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
|
|
137
|
-
install Quickly imports Underpost npm dependencies by copying them.
|
|
138
|
-
db [options] <deploy-list> Manages database operations, including import, export, and collection management.
|
|
139
|
-
metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
|
|
140
|
-
script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
|
|
141
|
-
cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
|
|
142
|
-
fs [options] [path] Manages file storage, defaulting to file upload operations.
|
|
143
|
-
test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
|
|
144
|
-
monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
|
|
145
|
-
ssh [options] Import and start ssh server and client based on current default deployment ID.
|
|
146
|
-
run [options] <runner-id> [path] Runs a script from the specified path.
|
|
147
|
-
lxd [options] Manages LXD containers and virtual machines.
|
|
148
|
-
baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
|
|
149
|
-
help [command] display help for command
|
|
150
|
-
|
|
132
|
+
new [options] <app-name> Initializes a new Underpost project with a predefined structure.
|
|
133
|
+
start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
|
|
134
|
+
clone [options] <uri> Clones a specified GitHub repository into the current directory.
|
|
135
|
+
pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
|
|
136
|
+
cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
|
|
137
|
+
push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
|
|
138
|
+
env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
|
|
139
|
+
config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
|
|
140
|
+
root Displays the root path of the npm installation.
|
|
141
|
+
cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
|
|
142
|
+
deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
|
|
143
|
+
secret [options] <platform> Manages secrets for various platforms.
|
|
144
|
+
dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
|
|
145
|
+
dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
|
|
146
|
+
install Quickly imports Underpost npm dependencies by copying them.
|
|
147
|
+
db [options] <deploy-list> Manages database operations, including import, export, and collection management.
|
|
148
|
+
metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
|
|
149
|
+
script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
|
|
150
|
+
cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
|
|
151
|
+
fs [options] [path] Manages file storage, defaulting to file upload operations.
|
|
152
|
+
test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
|
|
153
|
+
monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
|
|
154
|
+
ssh [options] Import and start ssh server and client based on current default deployment ID.
|
|
155
|
+
run [options] <runner-id> [path] Runs a script from the specified path.
|
|
156
|
+
lxd [options] Manages LXD containers and virtual machines.
|
|
157
|
+
baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
|
|
158
|
+
help [command] display help for command
|
|
159
|
+
|
|
151
160
|
```
|
|
152
|
-
|
|
161
|
+
|
|
153
162
|
<a target="_top" href="https://github.com/underpostnet/pwa-microservices-template/blob/master/cli.md">See complete CLI Docs here.</a>
|
|
163
|
+
|
package/cli.md
CHANGED
|
@@ -1,47 +1,46 @@
|
|
|
1
|
-
## underpost ci/cd cli v2.8.
|
|
1
|
+
## underpost ci/cd cli v2.8.872
|
|
2
2
|
|
|
3
3
|
### Usage: `underpost [options] [command]`
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
-h, --help display help for command
|
|
4
|
+
```
|
|
5
|
+
Options:
|
|
6
|
+
-V, --version output the version number
|
|
7
|
+
-h, --help display help for command
|
|
9
8
|
|
|
10
9
|
Commands:
|
|
11
|
-
new [options] <app-name> Initializes a new Underpost project with a predefined structure.
|
|
12
|
-
start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
|
|
13
|
-
clone [options] <uri> Clones a specified GitHub repository into the current directory.
|
|
14
|
-
pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
|
|
15
|
-
cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
|
|
16
|
-
push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
|
|
17
|
-
env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
|
|
18
|
-
config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
|
|
19
|
-
root Displays the root path of the npm installation.
|
|
20
|
-
cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
|
|
21
|
-
deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
|
|
22
|
-
secret [options] <platform> Manages secrets for various platforms.
|
|
23
|
-
dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
|
|
24
|
-
dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
|
|
25
|
-
install Quickly imports Underpost npm dependencies by copying them.
|
|
26
|
-
db [options] <deploy-list> Manages database operations, including import, export, and collection management.
|
|
27
|
-
metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
|
|
28
|
-
script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
|
|
29
|
-
cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
|
|
30
|
-
fs [options] [path] Manages file storage, defaulting to file upload operations.
|
|
31
|
-
test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
|
|
32
|
-
monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
|
|
33
|
-
ssh [options] Import and start ssh server and client based on current default deployment ID.
|
|
34
|
-
run [options] <runner-id> [path] Runs a script from the specified path.
|
|
35
|
-
lxd [options] Manages LXD containers and virtual machines.
|
|
36
|
-
baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
|
|
37
|
-
help [command] display help for command
|
|
38
|
-
|
|
10
|
+
new [options] <app-name> Initializes a new Underpost project with a predefined structure.
|
|
11
|
+
start [options] <deploy-id> [env] Initiates application servers, build pipelines, or other defined services based on the deployment ID.
|
|
12
|
+
clone [options] <uri> Clones a specified GitHub repository into the current directory.
|
|
13
|
+
pull [options] <path> <uri> Pulls the latest changes from a specified GitHub repository.
|
|
14
|
+
cmt [options] <path> <commit-type> [module-tag] [message] Manages commits to a GitHub repository, supporting various commit types and options.
|
|
15
|
+
push [options] <path> <uri> Pushes committed changes from a local repository to a remote GitHub repository.
|
|
16
|
+
env <deploy-id> [env] Sets environment variables and configurations related to a specific deployment ID.
|
|
17
|
+
config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
|
|
18
|
+
root Displays the root path of the npm installation.
|
|
19
|
+
cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
|
|
20
|
+
deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
|
|
21
|
+
secret [options] <platform> Manages secrets for various platforms.
|
|
22
|
+
dockerfile-image-build [options] Builds a Docker image from a specified Dockerfile with various options for naming, saving, and loading.
|
|
23
|
+
dockerfile-pull-base-images [options] Pulls required Underpost Dockerfile base images and optionally loads them into clusters.
|
|
24
|
+
install Quickly imports Underpost npm dependencies by copying them.
|
|
25
|
+
db [options] <deploy-list> Manages database operations, including import, export, and collection management.
|
|
26
|
+
metadata [options] [deploy-id] [host] [path] Manages cluster metadata operations, including import and export.
|
|
27
|
+
script [options] <operator> <script-name> [script-value] Supports a variety of built-in Underpost global scripts, their preset lifecycle events, and arbitrary custom scripts.
|
|
28
|
+
cron [options] [deploy-list] [job-list] Manages cron jobs, including initialization, execution, and configuration updates.
|
|
29
|
+
fs [options] [path] Manages file storage, defaulting to file upload operations.
|
|
30
|
+
test [options] [deploy-list] Manages and runs tests, defaulting to the current Underpost default test suite.
|
|
31
|
+
monitor [options] <deploy-id> [env] Manages health server monitoring for specified deployments.
|
|
32
|
+
ssh [options] Import and start ssh server and client based on current default deployment ID.
|
|
33
|
+
run [options] <runner-id> [path] Runs a script from the specified path.
|
|
34
|
+
lxd [options] Manages LXD containers and virtual machines.
|
|
35
|
+
baremetal [options] [workflow-id] [hostname] [ip-address] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
|
|
36
|
+
help [command] display help for command
|
|
37
|
+
|
|
39
38
|
```
|
|
40
39
|
|
|
41
40
|
## Commands:
|
|
41
|
+
|
|
42
42
|
|
|
43
43
|
### `new` :
|
|
44
|
-
|
|
45
44
|
```
|
|
46
45
|
Usage: underpost new [options] <app-name>
|
|
47
46
|
|
|
@@ -54,11 +53,11 @@ Options:
|
|
|
54
53
|
--deploy-id Crete deploy ID conf env files
|
|
55
54
|
--dev Sets the development cli context
|
|
56
55
|
-h, --help display help for command
|
|
57
|
-
|
|
56
|
+
|
|
58
57
|
```
|
|
58
|
+
|
|
59
59
|
|
|
60
60
|
### `start` :
|
|
61
|
-
|
|
62
61
|
```
|
|
63
62
|
Usage: underpost start [options] <deploy-id> [env]
|
|
64
63
|
|
|
@@ -74,11 +73,11 @@ Options:
|
|
|
74
73
|
--run Starts application servers and monitors their health.
|
|
75
74
|
--build Triggers the client-side application build process.
|
|
76
75
|
-h, --help display help for command
|
|
77
|
-
|
|
76
|
+
|
|
78
77
|
```
|
|
78
|
+
|
|
79
79
|
|
|
80
80
|
### `clone` :
|
|
81
|
-
|
|
82
81
|
```
|
|
83
82
|
Usage: underpost clone [options] <uri>
|
|
84
83
|
|
|
@@ -91,11 +90,11 @@ Options:
|
|
|
91
90
|
--bare Performs a bare clone, downloading only the .git files.
|
|
92
91
|
-g8 Uses the g8 repository extension for cloning.
|
|
93
92
|
-h, --help display help for command
|
|
94
|
-
|
|
93
|
+
|
|
95
94
|
```
|
|
95
|
+
|
|
96
96
|
|
|
97
97
|
### `pull` :
|
|
98
|
-
|
|
99
98
|
```
|
|
100
99
|
Usage: underpost pull [options] <path> <uri>
|
|
101
100
|
|
|
@@ -109,11 +108,11 @@ Arguments:
|
|
|
109
108
|
Options:
|
|
110
109
|
-g8 Uses the g8 repository extension for pulling.
|
|
111
110
|
-h, --help display help for command
|
|
112
|
-
|
|
111
|
+
|
|
113
112
|
```
|
|
113
|
+
|
|
114
114
|
|
|
115
115
|
### `cmt` :
|
|
116
|
-
|
|
117
116
|
```
|
|
118
117
|
Usage: underpost cmt [options] <path> <commit-type> [module-tag] [message]
|
|
119
118
|
|
|
@@ -133,11 +132,11 @@ Options:
|
|
|
133
132
|
--copy Copies the generated commit message to the clipboard.
|
|
134
133
|
--info Displays information about available commit types.
|
|
135
134
|
-h, --help display help for command
|
|
136
|
-
|
|
135
|
+
|
|
137
136
|
```
|
|
137
|
+
|
|
138
138
|
|
|
139
139
|
### `push` :
|
|
140
|
-
|
|
141
140
|
```
|
|
142
141
|
Usage: underpost push [options] <path> <uri>
|
|
143
142
|
|
|
@@ -151,11 +150,11 @@ Options:
|
|
|
151
150
|
-f Forces the push, overwriting the remote repository history.
|
|
152
151
|
-g8 Uses the g8 repository extension for pushing.
|
|
153
152
|
-h, --help display help for command
|
|
154
|
-
|
|
153
|
+
|
|
155
154
|
```
|
|
155
|
+
|
|
156
156
|
|
|
157
157
|
### `env` :
|
|
158
|
-
|
|
159
158
|
```
|
|
160
159
|
Usage: underpost env [options] <deploy-id> [env]
|
|
161
160
|
|
|
@@ -170,11 +169,11 @@ Arguments:
|
|
|
170
169
|
|
|
171
170
|
Options:
|
|
172
171
|
-h, --help display help for command
|
|
173
|
-
|
|
172
|
+
|
|
174
173
|
```
|
|
174
|
+
|
|
175
175
|
|
|
176
176
|
### `config` :
|
|
177
|
-
|
|
178
177
|
```
|
|
179
178
|
Usage: underpost config [options] <operator> [key] [value]
|
|
180
179
|
|
|
@@ -189,11 +188,11 @@ Arguments:
|
|
|
189
188
|
Options:
|
|
190
189
|
--plain Prints the configuration value in plain text.
|
|
191
190
|
-h, --help display help for command
|
|
192
|
-
|
|
191
|
+
|
|
193
192
|
```
|
|
193
|
+
|
|
194
194
|
|
|
195
195
|
### `root` :
|
|
196
|
-
|
|
197
196
|
```
|
|
198
197
|
Usage: underpost root [options]
|
|
199
198
|
|
|
@@ -201,11 +200,11 @@ Displays the root path of the npm installation.
|
|
|
201
200
|
|
|
202
201
|
Options:
|
|
203
202
|
-h, --help display help for command
|
|
204
|
-
|
|
203
|
+
|
|
205
204
|
```
|
|
205
|
+
|
|
206
206
|
|
|
207
207
|
### `cluster` :
|
|
208
|
-
|
|
209
208
|
```
|
|
210
209
|
Usage: underpost cluster [options] [pod-name]
|
|
211
210
|
|
|
@@ -262,11 +261,11 @@ Options:
|
|
|
262
261
|
--k3s Initializes the cluster using K3s (Lightweight
|
|
263
262
|
Kubernetes).
|
|
264
263
|
-h, --help display help for command
|
|
265
|
-
|
|
264
|
+
|
|
266
265
|
```
|
|
266
|
+
|
|
267
267
|
|
|
268
268
|
### `deploy` :
|
|
269
|
-
|
|
270
269
|
```
|
|
271
270
|
Usage: underpost deploy [options] [deploy-list] [env]
|
|
272
271
|
|
|
@@ -312,11 +311,11 @@ Options:
|
|
|
312
311
|
deployment operations.
|
|
313
312
|
--restore-hosts Restores default `/etc/hosts` entries.
|
|
314
313
|
-h, --help display help for command
|
|
315
|
-
|
|
314
|
+
|
|
316
315
|
```
|
|
316
|
+
|
|
317
317
|
|
|
318
318
|
### `secret` :
|
|
319
|
-
|
|
320
319
|
```
|
|
321
320
|
Usage: underpost secret [options] <platform>
|
|
322
321
|
|
|
@@ -334,11 +333,11 @@ Options:
|
|
|
334
333
|
--list Lists all available secrets for the
|
|
335
334
|
platform.
|
|
336
335
|
-h, --help display help for command
|
|
337
|
-
|
|
336
|
+
|
|
338
337
|
```
|
|
338
|
+
|
|
339
339
|
|
|
340
340
|
### `dockerfile-image-build` :
|
|
341
|
-
|
|
342
341
|
```
|
|
343
342
|
Usage: underpost dockerfile-image-build [options]
|
|
344
343
|
|
|
@@ -365,11 +364,11 @@ Options:
|
|
|
365
364
|
cache.
|
|
366
365
|
--k3s-load Loads the image into a K3s cluster.
|
|
367
366
|
-h, --help display help for command
|
|
368
|
-
|
|
367
|
+
|
|
369
368
|
```
|
|
369
|
+
|
|
370
370
|
|
|
371
371
|
### `dockerfile-pull-base-images` :
|
|
372
|
-
|
|
373
372
|
```
|
|
374
373
|
Usage: underpost dockerfile-pull-base-images [options]
|
|
375
374
|
|
|
@@ -383,11 +382,11 @@ Options:
|
|
|
383
382
|
--version Sets a custom version for the base images.
|
|
384
383
|
--k3s-load Loads the image into a K3s cluster.
|
|
385
384
|
-h, --help display help for command
|
|
386
|
-
|
|
385
|
+
|
|
387
386
|
```
|
|
387
|
+
|
|
388
388
|
|
|
389
389
|
### `install` :
|
|
390
|
-
|
|
391
390
|
```
|
|
392
391
|
Usage: underpost install [options]
|
|
393
392
|
|
|
@@ -395,11 +394,11 @@ Quickly imports Underpost npm dependencies by copying them.
|
|
|
395
394
|
|
|
396
395
|
Options:
|
|
397
396
|
-h, --help display help for command
|
|
398
|
-
|
|
397
|
+
|
|
399
398
|
```
|
|
399
|
+
|
|
400
400
|
|
|
401
401
|
### `db` :
|
|
402
|
-
|
|
403
402
|
```
|
|
404
403
|
Usage: underpost db [options] <deploy-list>
|
|
405
404
|
|
|
@@ -429,11 +428,11 @@ Options:
|
|
|
429
428
|
--ns <ns-name> Optional: Specifies the namespace context for
|
|
430
429
|
database operations.
|
|
431
430
|
-h, --help display help for command
|
|
432
|
-
|
|
431
|
+
|
|
433
432
|
```
|
|
433
|
+
|
|
434
434
|
|
|
435
435
|
### `metadata` :
|
|
436
|
-
|
|
437
436
|
```
|
|
438
437
|
Usage: underpost metadata [options] [deploy-id] [host] [path]
|
|
439
438
|
|
|
@@ -452,11 +451,11 @@ Options:
|
|
|
452
451
|
--generate Generate cluster metadata
|
|
453
452
|
--itc Apply under container execution context
|
|
454
453
|
-h, --help display help for command
|
|
455
|
-
|
|
454
|
+
|
|
456
455
|
```
|
|
456
|
+
|
|
457
457
|
|
|
458
458
|
### `script` :
|
|
459
|
-
|
|
460
459
|
```
|
|
461
460
|
Usage: underpost script [options] <operator> <script-name> [script-value]
|
|
462
461
|
|
|
@@ -478,11 +477,11 @@ Options:
|
|
|
478
477
|
execution.
|
|
479
478
|
--pod-name <pod-name> Optional: Specifies the pod name for script execution.
|
|
480
479
|
-h, --help display help for command
|
|
481
|
-
|
|
480
|
+
|
|
482
481
|
```
|
|
482
|
+
|
|
483
483
|
|
|
484
484
|
### `cron` :
|
|
485
|
-
|
|
486
485
|
```
|
|
487
486
|
Usage: underpost cron [options] [deploy-list] [job-list]
|
|
488
487
|
|
|
@@ -500,11 +499,11 @@ Options:
|
|
|
500
499
|
--init Initializes cron jobs for the default deployment ID.
|
|
501
500
|
--git Uploads cron job configurations to GitHub.
|
|
502
501
|
-h, --help display help for command
|
|
503
|
-
|
|
502
|
+
|
|
504
503
|
```
|
|
504
|
+
|
|
505
505
|
|
|
506
506
|
### `fs` :
|
|
507
|
-
|
|
508
507
|
```
|
|
509
508
|
Usage: underpost fs [options] [path]
|
|
510
509
|
|
|
@@ -522,11 +521,11 @@ Options:
|
|
|
522
521
|
--force Forces the action, overriding any warnings or conflicts.
|
|
523
522
|
--storage-file-path <storage-file-path> Specifies a custom file storage path.
|
|
524
523
|
-h, --help display help for command
|
|
525
|
-
|
|
524
|
+
|
|
526
525
|
```
|
|
526
|
+
|
|
527
527
|
|
|
528
528
|
### `test` :
|
|
529
|
-
|
|
530
529
|
```
|
|
531
530
|
Usage: underpost test [options] [deploy-list]
|
|
532
531
|
|
|
@@ -548,11 +547,11 @@ Options:
|
|
|
548
547
|
--kind-type <kind-type> Optional: Specifies the Kind cluster type for
|
|
549
548
|
tests.
|
|
550
549
|
-h, --help display help for command
|
|
551
|
-
|
|
550
|
+
|
|
552
551
|
```
|
|
552
|
+
|
|
553
553
|
|
|
554
554
|
### `monitor` :
|
|
555
|
-
|
|
556
555
|
```
|
|
557
556
|
Usage: underpost monitor [options] <deploy-id> [env]
|
|
558
557
|
|
|
@@ -575,11 +574,11 @@ Options:
|
|
|
575
574
|
--sync Synchronizes with current proxy deployments and
|
|
576
575
|
traffic configurations.
|
|
577
576
|
-h, --help display help for command
|
|
578
|
-
|
|
577
|
+
|
|
579
578
|
```
|
|
579
|
+
|
|
580
580
|
|
|
581
581
|
### `ssh` :
|
|
582
|
-
|
|
583
582
|
```
|
|
584
583
|
Usage: underpost ssh [options]
|
|
585
584
|
|
|
@@ -589,11 +588,11 @@ Options:
|
|
|
589
588
|
--generate Generates new ssh credential and stores it in current private
|
|
590
589
|
keys file storage.
|
|
591
590
|
-h, --help display help for command
|
|
592
|
-
|
|
591
|
+
|
|
593
592
|
```
|
|
593
|
+
|
|
594
594
|
|
|
595
595
|
### `run` :
|
|
596
|
-
|
|
597
596
|
```
|
|
598
597
|
Usage: underpost run [options] <runner-id> [path]
|
|
599
598
|
|
|
@@ -615,11 +614,11 @@ Options:
|
|
|
615
614
|
--container-name <container-name> Optional: Specifies the container name for test execution.
|
|
616
615
|
--namespace <namespace> Optional: Specifies the namespace for test execution.
|
|
617
616
|
-h, --help display help for command
|
|
618
|
-
|
|
617
|
+
|
|
619
618
|
```
|
|
619
|
+
|
|
620
620
|
|
|
621
621
|
### `lxd` :
|
|
622
|
-
|
|
623
622
|
```
|
|
624
623
|
Usage: underpost lxd [options]
|
|
625
624
|
|
|
@@ -660,11 +659,11 @@ Options:
|
|
|
660
659
|
--auto-expose-k8s-ports <vm-id> Automatically exposes common Kubernetes
|
|
661
660
|
ports for the specified VM.
|
|
662
661
|
-h, --help display help for command
|
|
663
|
-
|
|
662
|
+
|
|
664
663
|
```
|
|
664
|
+
|
|
665
665
|
|
|
666
666
|
### `baremetal` :
|
|
667
|
-
|
|
668
667
|
```
|
|
669
668
|
Usage: underpost baremetal [options] [workflow-id] [hostname] [ip-address]
|
|
670
669
|
|
|
@@ -698,5 +697,6 @@ Options:
|
|
|
698
697
|
baremetal operations.
|
|
699
698
|
--ls Lists available boot resources and machines.
|
|
700
699
|
-h, --help display help for command
|
|
701
|
-
|
|
700
|
+
|
|
702
701
|
```
|
|
702
|
+
|
package/conf.js
CHANGED
|
@@ -63,6 +63,7 @@ const DefaultConf = /**/ {
|
|
|
63
63
|
'Alert',
|
|
64
64
|
'404',
|
|
65
65
|
'500',
|
|
66
|
+
'Pagination',
|
|
66
67
|
],
|
|
67
68
|
default: [
|
|
68
69
|
'MenuDefault',
|
|
@@ -110,7 +111,7 @@ const DefaultConf = /**/ {
|
|
|
110
111
|
{ folder: './node_modules/@loadingio/css-spinner/entries', public_folder: '/dist/loadingio' },
|
|
111
112
|
{
|
|
112
113
|
import_name: 'ag-grid-community',
|
|
113
|
-
import_name_build: '/dist/ag-grid-community/ag-grid-community.
|
|
114
|
+
import_name_build: '/dist/ag-grid-community/ag-grid-community.min.js',
|
|
114
115
|
folder: './node_modules/ag-grid-community/dist',
|
|
115
116
|
public_folder: '/dist/ag-grid-community',
|
|
116
117
|
styles: './node_modules/ag-grid-community/styles',
|
|
@@ -17,7 +17,7 @@ spec:
|
|
|
17
17
|
spec:
|
|
18
18
|
containers:
|
|
19
19
|
- name: dd-default-development-blue
|
|
20
|
-
image: localhost/rockylinux9-underpost:v2.8.
|
|
20
|
+
image: localhost/rockylinux9-underpost:v2.8.872
|
|
21
21
|
# resources:
|
|
22
22
|
# requests:
|
|
23
23
|
# memory: "124Ki"
|
|
@@ -100,7 +100,7 @@ spec:
|
|
|
100
100
|
spec:
|
|
101
101
|
containers:
|
|
102
102
|
- name: dd-default-development-green
|
|
103
|
-
image: localhost/rockylinux9-underpost:v2.8.
|
|
103
|
+
image: localhost/rockylinux9-underpost:v2.8.872
|
|
104
104
|
# resources:
|
|
105
105
|
# requests:
|
|
106
106
|
# memory: "124Ki"
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "module",
|
|
3
3
|
"main": "src/index.js",
|
|
4
4
|
"name": "underpost",
|
|
5
|
-
"version": "2.8.
|
|
5
|
+
"version": "2.8.872",
|
|
6
6
|
"description": "pwa api rest template",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"start": "env-cmd -f .env.production node --max-old-space-size=8192 src/server",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@loadingio/css-spinner": "^2.0.2",
|
|
55
55
|
"@neodrag/vanilla": "^2.0.3",
|
|
56
56
|
"adm-zip": "^0.5.10",
|
|
57
|
-
"ag-grid-community": "31.
|
|
57
|
+
"ag-grid-community": "^31.3.4",
|
|
58
58
|
"axios": "^1.5.1",
|
|
59
59
|
"chai": "^5.1.0",
|
|
60
60
|
"clean-jsdoc-theme": "^4.3.0",
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
"morgan": "^1.10.0",
|
|
88
88
|
"nodemailer": "^6.9.9",
|
|
89
89
|
"nodemon": "^3.0.1",
|
|
90
|
-
"pathfinding": "^0.4.18",
|
|
91
90
|
"peer": "^1.0.2",
|
|
92
91
|
"peerjs": "^1.5.2",
|
|
93
92
|
"prom-client": "^15.1.2",
|
package/src/cli/repository.js
CHANGED
|
@@ -49,6 +49,7 @@ class UnderpostRepository {
|
|
|
49
49
|
},
|
|
50
50
|
) {
|
|
51
51
|
if (commitType === 'reset') {
|
|
52
|
+
pbcopy(shellExec(`git --no-pager log -1 --pretty=%B`, { stdout: true }));
|
|
52
53
|
shellExec(`cd ${repoPath} && git reset --soft HEAD~${isNaN(parseInt(subModule)) ? 1 : parseInt(subModule)}`);
|
|
53
54
|
return;
|
|
54
55
|
}
|
package/src/cli/run.js
CHANGED
|
@@ -128,6 +128,7 @@ class UnderpostRun {
|
|
|
128
128
|
}
|
|
129
129
|
},
|
|
130
130
|
'ssh-deploy': (path, options = UnderpostRun.DEFAULT_OPTION) => {
|
|
131
|
+
actionInitLog();
|
|
131
132
|
const baseCommand = options.dev || true ? 'node bin' : 'underpost';
|
|
132
133
|
shellCd('/home/dd/engine');
|
|
133
134
|
shellExec(`git reset`);
|
|
@@ -10,7 +10,8 @@ import { Modal } from './Modal.js';
|
|
|
10
10
|
import { NotificationManager } from './NotificationManager.js';
|
|
11
11
|
import { Translate } from './Translate.js';
|
|
12
12
|
import { Validator } from './Validator.js';
|
|
13
|
-
import { append,
|
|
13
|
+
import { append, htmls, s } from './VanillaJs.js';
|
|
14
|
+
import { getProxyPath } from './Router.js';
|
|
14
15
|
|
|
15
16
|
const Account = {
|
|
16
17
|
UpdateEvent: {},
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// https://www.ag-grid.com/javascript-data-grid/themes/
|
|
3
3
|
|
|
4
4
|
import { ThemeEvents, darkTheme } from './Css.js';
|
|
5
|
-
import { append,
|
|
6
|
-
import
|
|
5
|
+
import { append, htmls, s } from './VanillaJs.js';
|
|
6
|
+
import { getProxyPath } from './Router.js';
|
|
7
7
|
|
|
8
8
|
const AgGrid = {
|
|
9
9
|
grids: {},
|