cyberia 2.95.8 → 2.98.0

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.
Files changed (121) hide show
  1. package/.dockerignore +1 -2
  2. package/.env.development +0 -3
  3. package/.env.production +0 -3
  4. package/.env.test +0 -3
  5. package/.github/workflows/engine-cyberia.ci.yml +1 -1
  6. package/.prettierignore +1 -2
  7. package/baremetal/commission-workflows.json +121 -0
  8. package/baremetal/packer-workflows.json +24 -0
  9. package/bin/deploy.js +1 -1
  10. package/cli.md +105 -71
  11. package/conf.js +9 -1
  12. package/deployment.yaml +4 -4
  13. package/manifests/deployment/dd-default-development/deployment.yaml +2 -2
  14. package/manifests/deployment/dd-test-development/deployment.yaml +4 -4
  15. package/package.json +3 -2
  16. package/packer/images/Rocky9Amd64/Makefile +62 -0
  17. package/packer/images/Rocky9Amd64/QUICKSTART.md +113 -0
  18. package/packer/images/Rocky9Amd64/README.md +122 -0
  19. package/packer/images/Rocky9Amd64/http/rocky9.ks.pkrtpl.hcl +114 -0
  20. package/packer/images/Rocky9Amd64/rocky9.pkr.hcl +164 -0
  21. package/packer/images/Rocky9Arm64/Makefile +69 -0
  22. package/packer/images/Rocky9Arm64/README.md +122 -0
  23. package/packer/images/Rocky9Arm64/http/rocky9.ks.pkrtpl.hcl +114 -0
  24. package/packer/images/Rocky9Arm64/rocky9.pkr.hcl +171 -0
  25. package/packer/scripts/fuse-nbd +64 -0
  26. package/packer/scripts/fuse-tar-root +63 -0
  27. package/scripts/disk-clean.sh +128 -187
  28. package/scripts/gpu-diag.sh +2 -2
  29. package/scripts/ip-info.sh +11 -11
  30. package/scripts/ipxe-setup.sh +197 -0
  31. package/scripts/maas-setup.sh +13 -2
  32. package/scripts/maas-upload-boot-resource.sh +183 -0
  33. package/scripts/nvim.sh +1 -1
  34. package/scripts/packer-init-vars-file.sh +40 -0
  35. package/scripts/packer-setup.sh +289 -0
  36. package/scripts/ports-ls.sh +31 -0
  37. package/scripts/quick-tftp.sh +19 -0
  38. package/scripts/rocky-pwa.sh +200 -0
  39. package/scripts/rocky-setup.sh +2 -2
  40. package/scripts/rpmfusion-ffmpeg-setup.sh +4 -4
  41. package/scripts/ssl.sh +7 -7
  42. package/src/api/core/core.service.js +0 -5
  43. package/src/api/default/default.service.js +7 -5
  44. package/src/api/document/document.controller.js +15 -0
  45. package/src/api/document/document.model.js +44 -1
  46. package/src/api/document/document.router.js +7 -0
  47. package/src/api/document/document.service.js +463 -43
  48. package/src/api/file/file.model.js +112 -4
  49. package/src/api/file/file.ref.json +42 -0
  50. package/src/api/file/file.service.js +380 -32
  51. package/src/api/instance/instance.service.js +15 -10
  52. package/src/api/object-layer/object-layer.service.js +4 -19
  53. package/src/api/user/user.model.js +38 -1
  54. package/src/api/user/user.router.js +96 -63
  55. package/src/api/user/user.service.js +81 -48
  56. package/src/cli/baremetal.js +2383 -558
  57. package/src/cli/cloud-init.js +355 -232
  58. package/src/cli/cluster.js +51 -53
  59. package/src/cli/db.js +440 -160
  60. package/src/cli/deploy.js +7 -3
  61. package/src/cli/env.js +24 -3
  62. package/src/cli/image.js +1 -0
  63. package/src/cli/index.js +67 -37
  64. package/src/cli/lxd.js +3 -3
  65. package/src/cli/repository.js +164 -0
  66. package/src/cli/run.js +79 -12
  67. package/src/cli/ssh.js +11 -11
  68. package/src/client/Itemledger.index.js +962 -2
  69. package/src/client/components/core/Account.js +327 -36
  70. package/src/client/components/core/AgGrid.js +3 -0
  71. package/src/client/components/core/Auth.js +11 -3
  72. package/src/client/components/core/Chat.js +2 -2
  73. package/src/client/components/core/Content.js +161 -80
  74. package/src/client/components/core/Css.js +46 -2
  75. package/src/client/components/core/CssCore.js +16 -12
  76. package/src/client/components/core/FileExplorer.js +813 -49
  77. package/src/client/components/core/Input.js +210 -13
  78. package/src/client/components/core/LogIn.js +42 -20
  79. package/src/client/components/core/Modal.js +257 -177
  80. package/src/client/components/core/Panel.js +476 -32
  81. package/src/client/components/core/PanelForm.js +478 -108
  82. package/src/client/components/core/PublicProfile.js +888 -0
  83. package/src/client/components/core/Responsive.js +15 -7
  84. package/src/client/components/core/Router.js +117 -15
  85. package/src/client/components/core/SearchBox.js +1007 -0
  86. package/src/client/components/core/SignUp.js +26 -7
  87. package/src/client/components/core/SocketIo.js +6 -3
  88. package/src/client/components/core/Translate.js +159 -0
  89. package/src/client/components/core/Validator.js +15 -0
  90. package/src/client/components/core/windowGetDimensions.js +6 -6
  91. package/src/client/components/cyberia/CssCyberia.js +10 -4
  92. package/src/client/components/cyberia-portal/CssCyberiaPortal.js +3 -0
  93. package/src/client/components/default/MenuDefault.js +59 -12
  94. package/src/client/components/default/RoutesDefault.js +1 -0
  95. package/src/client/services/core/core.service.js +163 -1
  96. package/src/client/services/default/default.management.js +454 -76
  97. package/src/client/services/default/default.service.js +13 -6
  98. package/src/client/services/document/document.service.js +42 -0
  99. package/src/client/services/file/file.service.js +43 -16
  100. package/src/client/services/instance/instance.service.js +20 -5
  101. package/src/client/services/object-layer/object-layer.service.js +4 -5
  102. package/src/client/services/user/user.service.js +13 -9
  103. package/src/client/sw/default.sw.js +107 -184
  104. package/src/db/DataBaseProvider.js +1 -1
  105. package/src/db/mongo/MongooseDB.js +1 -1
  106. package/src/index.js +2 -1
  107. package/src/mailer/MailerProvider.js +4 -4
  108. package/src/runtime/express/Express.js +2 -1
  109. package/src/runtime/lampp/Lampp.js +2 -2
  110. package/src/server/auth.js +3 -6
  111. package/src/server/data-query.js +449 -0
  112. package/src/server/dns.js +12 -6
  113. package/src/server/object-layer.js +0 -3
  114. package/src/server/start.js +14 -6
  115. package/src/ws/IoInterface.js +2 -2
  116. package/manifests/mariadb/config.yaml +0 -10
  117. package/manifests/mariadb/secret.yaml +0 -8
  118. package/src/client/ssr/pages/404.js +0 -12
  119. package/src/client/ssr/pages/500.js +0 -12
  120. package/src/client/ssr/pages/maintenance.js +0 -14
  121. package/src/client/ssr/pages/offline.js +0 -21
package/.dockerignore CHANGED
@@ -3,7 +3,6 @@
3
3
  /engine-private
4
4
  /conf
5
5
  /tmp
6
- /bkt
7
6
  /logs
8
7
  /build
9
8
  /.env
@@ -12,4 +11,4 @@
12
11
  /grafana_data
13
12
  /manifests
14
13
  .nyc_output
15
- .cache
14
+ .cache
package/.env.development CHANGED
@@ -35,12 +35,9 @@ MAAS_ADMIN_EMAIL=admin@default.net
35
35
  MAAS_ADMIN_PASS=changethis
36
36
  TFTP_ROOT=changethis
37
37
  NETMASK=255.255.255.0
38
- RPI4_INTERFACE_NAME=changethis
39
- RPI4_IP=192.168.1.192
40
38
  MAAS_DNS=8.8.8.8
41
39
  MAAS_NTP_SERVER=changethis
42
40
  NFS_EXPORT_PATH=changethis
43
- RPI4_MAC_ADDRESS=changethis
44
41
  NVIDIA_API_KEY=changethis
45
42
  DEFAULT_ADMIN_EMAIL=admin@default.net
46
43
  DEFAULT_ADMIN_PASSWORD=changethis
package/.env.production CHANGED
@@ -36,12 +36,9 @@ MAAS_ADMIN_EMAIL=admin@default.net
36
36
  MAAS_ADMIN_PASS=changethis
37
37
  TFTP_ROOT=changethis
38
38
  NETMASK=255.255.255.0
39
- RPI4_INTERFACE_NAME=changethis
40
- RPI4_IP=192.168.1.192
41
39
  MAAS_DNS=8.8.8.8
42
40
  MAAS_NTP_SERVER=changethis
43
41
  NFS_EXPORT_PATH=changethis
44
- RPI4_MAC_ADDRESS=changethis
45
42
  NVIDIA_API_KEY=changethis
46
43
  DEFAULT_ADMIN_EMAIL=admin@default.net
47
44
  DEFAULT_ADMIN_PASSWORD=changethis
package/.env.test CHANGED
@@ -35,12 +35,9 @@ MAAS_ADMIN_EMAIL=admin@default.net
35
35
  MAAS_ADMIN_PASS=changethis
36
36
  TFTP_ROOT=changethis
37
37
  NETMASK=255.255.255.0
38
- RPI4_INTERFACE_NAME=changethis
39
- RPI4_IP=192.168.1.192
40
38
  MAAS_DNS=8.8.8.8
41
39
  MAAS_NTP_SERVER=changethis
42
40
  NFS_EXPORT_PATH=changethis
43
- RPI4_MAC_ADDRESS=changethis
44
41
  NVIDIA_API_KEY=changethis
45
42
  DEFAULT_ADMIN_EMAIL=admin@default.net
46
43
  DEFAULT_ADMIN_PASSWORD=changethis
@@ -13,7 +13,7 @@ jobs:
13
13
  # if: github.repository == 'underpostnet/engine' && startsWith(github.event.head_commit.message, 'ci(engine-cyberia-repo-build)')
14
14
  name: Update github repo package Jobs
15
15
  env:
16
- SYNC: ${{ startsWith(github.event.workflow_run.head_commit.message, 'ci(package-pwa-microservices-template-sync-dd-cyberia)') }}
16
+ SYNC: ${{ startsWith(github.event.workflow_run.head_commit.message, 'ci(package-pwa-microservices-template-sync-engine-cyberia)') }}
17
17
  runs-on: ubuntu-latest
18
18
  container:
19
19
  image: quay.io/rockylinux/rockylinux:9
package/.prettierignore CHANGED
@@ -2,7 +2,6 @@
2
2
  /public
3
3
  /conf
4
4
  /tmp
5
- /bkt
6
5
  /logs
7
6
  /build
8
7
  /.env
@@ -10,4 +9,4 @@
10
9
  /prometheus_data
11
10
  /grafana_data
12
11
  .nyc_output
13
- .cache
12
+ .cache
@@ -0,0 +1,121 @@
1
+ {
2
+ "rpi4mbarm64-iso-ram": {
3
+ "type": "iso-ram",
4
+ "osIdLike": "debian ubuntu",
5
+ "isoUrl": "https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.3-live-server-arm64.iso",
6
+ "tftpPrefix": "rpi4mb",
7
+ "bootstrapHttpServerPort": 8888,
8
+ "menuentryStr": "UNDERPOST.NET UEFI/GRUB/MAAS RPi4 ISO-RAM commissioning (ARM64)",
9
+ "networkInterfaceName": "enabcm6e4ei0",
10
+ "chronyc": {
11
+ "timezone": "America/Santiago",
12
+ "chronyConfPath": "/etc/chrony/chrony.conf"
13
+ },
14
+ "firmwares": [
15
+ {
16
+ "url": "https://github.com/pftf/RPi4/releases/download/v1.41/RPi4_UEFI_Firmware_v1.41.zip",
17
+ "gateway": "192.168.1.1",
18
+ "subnet": "255.255.255.0"
19
+ }
20
+ ],
21
+ "maas": {
22
+ "commissioning": {
23
+ "architecture": "arm64/hwe-24.04-edge",
24
+ "name": "ubuntu/noble"
25
+ }
26
+ },
27
+ "keyboard": {
28
+ "layout": "es"
29
+ }
30
+ },
31
+ "rpi4mbarm64-chroot": {
32
+ "type": "chroot-debootstrap",
33
+ "osIdLike": "debian ubuntu",
34
+ "tftpPrefix": "rpi4mb",
35
+ "bootstrapHttpServerPort": 8888,
36
+ "menuentryStr": "UNDERPOST.NET UEFI/GRUB/MAAS RPi4 CHROOT commissioning (ARM64)",
37
+ "networkInterfaceName": "enabcm6e4ei0",
38
+ "firmwares": [
39
+ {
40
+ "url": "https://github.com/pftf/RPi4/releases/download/v1.41/RPi4_UEFI_Firmware_v1.41.zip",
41
+ "gateway": "192.168.1.1",
42
+ "subnet": "255.255.255.0"
43
+ }
44
+ ],
45
+ "chronyc": {
46
+ "timezone": "America/Santiago",
47
+ "chronyConfPath": "/etc/chrony/chrony.conf"
48
+ },
49
+ "debootstrap": {
50
+ "image": {
51
+ "architecture": "arm64",
52
+ "name": "noble"
53
+ }
54
+ },
55
+ "maas": {
56
+ "commissioning": {
57
+ "architecture": "arm64/ga-24.04",
58
+ "name": "ubuntu/noble"
59
+ }
60
+ },
61
+ "keyboard": {
62
+ "layout": "es"
63
+ }
64
+ },
65
+ "rpi4mbarm64-iso-nfs": {
66
+ "type": "iso-nfs",
67
+ "osIdLike": "debian ubuntu",
68
+ "isoUrl": "https://cdimage.ubuntu.com/releases/24.04/release/ubuntu-24.04.3-live-server-arm64.iso",
69
+ "tftpPrefix": "rpi4mb",
70
+ "bootstrapHttpServerPort": 8888,
71
+ "menuentryStr": "UNDERPOST.NET UEFI/GRUB/MAAS RPi4 ISO-NFS commissioning (ARM64)",
72
+ "networkInterfaceName": "enabcm6e4ei0",
73
+ "chronyc": {
74
+ "timezone": "America/Santiago",
75
+ "chronyConfPath": "/etc/chrony/chrony.conf"
76
+ },
77
+ "firmwares": [
78
+ {
79
+ "url": "https://github.com/pftf/RPi4/releases/download/v1.41/RPi4_UEFI_Firmware_v1.41.zip",
80
+ "gateway": "192.168.1.1",
81
+ "subnet": "255.255.255.0"
82
+ }
83
+ ],
84
+ "maas": {
85
+ "commissioning": {
86
+ "architecture": "arm64/hwe-24.04-edge",
87
+ "name": "ubuntu/noble"
88
+ }
89
+ },
90
+ "keyboard": {
91
+ "layout": "es"
92
+ }
93
+ },
94
+ "rpi4mbarm64-chroot-rocky9": {
95
+ "type": "chroot-container",
96
+ "osIdLike": "rhel centos fedora",
97
+ "tftpPrefix": "rpi4mb",
98
+ "bootstrapHttpServerPort": 8888,
99
+ "menuentryStr": "UNDERPOST.NET Rocky9 Container CHROOT NFS (ARM64)",
100
+ "networkInterfaceName": "eth0",
101
+ "firmwares": [
102
+ {
103
+ "url": "https://github.com/pftf/RPi4/releases/download/v1.41/RPi4_UEFI_Firmware_v1.41.zip",
104
+ "gateway": "192.168.1.1",
105
+ "subnet": "255.255.255.0"
106
+ }
107
+ ],
108
+ "chronyc": {
109
+ "timezone": "America/Santiago",
110
+ "chronyConfPath": "/etc/chrony/chrony.conf"
111
+ },
112
+ "container": {
113
+ "image": "quay.io/rockylinux/rockylinux:9",
114
+ "architecture": "arm64",
115
+ "packages": ["kernel", "chrony", "kbd", "glibc-langpack-en", "glibc-langpack-es", "tzdata"]
116
+ },
117
+ "keyboard": {
118
+ "layout": "es"
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "Rocky9Amd64": {
3
+ "dir": "packer/images/Rocky9Amd64",
4
+ "maas": {
5
+ "name": "custom/rocky9",
6
+ "title": "Rocky 9 Custom",
7
+ "architecture": "amd64/generic",
8
+ "base_image": "rhel/9",
9
+ "filetype": "tgz",
10
+ "content": "rocky9.tar.gz"
11
+ }
12
+ },
13
+ "Rocky9Arm64": {
14
+ "dir": "packer/images/Rocky9Arm64",
15
+ "maas": {
16
+ "name": "custom/rocky9-arm64",
17
+ "title": "Rocky 9 Arm64 Custom",
18
+ "architecture": "arm64/generic",
19
+ "base_image": "rhel/9",
20
+ "filetype": "tgz",
21
+ "content": "rocky9.tar.gz"
22
+ }
23
+ }
24
+ }
package/bin/deploy.js CHANGED
@@ -658,7 +658,7 @@ ${shellExec(`git log | grep Author: | sort -u`, { stdout: true }).split(`\n`).jo
658
658
 
659
659
  // Remove PostgreSQL 17 packages and repo
660
660
  shellExec(`sudo dnf remove -y postgresql17 postgresql17-server postgresql17-contrib`);
661
- shellExec(`sudo rpm -e pgdg-redhat-repo-$(rpm -q pgdg-redhat-repo --qf '%{VERSION}-%{RELEASE}') || true`);
661
+ shellExec(`sudo rpm -e pgdg-redhat-repo-$(rpm -q pgdg-redhat-repo --qf '%{VERSION}-%{RELEASE}')`);
662
662
  shellExec(`sudo rm -f /etc/yum.repos.d/pgdg-redhat-*.repo`);
663
663
 
664
664
  // Clean up data, logs, config, and the postgres user
package/cli.md CHANGED
@@ -1,40 +1,40 @@
1
- ## underpost ci/cd cli v2.95.8
1
+ ## underpost ci/cd cli v2.98.0
2
2
 
3
3
  ### Usage: `underpost [options] [command]`
4
4
  ```
5
5
  Options:
6
- -V, --version output the version number
7
- -h, --help display help for command
6
+ -V, --version output the version number
7
+ -h, --help display help for command
8
8
 
9
9
  Commands:
10
- new [options] [app-name] Initializes a new Underpost project, service, or configuration.
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] [subConf] Sets environment variables and configurations related to a specific deployment ID.
17
- static [options] Manages static build of page, bundles, and documentation with comprehensive customization options.
18
- config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
19
- root Displays the root path of the npm installation.
20
- ip [options] [ips] Displays the current public machine IP addresses.
21
- cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
22
- deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
23
- secret [options] <platform> Manages secrets for various platforms.
24
- image [options] Manages Docker images, including building, saving, and loading into Kubernetes clusters.
25
- install Quickly imports Underpost npm dependencies by copying them.
26
- db [options] <deploy-list> Manages database operations with support for MariaDB and MongoDB, including import/export, multi-pod targeting, and Git integration.
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.
10
+ new [options] [app-name] Initializes a new Underpost project, service, or configuration.
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] [subConf] Sets environment variables and configurations related to a specific deployment ID.
17
+ static [options] Manages static build of page, bundles, and documentation with comprehensive customization options.
18
+ config [options] <operator> [key] [value] Manages Underpost configurations using various operators.
19
+ root Displays the root path of the npm installation.
20
+ ip [options] [ips] Displays the current public machine IP addresses.
21
+ cluster [options] [pod-name] Manages Kubernetes clusters, defaulting to Kind cluster initialization.
22
+ deploy [options] [deploy-list] [env] Manages application deployments, defaulting to deploying development pods.
23
+ secret [options] <platform> Manages secrets for various platforms.
24
+ image [options] Manages Docker images, including building, saving, and loading into Kubernetes clusters.
25
+ install Quickly imports Underpost npm dependencies by copying them.
26
+ db [options] [deploy-list] Manages database operations with support for MariaDB and MongoDB, including import/export, multi-pod targeting, and Git integration.
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
33
  ssh [options]
34
- run [options] <runner-id> [path] Runs specified scripts using various runners.
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
34
+ run [options] <runner-id> [path] Runs specified scripts using various runners.
35
+ lxd [options] Manages LXD containers and virtual machines.
36
+ baremetal [options] [workflow-id] [ip-address] [hostname] [ip-file-server] [ip-config] [netmask] [dns-server] Manages baremetal server operations, including installation, database setup, commissioning, and user management.
37
+ help [command] display help for command
38
38
 
39
39
  ```
40
40
 
@@ -51,7 +51,7 @@ Arguments:
51
51
  app-name The name of the new project.
52
52
 
53
53
  Options:
54
- --deploy-id <deploy-id> Crete deploy ID conf env files
54
+ --deploy-id <deploy-id> Create deploy ID conf env files
55
55
  --sub-conf <sub-conf> Create sub conf env files
56
56
  --cluster Create deploy ID cluster files and sync to
57
57
  current cluster
@@ -82,14 +82,20 @@ Initiates application servers, build pipelines, or other defined services based
82
82
  on the deployment ID.
83
83
 
84
84
  Arguments:
85
- deploy-id The unique identifier for the deployment configuration.
86
- env Optional: The environment to start (e.g., "development",
87
- "production"). Defaults to "development".
85
+ deploy-id The unique identifier for the deployment
86
+ configuration.
87
+ env Optional: The environment to start (e.g.,
88
+ "development", "production"). Defaults to
89
+ "development".
88
90
 
89
91
  Options:
90
- --run Starts application servers and monitors their health.
91
- --build Triggers the client-side application build process.
92
- -h, --help display help for command
92
+ --run Starts application servers and monitors their
93
+ health.
94
+ --build Triggers the client-side application build
95
+ process.
96
+ --underpost-quickly-install Uses Underpost Quickly Install for dependency
97
+ installation.
98
+ -h, --help display help for command
93
99
 
94
100
  ```
95
101
 
@@ -268,14 +274,16 @@ Options:
268
274
  Manages Underpost configurations using various operators.
269
275
 
270
276
  Arguments:
271
- operator The configuration operation to perform. Options: set, delete,
272
- get, list, clean.
273
- key Optional: The specific configuration key to manage.
274
- value Optional: The value to set for the configuration key.
277
+ operator The configuration operation to perform. Options: set,
278
+ delete, get, list, clean.
279
+ key Optional: The specific configuration key to manage.
280
+ value Optional: The value to set for the configuration key.
275
281
 
276
282
  Options:
277
- --plain Prints the configuration value in plain text.
278
- -h, --help display help for command
283
+ --plain Prints the configuration value in plain text.
284
+ --filter <keyword> Filters the list by matching key or value (only for list
285
+ operation).
286
+ -h, --help display help for command
279
287
 
280
288
  ```
281
289
 
@@ -302,6 +310,8 @@ Arguments:
302
310
  ips Optional args comma-separated list of IP to process.
303
311
 
304
312
  Options:
313
+ --dhcp Fetches and displays the current Dynamic Host
314
+ Configuration Protocol server IP address.
305
315
  --copy Copies the IP addresses to the clipboard.
306
316
  --ban-ingress-add Adds IP addresses to banned ingress list.
307
317
  --ban-ingress-remove Removes IP addresses from banned ingress list.
@@ -459,6 +469,8 @@ Options:
459
469
  deployment operations.
460
470
  --port <port> Sets up port forwarding from local to
461
471
  remote ports.
472
+ --cmd <cmd> Custom initialization command for
473
+ deployment (comma-separated commands).
462
474
  -h, --help display help for command
463
475
 
464
476
  ```
@@ -551,7 +563,7 @@ Options:
551
563
 
552
564
  ### `db` :
553
565
  ```
554
- Usage: underpost db [options] <deploy-list>
566
+ Usage: underpost db [options] [deploy-list]
555
567
 
556
568
  Manages database operations with support for MariaDB and MongoDB, including
557
569
  import/export, multi-pod targeting, and Git integration.
@@ -565,6 +577,7 @@ Options:
565
577
  --pod-name <pod-name> Comma-separated list of pod names or patterns (supports wildcards like "mariadb-*").
566
578
  --all-pods Target all matching pods instead of just the first one.
567
579
  --primary-pod Automatically detect and use MongoDB primary pod (MongoDB only).
580
+ --primary-pod-ensure <pod-name> Ensure setup of MongoDB replica set primary pod before operations.
568
581
  --stats Display database statistics (collection/table names with document/row counts).
569
582
  --collections <collections> Comma-separated list of database collections to operate on.
570
583
  --out-path <out-path> Specifies a custom output path for backups.
@@ -576,6 +589,12 @@ Options:
576
589
  --paths <paths> Comma-separated list of paths to filter database operations.
577
590
  --ns <ns-name> Kubernetes namespace context for database operations (defaults to "default").
578
591
  --macro-rollback-export <n-commits-reset> Exports a macro rollback script that reverts the last n commits (Git integration required).
592
+ --clean-fs-collection Cleans orphaned File documents from collections that are not referenced by any models.
593
+ --clean-fs-dry-run Dry run mode - shows what would be deleted without actually deleting (use with --clean-fs-collection).
594
+ --dev Sets the development cli context
595
+ --kubeadm Enables the kubeadm context for database operations.
596
+ --kind Enables the kind context for database operations.
597
+ --k3s Enables the k3s context for database operations.
579
598
  -h, --help display help for command
580
599
 
581
600
  ```
@@ -783,11 +802,11 @@ Options:
783
802
  Runs specified scripts using various runners.
784
803
 
785
804
  Arguments:
786
- runner-id The runner ID to run. Options: spark-template, rmi, kill, secret, underpost-config, gpu-env, tf-gpu-test, dev-cluster, metadata, svc-ls, svc-rm, ssh-cluster-info, dev-hosts-expose, dev-hosts-restore, cluster-build, template-deploy, template-deploy-image, clean, pull, release-deploy, ssh-deploy, ide, sync, stop, ssh-deploy-stop, tz, cron, get-proxy, instance-promote, instance, ls-deployments, host-update, dd-container, ip-info, monitor, db-client, git-conf, promote, metrics, cluster, deploy, disk-clean, disk-usage, dev, service, sh, log, release-cmt, sync-replica, tf-vae-test, deploy-job.
805
+ runner-id The runner ID to run. Options: spark-template, rmi, kill, secret, underpost-config, gpu-env, tf-gpu-test, dev-cluster, metadata, svc-ls, svc-rm, ssh-cluster-info, dev-hosts-expose, dev-hosts-restore, cluster-build, template-deploy, template-deploy-image, clean, pull, release-deploy, ssh-deploy, ide, sync, stop, ssh-deploy-stop, tz, cron, get-proxy, instance-promote, instance, ls-deployments, host-update, dd-container, ip-info, monitor, db-client, git-conf, promote, metrics, cluster, deploy, disk-clean, disk-usage, dev, service, sh, log, ps, ptls, release-cmt, deploy-test, sync-replica, tf-vae-test, deploy-job.
787
806
  path The input value, identifier, or path for the operation.
788
807
 
789
808
  Options:
790
- --command <command-array> Array of commands to run.
809
+ --cmd <command-list> Comma-separated list of commands to execute.
791
810
  --args <args-array> Array of arguments to pass to the command.
792
811
  --dev Sets the development context environment for the script.
793
812
  --build Set builder context runner
@@ -835,6 +854,7 @@ Options:
835
854
  --user <user> Sets user context for the runner execution.
836
855
  --hosts <hosts> Comma-separated list of hosts for the runner execution.
837
856
  --instance-id <instance-id> Sets instance id context for the runner execution.
857
+ --pid <process-id> Sets process id context for the runner execution.
838
858
  -h, --help display help for command
839
859
 
840
860
  ```
@@ -892,36 +912,50 @@ Options:
892
912
 
893
913
  ### `baremetal` :
894
914
  ```
895
- Usage: underpost baremetal [options] [workflow-id] [hostname] [ip-address]
915
+ Usage: underpost baremetal [options] [workflow-id] [ip-address] [hostname] [ip-file-server] [ip-config] [netmask] [dns-server]
896
916
 
897
917
  Manages baremetal server operations, including installation, database setup,
898
918
  commissioning, and user management.
899
919
 
900
920
  Options:
901
- --control-server-install Installs the baremetal control server.
902
- --control-server-uninstall Uninstalls the baremetal control server.
903
- --control-server-db-install Installs up the database for the baremetal
904
- control server.
905
- --control-server-db-uninstall Uninstalls the database for the baremetal
906
- control server.
907
- --commission Init workflow for commissioning a physical
908
- machine.
909
- --nfs-build Builds an NFS root filesystem for a workflow
910
- id config architecture using QEMU emulation.
911
- --nfs-mount Mounts the NFS root filesystem for a workflow
912
- id config architecture.
913
- --nfs-unmount Unmounts the NFS root filesystem for a
914
- workflow id config architecture.
915
- --nfs-sh Copies QEMU emulation root entrypoint shell
916
- command to the clipboard.
917
- --cloud-init-update Updates cloud init for a workflow id config
918
- architecture.
919
- --logs <log-id> Displays logs for log id: dhcp, cloud,
920
- machine, cloud-config.
921
- --dev Sets the development context environment for
922
- baremetal operations.
923
- --ls Lists available boot resources and machines.
924
- -h, --help display help for command
921
+ --control-server-install Installs the baremetal control server.
922
+ --control-server-uninstall Uninstalls the baremetal control server.
923
+ --control-server-restart Restarts the baremetal control server.
924
+ --control-server-db-install Installs up the database for the baremetal control server.
925
+ --control-server-db-uninstall Uninstalls the database for the baremetal control server.
926
+ --create-machine Creates a new baremetal machine entry in the database.
927
+ --mac <mac> Specifies the MAC address for baremetal machine operations. Use "random" for random MAC, "hardware" to use device's actual MAC (no spoofing), or specify a MAC address.
928
+ --ipxe Chainloads iPXE to normalize identity before commissioning.
929
+ --ipxe-rebuild Forces rebuild of iPXE binary with embedded boot script.
930
+ --install-packer Installs Packer CLI.
931
+ --packer-maas-image-template <template-path> Creates a new image folder from canonical/packer-maas template path (requires workflow-id).
932
+ --packer-workflow-id <workflow-id> Specifies the workflow ID for Packer MAAS image operations.
933
+ --packer-maas-image-build Builds a MAAS image using Packer for the workflow specified by --packer-workflow-id.
934
+ --packer-maas-image-upload Uploads an existing MAAS image artifact without rebuilding for the workflow specified by --packer-workflow-id.
935
+ --packer-maas-image-cached Continue last build without removing artifacts (used with --packer-maas-image-build).
936
+ --remove-machines <system-ids> Removes baremetal machines by comma-separated system IDs, or use "all"
937
+ --clear-discovered Clears all discovered baremetal machines from the database.
938
+ --commission Init workflow for commissioning a physical machine.
939
+ --bootstrap-http-server-path <path> Sets a custom bootstrap HTTP server path for baremetal commissioning.
940
+ --bootstrap-http-server-port <port> Sets a custom bootstrap HTTP server port for baremetal commissioning.
941
+ --iso-url <url> Uses a custom ISO URL for baremetal machine commissioning.
942
+ --nfs-build Builds an NFS root filesystem for a workflow id config architecture using QEMU emulation.
943
+ --nfs-mount Mounts the NFS root filesystem for a workflow id config architecture.
944
+ --nfs-unmount Unmounts the NFS root filesystem for a workflow id config architecture.
945
+ --nfs-build-server Builds the NFS server for a workflow id config architecture.
946
+ --nfs-sh Copies QEMU emulation root entrypoint shell command to the clipboard.
947
+ --cloud-init Sets the kernel parameters and sets the necessary seed users on the HTTP server.
948
+ --cloud-init-update Updates cloud init for a workflow id config architecture.
949
+ --ubuntu-tools-build Builds ubuntu tools for chroot environment.
950
+ --ubuntu-tools-test Tests ubuntu tools in chroot environment.
951
+ --rocky-tools-build Builds rocky linux tools for chroot environment.
952
+ --rocky-tools-test Tests rocky linux tools in chroot environment.
953
+ --bootcmd <bootcmd-list> Comma-separated list of boot commands to execute.
954
+ --runcmd <runcmd-list> Comma-separated list of run commands to execute.
955
+ --logs <log-id> Displays logs for log id: dhcp, cloud, machine, cloud-config.
956
+ --dev Sets the development context environment for baremetal operations.
957
+ --ls Lists available boot resources and machines.
958
+ -h, --help display help for command
925
959
 
926
960
  ```
927
961
 
package/conf.js CHANGED
@@ -23,6 +23,7 @@ const DefaultConf = /**/ {
23
23
  'SocketIo',
24
24
  'Translate',
25
25
  'Modal',
26
+ 'SearchBox',
26
27
  'BtnIcon',
27
28
  'Logger',
28
29
  'Css',
@@ -193,6 +194,7 @@ const DefaultConf = /**/ {
193
194
  'Keyboard',
194
195
  'Translate',
195
196
  'Modal',
197
+ 'SearchBox',
196
198
  'BtnIcon',
197
199
  'Logger',
198
200
  'Css',
@@ -336,6 +338,7 @@ const DefaultConf = /**/ {
336
338
  'SocketIo',
337
339
  'Translate',
338
340
  'Modal',
341
+ 'SearchBox',
339
342
  'BtnIcon',
340
343
  'Logger',
341
344
  'Css',
@@ -525,6 +528,7 @@ const DefaultConf = /**/ {
525
528
  'Keyboard',
526
529
  'Translate',
527
530
  'Modal',
531
+ 'SearchBox',
528
532
  'BtnIcon',
529
533
  'Logger',
530
534
  'Css',
@@ -630,6 +634,7 @@ const DefaultConf = /**/ {
630
634
  'Keyboard',
631
635
  'Translate',
632
636
  'Modal',
637
+ 'SearchBox',
633
638
  'BtnIcon',
634
639
  'Logger',
635
640
  'Css',
@@ -927,7 +932,10 @@ const DefaultConf = /**/ {
927
932
  },
928
933
  cron: {
929
934
  records: { A: [{ host: 'example.com', dns: 'dondominio', api_key: '???', user: '???' }] },
930
- jobs: { dns: { expression: '* * * * *', enabled: true }, backups: { expression: '0 1 * * *', enabled: true } },
935
+ jobs: {
936
+ dns: { expression: '* * * * *', enabled: true, instances: 1 },
937
+ backups: { expression: '0 1 * * *', enabled: true, instances: 1 },
938
+ },
931
939
  },
932
940
  }; /**/
933
941
 
package/deployment.yaml CHANGED
@@ -18,13 +18,13 @@ spec:
18
18
  spec:
19
19
  containers:
20
20
  - name: dd-cyberia-development-blue
21
- image: localhost/rockylinux9-underpost:v2.95.8
21
+ image: localhost/rockylinux9-underpost:v2.98.0
22
22
 
23
23
  command:
24
24
  - /bin/sh
25
25
  - -c
26
26
  - >
27
- npm install -g npm@11.2.0 && npm install -g underpost && underpost secret underpost --create-from-file /etc/config/.env.development && underpost start --build --run dd-cyberia development
27
+ npm install -g npm@11.2.0 && npm install -g underpost && node bin secret underpost --create-from-file /etc/config/.env.development && node bin start --build --run dd-cyberia development
28
28
 
29
29
 
30
30
  volumeMounts:
@@ -156,13 +156,13 @@ spec:
156
156
  spec:
157
157
  containers:
158
158
  - name: dd-cyberia-development-green
159
- image: localhost/rockylinux9-underpost:v2.95.8
159
+ image: localhost/rockylinux9-underpost:v2.98.0
160
160
 
161
161
  command:
162
162
  - /bin/sh
163
163
  - -c
164
164
  - >
165
- npm install -g npm@11.2.0 && npm install -g underpost && underpost secret underpost --create-from-file /etc/config/.env.development && underpost start --build --run dd-cyberia development
165
+ npm install -g npm@11.2.0 && npm install -g underpost && node bin secret underpost --create-from-file /etc/config/.env.development && node bin start --build --run dd-cyberia development
166
166
 
167
167
 
168
168
  volumeMounts:
@@ -17,7 +17,7 @@ spec:
17
17
  spec:
18
18
  containers:
19
19
  - name: dd-default-development-blue
20
- image: localhost/rockylinux9-underpost:v2.95.8
20
+ image: localhost/rockylinux9-underpost:v2.98.0
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.95.8
103
+ image: localhost/rockylinux9-underpost:v2.98.0
104
104
  # resources:
105
105
  # requests:
106
106
  # memory: "124Ki"