cyberia 2.8.885
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/.dockerignore +15 -0
- package/.env.development +45 -0
- package/.env.production +50 -0
- package/.env.test +45 -0
- package/.github/workflows/engine-cyberia.cd.yml +31 -0
- package/.github/workflows/engine-cyberia.ci.yml +60 -0
- package/.github/workflows/ghpkg.ci.yml +87 -0
- package/.github/workflows/npmpkg.ci.yml +72 -0
- package/.github/workflows/publish.ci.yml +84 -0
- package/.github/workflows/publish.cyberia.ci.yml +84 -0
- package/.github/workflows/pwa-microservices-template-page.cd.yml +72 -0
- package/.github/workflows/pwa-microservices-template-test.ci.yml +33 -0
- package/.github/workflows/release.cd.yml +37 -0
- package/.nycrc +9 -0
- package/.prettierignore +13 -0
- package/.prettierrc +9 -0
- package/.vscode/extensions.json +51 -0
- package/.vscode/settings.json +87 -0
- package/AUTHORS.md +21 -0
- package/CHANGELOG.md +205 -0
- package/Dockerfile +28 -0
- package/LICENSE +21 -0
- package/README.md +85 -0
- package/bin/build.js +209 -0
- package/bin/cron.js +47 -0
- package/bin/cyberia.js +145 -0
- package/bin/db.js +199 -0
- package/bin/deploy.js +1293 -0
- package/bin/file.js +197 -0
- package/bin/hwt.js +49 -0
- package/bin/index.js +145 -0
- package/bin/ssl.js +63 -0
- package/bin/util.js +80 -0
- package/bin/vs.js +74 -0
- package/cli.md +714 -0
- package/conf.js +204 -0
- package/deployment.yaml +138 -0
- package/jsconfig.json +7 -0
- package/jsdoc.json +32 -0
- package/manifests/deployment/adminer/deployment.yaml +32 -0
- package/manifests/deployment/adminer/kustomization.yaml +7 -0
- package/manifests/deployment/adminer/service.yaml +13 -0
- package/manifests/deployment/dd-default-development/deployment.yaml +167 -0
- package/manifests/deployment/dd-default-development/proxy.yaml +46 -0
- package/manifests/deployment/dd-test-development/deployment.yaml +174 -0
- package/manifests/deployment/dd-test-development/proxy.yaml +51 -0
- package/manifests/deployment/fastapi/backend-deployment.yml +120 -0
- package/manifests/deployment/fastapi/backend-service.yml +19 -0
- package/manifests/deployment/fastapi/frontend-deployment.yml +54 -0
- package/manifests/deployment/fastapi/frontend-service.yml +15 -0
- package/manifests/deployment/fastapi/initial_data.sh +56 -0
- package/manifests/deployment/kafka/deployment.yaml +69 -0
- package/manifests/deployment/mongo-express/deployment.yaml +60 -0
- package/manifests/deployment/phpmyadmin/deployment.yaml +54 -0
- package/manifests/deployment/spark/spark-pi-py.yaml +21 -0
- package/manifests/deployment/tensorflow/tf-gpu-test.yaml +65 -0
- package/manifests/envoy-service-nodeport.yaml +23 -0
- package/manifests/grafana/deployment.yaml +57 -0
- package/manifests/grafana/kustomization.yaml +7 -0
- package/manifests/grafana/pvc.yaml +12 -0
- package/manifests/grafana/service.yaml +14 -0
- package/manifests/kind-config-dev.yaml +12 -0
- package/manifests/kind-config.yaml +12 -0
- package/manifests/kubeadm-calico-config.yaml +119 -0
- package/manifests/kubelet-config.yaml +65 -0
- package/manifests/letsencrypt-prod.yaml +15 -0
- package/manifests/lxd/lxd-admin-profile.yaml +17 -0
- package/manifests/lxd/lxd-preseed.yaml +30 -0
- package/manifests/lxd/underpost-setup.sh +163 -0
- package/manifests/mariadb/config.yaml +10 -0
- package/manifests/mariadb/kustomization.yaml +9 -0
- package/manifests/mariadb/pv.yaml +12 -0
- package/manifests/mariadb/pvc.yaml +10 -0
- package/manifests/mariadb/secret.yaml +8 -0
- package/manifests/mariadb/service.yaml +10 -0
- package/manifests/mariadb/statefulset.yaml +56 -0
- package/manifests/mariadb/storage-class.yaml +10 -0
- package/manifests/mongodb/backup-access.yaml +16 -0
- package/manifests/mongodb/backup-cronjob.yaml +42 -0
- package/manifests/mongodb/backup-pv-pvc.yaml +22 -0
- package/manifests/mongodb/configmap.yaml +26 -0
- package/manifests/mongodb/headless-service.yaml +10 -0
- package/manifests/mongodb/kustomization.yaml +11 -0
- package/manifests/mongodb/pv-pvc.yaml +23 -0
- package/manifests/mongodb/statefulset.yaml +126 -0
- package/manifests/mongodb/storage-class.yaml +9 -0
- package/manifests/mongodb-4.4/kustomization.yaml +7 -0
- package/manifests/mongodb-4.4/pv-pvc.yaml +23 -0
- package/manifests/mongodb-4.4/service-deployment.yaml +63 -0
- package/manifests/mysql/kustomization.yaml +7 -0
- package/manifests/mysql/pv-pvc.yaml +27 -0
- package/manifests/mysql/statefulset.yaml +55 -0
- package/manifests/postgresql/configmap.yaml +9 -0
- package/manifests/postgresql/kustomization.yaml +10 -0
- package/manifests/postgresql/pv.yaml +15 -0
- package/manifests/postgresql/pvc.yaml +13 -0
- package/manifests/postgresql/service.yaml +10 -0
- package/manifests/postgresql/statefulset.yaml +37 -0
- package/manifests/prometheus/deployment.yaml +82 -0
- package/manifests/valkey/kustomization.yaml +7 -0
- package/manifests/valkey/service.yaml +11 -0
- package/manifests/valkey/statefulset.yaml +38 -0
- package/nodemon.json +6 -0
- package/package.json +118 -0
- package/proxy.yaml +35 -0
- package/scripts/device-scan.sh +43 -0
- package/scripts/gpu-diag.sh +19 -0
- package/scripts/maas-setup.sh +120 -0
- package/scripts/nat-iptables.sh +26 -0
- package/scripts/nvim.sh +91 -0
- package/scripts/snap-clean.sh +26 -0
- package/scripts/ssh-cluster-info.sh +14 -0
- package/scripts/ssl.sh +164 -0
- package/src/api/blockchain/blockchain.controller.js +51 -0
- package/src/api/blockchain/blockchain.model.js +90 -0
- package/src/api/blockchain/blockchain.router.js +21 -0
- package/src/api/blockchain/blockchain.service.js +24 -0
- package/src/api/core/core.controller.js +69 -0
- package/src/api/core/core.model.js +11 -0
- package/src/api/core/core.router.js +24 -0
- package/src/api/core/core.service.js +35 -0
- package/src/api/crypto/crypto.controller.js +51 -0
- package/src/api/crypto/crypto.model.js +23 -0
- package/src/api/crypto/crypto.router.js +20 -0
- package/src/api/crypto/crypto.service.js +64 -0
- package/src/api/default/default.controller.js +74 -0
- package/src/api/default/default.model.js +20 -0
- package/src/api/default/default.router.js +27 -0
- package/src/api/default/default.service.js +40 -0
- package/src/api/document/document.controller.js +66 -0
- package/src/api/document/document.model.js +51 -0
- package/src/api/document/document.router.js +24 -0
- package/src/api/document/document.service.js +133 -0
- package/src/api/file/file.controller.js +67 -0
- package/src/api/file/file.model.js +19 -0
- package/src/api/file/file.router.js +22 -0
- package/src/api/file/file.service.js +100 -0
- package/src/api/instance/instance.controller.js +69 -0
- package/src/api/instance/instance.model.js +40 -0
- package/src/api/instance/instance.router.js +34 -0
- package/src/api/instance/instance.service.js +70 -0
- package/src/api/ipfs/ipfs.controller.js +51 -0
- package/src/api/ipfs/ipfs.model.js +17 -0
- package/src/api/ipfs/ipfs.router.js +20 -0
- package/src/api/ipfs/ipfs.service.js +25 -0
- package/src/api/object-layer/README.md +85 -0
- package/src/api/object-layer/object-layer.controller.js +69 -0
- package/src/api/object-layer/object-layer.model.js +181 -0
- package/src/api/object-layer/object-layer.router.js +29 -0
- package/src/api/object-layer/object-layer.service.js +49 -0
- package/src/api/test/test.controller.js +59 -0
- package/src/api/test/test.model.js +14 -0
- package/src/api/test/test.router.js +21 -0
- package/src/api/test/test.service.js +35 -0
- package/src/api/user/postman_collection.json +216 -0
- package/src/api/user/user.build.js +16 -0
- package/src/api/user/user.controller.js +35 -0
- package/src/api/user/user.model.js +100 -0
- package/src/api/user/user.router.js +400 -0
- package/src/api/user/user.service.js +500 -0
- package/src/api.js +23 -0
- package/src/cli/baremetal.js +1310 -0
- package/src/cli/cloud-init.js +548 -0
- package/src/cli/cluster.js +834 -0
- package/src/cli/cron.js +95 -0
- package/src/cli/db.js +414 -0
- package/src/cli/deploy.js +661 -0
- package/src/cli/env.js +101 -0
- package/src/cli/fs.js +256 -0
- package/src/cli/image.js +156 -0
- package/src/cli/index.js +436 -0
- package/src/cli/lxd.js +402 -0
- package/src/cli/monitor.js +260 -0
- package/src/cli/repository.js +274 -0
- package/src/cli/run.js +728 -0
- package/src/cli/script.js +85 -0
- package/src/cli/secrets.js +71 -0
- package/src/cli/ssh.js +46 -0
- package/src/cli/test.js +159 -0
- package/src/client/Cyberia.index.js +50 -0
- package/src/client/CyberiaAdmin.index.js +34 -0
- package/src/client/CyberiaPortal.index.js +36 -0
- package/src/client/Default.index.js +84 -0
- package/src/client/components/core/404.js +20 -0
- package/src/client/components/core/500.js +20 -0
- package/src/client/components/core/Account.js +326 -0
- package/src/client/components/core/AgGrid.js +191 -0
- package/src/client/components/core/Alert.js +77 -0
- package/src/client/components/core/Auth.js +342 -0
- package/src/client/components/core/Badge.js +32 -0
- package/src/client/components/core/Blockchain.js +41 -0
- package/src/client/components/core/Blog.js +9 -0
- package/src/client/components/core/BtnIcon.js +111 -0
- package/src/client/components/core/CalendarCore.js +464 -0
- package/src/client/components/core/Chat.js +64 -0
- package/src/client/components/core/ColorPalette.js +5267 -0
- package/src/client/components/core/CommonJs.js +1010 -0
- package/src/client/components/core/Content.js +196 -0
- package/src/client/components/core/Css.js +1099 -0
- package/src/client/components/core/CssCore.js +882 -0
- package/src/client/components/core/D3Chart.js +44 -0
- package/src/client/components/core/Docs.js +376 -0
- package/src/client/components/core/DropDown.js +223 -0
- package/src/client/components/core/EventsUI.js +133 -0
- package/src/client/components/core/FileExplorer.js +707 -0
- package/src/client/components/core/FullScreen.js +36 -0
- package/src/client/components/core/Input.js +383 -0
- package/src/client/components/core/JoyStick.js +80 -0
- package/src/client/components/core/Keyboard.js +73 -0
- package/src/client/components/core/LoadingAnimation.js +159 -0
- package/src/client/components/core/LogIn.js +190 -0
- package/src/client/components/core/LogOut.js +63 -0
- package/src/client/components/core/Logger.js +29 -0
- package/src/client/components/core/Modal.js +2494 -0
- package/src/client/components/core/NotificationManager.js +84 -0
- package/src/client/components/core/ObjectLayerEngine.js +1229 -0
- package/src/client/components/core/ObjectLayerEngineModal.js +443 -0
- package/src/client/components/core/Pagination.js +207 -0
- package/src/client/components/core/Panel.js +772 -0
- package/src/client/components/core/PanelForm.js +627 -0
- package/src/client/components/core/Polyhedron.js +162 -0
- package/src/client/components/core/Recover.js +207 -0
- package/src/client/components/core/Responsive.js +82 -0
- package/src/client/components/core/RichText.js +43 -0
- package/src/client/components/core/Router.js +317 -0
- package/src/client/components/core/Scroll.js +76 -0
- package/src/client/components/core/SignUp.js +125 -0
- package/src/client/components/core/SocketIo.js +74 -0
- package/src/client/components/core/Stream.js +113 -0
- package/src/client/components/core/ToggleSwitch.js +101 -0
- package/src/client/components/core/ToolTip.js +90 -0
- package/src/client/components/core/Translate.js +522 -0
- package/src/client/components/core/Validator.js +115 -0
- package/src/client/components/core/VanillaJs.js +423 -0
- package/src/client/components/core/Wallet.js +106 -0
- package/src/client/components/core/WebComponent.js +44 -0
- package/src/client/components/core/Webhook.js +25 -0
- package/src/client/components/core/Worker.js +371 -0
- package/src/client/components/core/windowGetDimensions.js +269 -0
- package/src/client/components/cyberia/BagCyberia.js +1253 -0
- package/src/client/components/cyberia/BiomeCyberia.js +130 -0
- package/src/client/components/cyberia/CharacterCyberia.js +321 -0
- package/src/client/components/cyberia/CommonCyberia.js +1834 -0
- package/src/client/components/cyberia/CssCyberia.js +816 -0
- package/src/client/components/cyberia/ElementPreviewCyberia.js +183 -0
- package/src/client/components/cyberia/ElementsCyberia.js +146 -0
- package/src/client/components/cyberia/InteractionPanelCyberia.js +1043 -0
- package/src/client/components/cyberia/JoyStickCyberia.js +53 -0
- package/src/client/components/cyberia/LogInCyberia.js +68 -0
- package/src/client/components/cyberia/LogOutCyberia.js +24 -0
- package/src/client/components/cyberia/MainUserCyberia.js +424 -0
- package/src/client/components/cyberia/MapCyberia.js +160 -0
- package/src/client/components/cyberia/MatrixCyberia.js +147 -0
- package/src/client/components/cyberia/MenuCyberia.js +575 -0
- package/src/client/components/cyberia/PixiCyberia.js +1639 -0
- package/src/client/components/cyberia/PointAndClickMovementCyberia.js +146 -0
- package/src/client/components/cyberia/QuestCyberia.js +1420 -0
- package/src/client/components/cyberia/RoutesCyberia.js +47 -0
- package/src/client/components/cyberia/SettingsCyberia.js +16 -0
- package/src/client/components/cyberia/SignUpCyberia.js +14 -0
- package/src/client/components/cyberia/SkillCyberia.js +124 -0
- package/src/client/components/cyberia/SocketIoCyberia.js +211 -0
- package/src/client/components/cyberia/TileCyberia.js +685 -0
- package/src/client/components/cyberia/TranslateCyberia.js +96 -0
- package/src/client/components/cyberia/UniverseCyberia.js +14 -0
- package/src/client/components/cyberia/WebhookCyberia.js +13 -0
- package/src/client/components/cyberia/WikiCyberia.js +144 -0
- package/src/client/components/cyberia/WorldCyberia.js +680 -0
- package/src/client/components/cyberia-admin/BiomeCyberiaAdmin.js +978 -0
- package/src/client/components/cyberia-admin/CommonCyberiaAdmin.js +29 -0
- package/src/client/components/cyberia-admin/CssCyberiaAdmin.js +15 -0
- package/src/client/components/cyberia-admin/ElementsCyberiaAdmin.js +38 -0
- package/src/client/components/cyberia-admin/InstanceEngineCyberiaAdmin.js +180 -0
- package/src/client/components/cyberia-admin/LogInCyberiaAdmin.js +34 -0
- package/src/client/components/cyberia-admin/LogOutCyberiaAdmin.js +24 -0
- package/src/client/components/cyberia-admin/MenuCyberiaAdmin.js +660 -0
- package/src/client/components/cyberia-admin/RoutesCyberiaAdmin.js +57 -0
- package/src/client/components/cyberia-admin/ServerCyberiaAdmin.js +129 -0
- package/src/client/components/cyberia-admin/SettingsCyberiaAdmin.js +16 -0
- package/src/client/components/cyberia-admin/SignUpCyberiaAdmin.js +11 -0
- package/src/client/components/cyberia-admin/SocketIoCyberiaAdmin.js +53 -0
- package/src/client/components/cyberia-admin/TranslateCyberiaAdmin.js +7 -0
- package/src/client/components/cyberia-biome/CityCyberiaBiome.js +209 -0
- package/src/client/components/cyberia-biome/CityInteriorCyberiaBiome.js +253 -0
- package/src/client/components/cyberia-biome/ColorChaosCyberiaBiome.js +26 -0
- package/src/client/components/cyberia-biome/ForestCyberiaBiome.js +191 -0
- package/src/client/components/cyberia-biome/GridBaseCyberiaBiome.js +364 -0
- package/src/client/components/cyberia-biome/SeedCityCyberiaBiome.js +347 -0
- package/src/client/components/cyberia-biome/ShopCyberiaBiome.js +12 -0
- package/src/client/components/cyberia-biome/SpaceCyberiaBiome.js +58 -0
- package/src/client/components/cyberia-portal/CommonCyberiaPortal.js +29 -0
- package/src/client/components/cyberia-portal/CssCyberiaPortal.js +132 -0
- package/src/client/components/cyberia-portal/ElementsCyberiaPortal.js +38 -0
- package/src/client/components/cyberia-portal/LogInCyberiaPortal.js +18 -0
- package/src/client/components/cyberia-portal/LogOutCyberiaPortal.js +12 -0
- package/src/client/components/cyberia-portal/MenuCyberiaPortal.js +487 -0
- package/src/client/components/cyberia-portal/RoutesCyberiaPortal.js +45 -0
- package/src/client/components/cyberia-portal/ServerCyberiaPortal.js +136 -0
- package/src/client/components/cyberia-portal/SettingsCyberiaPortal.js +16 -0
- package/src/client/components/cyberia-portal/SignUpCyberiaPortal.js +11 -0
- package/src/client/components/cyberia-portal/SocketIoCyberiaPortal.js +52 -0
- package/src/client/components/cyberia-portal/TranslateCyberiaPortal.js +12 -0
- package/src/client/components/default/CommonDefault.js +29 -0
- package/src/client/components/default/CssDefault.js +27 -0
- package/src/client/components/default/ElementsDefault.js +38 -0
- package/src/client/components/default/LogInDefault.js +14 -0
- package/src/client/components/default/LogOutDefault.js +10 -0
- package/src/client/components/default/MenuDefault.js +743 -0
- package/src/client/components/default/RoutesDefault.js +48 -0
- package/src/client/components/default/SettingsDefault.js +16 -0
- package/src/client/components/default/SignUpDefault.js +9 -0
- package/src/client/components/default/SocketIoDefault.js +54 -0
- package/src/client/components/default/TranslateDefault.js +7 -0
- package/src/client/public/default/android-chrome-144x144.png +0 -0
- package/src/client/public/default/android-chrome-192x192.png +0 -0
- package/src/client/public/default/android-chrome-256x256.png +0 -0
- package/src/client/public/default/android-chrome-36x36.png +0 -0
- package/src/client/public/default/android-chrome-384x384.png +0 -0
- package/src/client/public/default/android-chrome-48x48.png +0 -0
- package/src/client/public/default/android-chrome-512x512.png +0 -0
- package/src/client/public/default/android-chrome-72x72.png +0 -0
- package/src/client/public/default/android-chrome-96x96.png +0 -0
- package/src/client/public/default/apple-touch-icon-1024x1024.png +0 -0
- package/src/client/public/default/apple-touch-icon-114x114-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-114x114.png +0 -0
- package/src/client/public/default/apple-touch-icon-120x120-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-120x120.png +0 -0
- package/src/client/public/default/apple-touch-icon-144x144-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-144x144.png +0 -0
- package/src/client/public/default/apple-touch-icon-152x152-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-152x152.png +0 -0
- package/src/client/public/default/apple-touch-icon-167x167.png +0 -0
- package/src/client/public/default/apple-touch-icon-180x180-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-180x180.png +0 -0
- package/src/client/public/default/apple-touch-icon-57x57-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-57x57.png +0 -0
- package/src/client/public/default/apple-touch-icon-60x60-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-60x60.png +0 -0
- package/src/client/public/default/apple-touch-icon-72x72-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-72x72.png +0 -0
- package/src/client/public/default/apple-touch-icon-76x76-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon-76x76.png +0 -0
- package/src/client/public/default/apple-touch-icon-precomposed.png +0 -0
- package/src/client/public/default/apple-touch-icon.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1125x2436.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1136x640.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1170x2532.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1179x2556.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1242x2208.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1242x2688.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1284x2778.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1290x2796.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1334x750.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1488x2266.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1536x2048.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1620x2160.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1640x2160.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1668x2224.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1668x2388.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-1792x828.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2048x1536.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2048x2732.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2160x1620.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2160x1640.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2208x1242.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2224x1668.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2266x1488.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2388x1668.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2436x1125.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2532x1170.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2556x1179.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2688x1242.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2732x2048.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2778x1284.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-2796x1290.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-640x1136.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-750x1334.png +0 -0
- package/src/client/public/default/apple-touch-startup-image-828x1792.png +0 -0
- package/src/client/public/default/assets/background/dark.jpg +0 -0
- package/src/client/public/default/assets/background/dark.svg +557 -0
- package/src/client/public/default/assets/background/white.jpg +0 -0
- package/src/client/public/default/assets/background/white0-min.jpg +0 -0
- package/src/client/public/default/assets/background/white0.jpg +0 -0
- package/src/client/public/default/assets/logo/base-icon.png +0 -0
- package/src/client/public/default/assets/logo/underpost.gif +0 -0
- package/src/client/public/default/assets/mailer/api-user-check.png +0 -0
- package/src/client/public/default/assets/mailer/api-user-default-avatar.png +0 -0
- package/src/client/public/default/assets/mailer/api-user-invalid-token.png +0 -0
- package/src/client/public/default/assets/mailer/api-user-recover.png +0 -0
- package/src/client/public/default/browserconfig.xml +12 -0
- package/src/client/public/default/favicon-16x16.png +0 -0
- package/src/client/public/default/favicon-32x32.png +0 -0
- package/src/client/public/default/favicon-48x48.png +0 -0
- package/src/client/public/default/favicon.ico +0 -0
- package/src/client/public/default/manifest.webmanifest +69 -0
- package/src/client/public/default/mstile-144x144.png +0 -0
- package/src/client/public/default/mstile-150x150.png +0 -0
- package/src/client/public/default/mstile-310x150.png +0 -0
- package/src/client/public/default/mstile-310x310.png +0 -0
- package/src/client/public/default/mstile-70x70.png +0 -0
- package/src/client/public/default/plantuml/client-conf.svg +1 -0
- package/src/client/public/default/plantuml/client-schema.svg +1 -0
- package/src/client/public/default/plantuml/cron-conf.svg +1 -0
- package/src/client/public/default/plantuml/cron-schema.svg +1 -0
- package/src/client/public/default/plantuml/server-conf.svg +1 -0
- package/src/client/public/default/plantuml/server-schema.svg +1 -0
- package/src/client/public/default/plantuml/ssr-conf.svg +1 -0
- package/src/client/public/default/plantuml/ssr-schema.svg +1 -0
- package/src/client/public/default/safari-pinned-tab.svg +24 -0
- package/src/client/public/default/site.webmanifest +69 -0
- package/src/client/public/default/sitemap +148 -0
- package/src/client/public/default/yandex-browser-50x50.png +0 -0
- package/src/client/public/default/yandex-browser-manifest.json +9 -0
- package/src/client/public/doc/favicon.ico +0 -0
- package/src/client/public/doc/sitemap +148 -0
- package/src/client/public/test/favicon.ico +0 -0
- package/src/client/public/test/sitemap +148 -0
- package/src/client/services/blockchain/blockchain.service.js +73 -0
- package/src/client/services/core/core.service.js +165 -0
- package/src/client/services/crypto/crypto.service.js +73 -0
- package/src/client/services/default/default.management.js +450 -0
- package/src/client/services/default/default.service.js +98 -0
- package/src/client/services/document/document.service.js +97 -0
- package/src/client/services/file/file.service.js +72 -0
- package/src/client/services/instance/instance.management.js +78 -0
- package/src/client/services/instance/instance.service.js +97 -0
- package/src/client/services/ipfs/ipfs.service.js +73 -0
- package/src/client/services/object-layer/object-layer.service.js +93 -0
- package/src/client/services/test/test.service.js +73 -0
- package/src/client/services/user/user.management.js +56 -0
- package/src/client/services/user/user.service.js +108 -0
- package/src/client/ssr/Render.js +237 -0
- package/src/client/ssr/body/404.js +73 -0
- package/src/client/ssr/body/500.js +72 -0
- package/src/client/ssr/body/CacheControl.js +114 -0
- package/src/client/ssr/body/CyberiaDefaultSplashScreen.js +90 -0
- package/src/client/ssr/body/CyberiaSplashScreenLore.js +424 -0
- package/src/client/ssr/body/DefaultSplashScreen.js +90 -0
- package/src/client/ssr/email/DefaultRecoverEmail.js +21 -0
- package/src/client/ssr/email/DefaultVerifyEmail.js +17 -0
- package/src/client/ssr/head/Css.js +241 -0
- package/src/client/ssr/head/CyberiaAdminScripts.js +6 -0
- package/src/client/ssr/head/CyberiaPortalScripts.js +6 -0
- package/src/client/ssr/head/CyberiaScripts.js +6 -0
- package/src/client/ssr/head/DefaultScripts.js +6 -0
- package/src/client/ssr/head/Microdata.js +11 -0
- package/src/client/ssr/head/Production.js +1 -0
- package/src/client/ssr/head/Pwa.js +146 -0
- package/src/client/ssr/head/Seo.js +15 -0
- package/src/client/ssr/mailer/DefaultRecoverEmail.js +21 -0
- package/src/client/ssr/mailer/DefaultVerifyEmail.js +17 -0
- package/src/client/ssr/offline/Maintenance.js +63 -0
- package/src/client/ssr/offline/NoNetworkConnection.js +67 -0
- package/src/client/ssr/pages/404.js +12 -0
- package/src/client/ssr/pages/500.js +12 -0
- package/src/client/ssr/pages/Test.js +198 -0
- package/src/client/ssr/pages/maintenance.js +14 -0
- package/src/client/ssr/pages/offline.js +21 -0
- package/src/client/sw/default.sw.js +108 -0
- package/src/client/sw/template.sw.js +84 -0
- package/src/client.build.js +22 -0
- package/src/client.dev.js +24 -0
- package/src/db/DataBaseProvider.js +98 -0
- package/src/db/mariadb/MariaDB.js +66 -0
- package/src/db/mongo/MongooseDB.js +70 -0
- package/src/index.js +198 -0
- package/src/mailer/EmailRender.js +116 -0
- package/src/mailer/MailerProvider.js +213 -0
- package/src/monitor.js +24 -0
- package/src/proxy.js +22 -0
- package/src/runtime/express/Express.js +256 -0
- package/src/runtime/lampp/Dockerfile +50 -0
- package/src/runtime/lampp/Lampp.js +343 -0
- package/src/server/auth.js +689 -0
- package/src/server/backup.js +96 -0
- package/src/server/client-build-docs.js +205 -0
- package/src/server/client-build-live.js +109 -0
- package/src/server/client-build.js +690 -0
- package/src/server/client-dev-server.js +87 -0
- package/src/server/client-formatted.js +87 -0
- package/src/server/client-icons.js +108 -0
- package/src/server/conf.js +1071 -0
- package/src/server/crypto.js +210 -0
- package/src/server/dns.js +276 -0
- package/src/server/downloader.js +74 -0
- package/src/server/json-schema.js +77 -0
- package/src/server/logger.js +197 -0
- package/src/server/network.js +72 -0
- package/src/server/object-layer.js +294 -0
- package/src/server/peer.js +69 -0
- package/src/server/process.js +171 -0
- package/src/server/proxy.js +110 -0
- package/src/server/runtime.js +170 -0
- package/src/server/ssr.js +127 -0
- package/src/server/start.js +161 -0
- package/src/server/tls.js +251 -0
- package/src/server/valkey.js +293 -0
- package/src/server.js +25 -0
- package/src/ws/IoInterface.js +139 -0
- package/src/ws/IoServer.js +88 -0
- package/src/ws/core/channels/core.ws.chat.js +23 -0
- package/src/ws/core/channels/core.ws.mailer.js +35 -0
- package/src/ws/core/channels/core.ws.stream.js +31 -0
- package/src/ws/core/core.ws.connection.js +62 -0
- package/src/ws/core/core.ws.emit.js +53 -0
- package/src/ws/core/core.ws.server.js +76 -0
- package/src/ws/core/management/core.ws.chat.js +8 -0
- package/src/ws/core/management/core.ws.mailer.js +16 -0
- package/src/ws/core/management/core.ws.stream.js +8 -0
- package/src/ws/cyberia/channels/cyberia.ws.bot.js +56 -0
- package/src/ws/cyberia/channels/cyberia.ws.skill.js +51 -0
- package/src/ws/cyberia/channels/cyberia.ws.user.js +437 -0
- package/src/ws/cyberia/cyberia.ws.connection.js +36 -0
- package/src/ws/cyberia/cyberia.ws.emit.js +14 -0
- package/src/ws/cyberia/cyberia.ws.server.js +67 -0
- package/src/ws/cyberia/management/cyberia.ws.bot.js +669 -0
- package/src/ws/cyberia/management/cyberia.ws.skill.js +441 -0
- package/src/ws/cyberia/management/cyberia.ws.user.js +188 -0
- package/src/ws/default/channels/default.ws.main.js +16 -0
- package/src/ws/default/default.ws.connection.js +22 -0
- package/src/ws/default/default.ws.emit.js +14 -0
- package/src/ws/default/default.ws.server.js +20 -0
- package/src/ws/default/management/default.ws.main.js +8 -0
- package/test/api.test.js +53 -0
- package/test/crypto.test.js +117 -0
package/cli.md
ADDED
|
@@ -0,0 +1,714 @@
|
|
|
1
|
+
## underpost ci/cd cli v2.8.885
|
|
2
|
+
|
|
3
|
+
### Usage: `underpost [options] [command]`
|
|
4
|
+
```
|
|
5
|
+
Options:
|
|
6
|
+
-V, --version output the version number
|
|
7
|
+
-h, --help display help for command
|
|
8
|
+
|
|
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
|
+
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
|
+
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Commands:
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### `new` :
|
|
44
|
+
```
|
|
45
|
+
Usage: underpost new [options] <app-name>
|
|
46
|
+
|
|
47
|
+
Initializes a new Underpost project, service, or configuration.
|
|
48
|
+
|
|
49
|
+
Arguments:
|
|
50
|
+
app-name The name or deploy-id of the application to create.
|
|
51
|
+
|
|
52
|
+
Options:
|
|
53
|
+
--deploy-id Crete deploy ID conf env files
|
|
54
|
+
--cluster Create deploy ID cluster files and sync to current
|
|
55
|
+
cluster
|
|
56
|
+
--dev Sets the development cli context
|
|
57
|
+
--sub-conf <sub-conf> Create sub conf env files
|
|
58
|
+
-h, --help display help for command
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### `start` :
|
|
64
|
+
```
|
|
65
|
+
Usage: underpost start [options] <deploy-id> [env]
|
|
66
|
+
|
|
67
|
+
Initiates application servers, build pipelines, or other defined services based
|
|
68
|
+
on the deployment ID.
|
|
69
|
+
|
|
70
|
+
Arguments:
|
|
71
|
+
deploy-id The unique identifier for the deployment configuration.
|
|
72
|
+
env Optional: The environment to start (e.g., "development",
|
|
73
|
+
"production"). Defaults to "development".
|
|
74
|
+
|
|
75
|
+
Options:
|
|
76
|
+
--run Starts application servers and monitors their health.
|
|
77
|
+
--build Triggers the client-side application build process.
|
|
78
|
+
-h, --help display help for command
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### `clone` :
|
|
84
|
+
```
|
|
85
|
+
Usage: underpost clone [options] <uri>
|
|
86
|
+
|
|
87
|
+
Clones a specified GitHub repository into the current directory.
|
|
88
|
+
|
|
89
|
+
Arguments:
|
|
90
|
+
uri The URI of the GitHub repository (e.g., "username/repository").
|
|
91
|
+
|
|
92
|
+
Options:
|
|
93
|
+
--bare Performs a bare clone, downloading only the .git files.
|
|
94
|
+
-g8 Uses the g8 repository extension for cloning.
|
|
95
|
+
-h, --help display help for command
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
### `pull` :
|
|
101
|
+
```
|
|
102
|
+
Usage: underpost pull [options] <path> <uri>
|
|
103
|
+
|
|
104
|
+
Pulls the latest changes from a specified GitHub repository.
|
|
105
|
+
|
|
106
|
+
Arguments:
|
|
107
|
+
path The absolute or relative directory path where the repository is
|
|
108
|
+
located.
|
|
109
|
+
uri The URI of the GitHub repository (e.g., "username/repository").
|
|
110
|
+
|
|
111
|
+
Options:
|
|
112
|
+
-g8 Uses the g8 repository extension for pulling.
|
|
113
|
+
-h, --help display help for command
|
|
114
|
+
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
### `cmt` :
|
|
119
|
+
```
|
|
120
|
+
Usage: underpost cmt [options] <path> <commit-type> [module-tag] [message]
|
|
121
|
+
|
|
122
|
+
Manages commits to a GitHub repository, supporting various commit types and
|
|
123
|
+
options.
|
|
124
|
+
|
|
125
|
+
Arguments:
|
|
126
|
+
path The absolute or relative directory path of the repository.
|
|
127
|
+
commit-type The type of commit to perform. Options: feat, fix, docs, style,
|
|
128
|
+
refactor, perf, ci, cd, infra, build, test, chore, revert,
|
|
129
|
+
backup.
|
|
130
|
+
module-tag Optional: Sets a specific module tag for the commit.
|
|
131
|
+
message Optional: Provides an additional custom message for the commit.
|
|
132
|
+
|
|
133
|
+
Options:
|
|
134
|
+
--empty Allows committing with empty files.
|
|
135
|
+
--copy Copies the generated commit message to the clipboard.
|
|
136
|
+
--info Displays information about available commit types.
|
|
137
|
+
-h, --help display help for command
|
|
138
|
+
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### `push` :
|
|
143
|
+
```
|
|
144
|
+
Usage: underpost push [options] <path> <uri>
|
|
145
|
+
|
|
146
|
+
Pushes committed changes from a local repository to a remote GitHub repository.
|
|
147
|
+
|
|
148
|
+
Arguments:
|
|
149
|
+
path The absolute or relative directory path of the repository.
|
|
150
|
+
uri The URI of the GitHub repository (e.g., "username/repository").
|
|
151
|
+
|
|
152
|
+
Options:
|
|
153
|
+
-f Forces the push, overwriting the remote repository history.
|
|
154
|
+
-g8 Uses the g8 repository extension for pushing.
|
|
155
|
+
-h, --help display help for command
|
|
156
|
+
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
### `env` :
|
|
161
|
+
```
|
|
162
|
+
Usage: underpost env [options] [deploy-id] [env] [subConf]
|
|
163
|
+
|
|
164
|
+
Sets environment variables and configurations related to a specific deployment
|
|
165
|
+
ID.
|
|
166
|
+
|
|
167
|
+
Arguments:
|
|
168
|
+
deploy-id The deployment configuration ID. Use 'clean' to restore default
|
|
169
|
+
environment settings. User 'root' to load root env. User
|
|
170
|
+
'current' to get plain current deploy Id.
|
|
171
|
+
env Optional: The environment to set (e.g., "production",
|
|
172
|
+
"development"). Defaults to "production".
|
|
173
|
+
subConf Optional: The sub configuration to set.
|
|
174
|
+
|
|
175
|
+
Options:
|
|
176
|
+
-h, --help display help for command
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
### `config` :
|
|
182
|
+
```
|
|
183
|
+
Usage: underpost config [options] <operator> [key] [value]
|
|
184
|
+
|
|
185
|
+
Manages Underpost configurations using various operators.
|
|
186
|
+
|
|
187
|
+
Arguments:
|
|
188
|
+
operator The configuration operation to perform. Options: set, delete,
|
|
189
|
+
get, list, clean.
|
|
190
|
+
key Optional: The specific configuration key to manage.
|
|
191
|
+
value Optional: The value to set for the configuration key.
|
|
192
|
+
|
|
193
|
+
Options:
|
|
194
|
+
--plain Prints the configuration value in plain text.
|
|
195
|
+
-h, --help display help for command
|
|
196
|
+
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
### `root` :
|
|
201
|
+
```
|
|
202
|
+
Usage: underpost root [options]
|
|
203
|
+
|
|
204
|
+
Displays the root path of the npm installation.
|
|
205
|
+
|
|
206
|
+
Options:
|
|
207
|
+
-h, --help display help for command
|
|
208
|
+
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
### `cluster` :
|
|
213
|
+
```
|
|
214
|
+
Usage: underpost cluster [options] [pod-name]
|
|
215
|
+
|
|
216
|
+
Manages Kubernetes clusters, defaulting to Kind cluster initialization.
|
|
217
|
+
|
|
218
|
+
Arguments:
|
|
219
|
+
pod-name Optional: Filters information by a specific pod name.
|
|
220
|
+
|
|
221
|
+
Options:
|
|
222
|
+
--reset Deletes all clusters and prunes all related data and
|
|
223
|
+
caches.
|
|
224
|
+
--mariadb Initializes the cluster with a MariaDB statefulset.
|
|
225
|
+
--mysql Initializes the cluster with a MySQL statefulset.
|
|
226
|
+
--mongodb Initializes the cluster with a MongoDB statefulset.
|
|
227
|
+
--mongo-db-host <host> Set custom mongo db host
|
|
228
|
+
--postgresql Initializes the cluster with a PostgreSQL
|
|
229
|
+
statefulset.
|
|
230
|
+
--mongodb4 Initializes the cluster with a MongoDB 4.4 service.
|
|
231
|
+
--valkey Initializes the cluster with a Valkey service.
|
|
232
|
+
--contour Initializes the cluster with Project Contour base
|
|
233
|
+
HTTPProxy and Envoy.
|
|
234
|
+
--cert-manager Initializes the cluster with a Let's Encrypt
|
|
235
|
+
production ClusterIssuer.
|
|
236
|
+
--dedicated-gpu Initializes the cluster with dedicated GPU base
|
|
237
|
+
resources and environment settings.
|
|
238
|
+
--info Retrieves information about all deployed Kubernetes
|
|
239
|
+
objects.
|
|
240
|
+
--full Initializes the cluster with all available
|
|
241
|
+
statefulsets and services.
|
|
242
|
+
--ns-use <ns-name> Switches the current Kubernetes context to the
|
|
243
|
+
specified namespace.
|
|
244
|
+
--kubeadm Initializes the cluster using kubeadm for control
|
|
245
|
+
plane management.
|
|
246
|
+
--grafana Initializes the cluster with a Grafana deployment.
|
|
247
|
+
--prom [hosts] Initializes the cluster with a Prometheus Operator
|
|
248
|
+
deployment and monitor scrap for specified hosts.
|
|
249
|
+
--dev Initializes a development-specific cluster
|
|
250
|
+
configuration.
|
|
251
|
+
--list-pods Displays detailed information about all pods.
|
|
252
|
+
--info-capacity Displays the current total machine capacity
|
|
253
|
+
information.
|
|
254
|
+
--info-capacity-pod Displays the current machine capacity information per
|
|
255
|
+
pod.
|
|
256
|
+
--pull-image Sets an optional associated image to pull during
|
|
257
|
+
initialization.
|
|
258
|
+
--init-host Installs necessary Kubernetes node CLI tools (e.g.,
|
|
259
|
+
kind, kubeadm, docker, podman, helm).
|
|
260
|
+
--uninstall-host Uninstalls all host components installed by
|
|
261
|
+
init-host.
|
|
262
|
+
--config Sets the base Kubernetes node configuration.
|
|
263
|
+
--worker Sets the context for a worker node.
|
|
264
|
+
--chown Sets the appropriate ownership for Kubernetes
|
|
265
|
+
kubeconfig files.
|
|
266
|
+
--k3s Initializes the cluster using K3s (Lightweight
|
|
267
|
+
Kubernetes).
|
|
268
|
+
-h, --help display help for command
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
### `deploy` :
|
|
274
|
+
```
|
|
275
|
+
Usage: underpost deploy [options] [deploy-list] [env]
|
|
276
|
+
|
|
277
|
+
Manages application deployments, defaulting to deploying development pods.
|
|
278
|
+
|
|
279
|
+
Arguments:
|
|
280
|
+
deploy-list A comma-separated list of deployment IDs
|
|
281
|
+
(e.g., "default-a,default-b").
|
|
282
|
+
env Optional: The environment for deployment
|
|
283
|
+
(e.g., "development", "production").
|
|
284
|
+
Defaults to "development".
|
|
285
|
+
|
|
286
|
+
Options:
|
|
287
|
+
--remove Deletes specified deployments and their
|
|
288
|
+
associated services.
|
|
289
|
+
--sync Synchronizes deployment environment
|
|
290
|
+
variables, ports, and replica counts.
|
|
291
|
+
--info-router Displays the current router structure and
|
|
292
|
+
configuration.
|
|
293
|
+
--expose Exposes services matching the provided
|
|
294
|
+
deployment ID list.
|
|
295
|
+
--info-util Displays useful `kubectl` utility
|
|
296
|
+
management commands.
|
|
297
|
+
--cert Resets TLS/SSL certificate secrets for
|
|
298
|
+
deployments.
|
|
299
|
+
--cert-hosts <hosts> Resets TLS/SSL certificate secrets for
|
|
300
|
+
specified hosts.
|
|
301
|
+
--node <node> Sets optional node for deployment
|
|
302
|
+
operations.
|
|
303
|
+
--build-manifest Builds Kubernetes YAML manifests, including
|
|
304
|
+
deployments, services, proxies, and
|
|
305
|
+
secrets.
|
|
306
|
+
--replicas <replicas> Sets a custom number of replicas for
|
|
307
|
+
deployments.
|
|
308
|
+
--image <image> Sets a custom image for deployments.
|
|
309
|
+
--versions <deployment-versions> A comma-separated list of custom deployment
|
|
310
|
+
versions.
|
|
311
|
+
--traffic <traffic-versions> A comma-separated list of custom deployment
|
|
312
|
+
traffic weights.
|
|
313
|
+
--disable-update-deployment Disables updates to deployments.
|
|
314
|
+
--info-traffic Retrieves traffic configuration from
|
|
315
|
+
current resource deployments.
|
|
316
|
+
--kubeadm Enables the kubeadm context for deployment
|
|
317
|
+
operations.
|
|
318
|
+
--etc-hosts Enables the etc-hosts context for
|
|
319
|
+
deployment operations.
|
|
320
|
+
--restore-hosts Restores default `/etc/hosts` entries.
|
|
321
|
+
-h, --help display help for command
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
### `secret` :
|
|
327
|
+
```
|
|
328
|
+
Usage: underpost secret [options] <platform>
|
|
329
|
+
|
|
330
|
+
Manages secrets for various platforms.
|
|
331
|
+
|
|
332
|
+
Arguments:
|
|
333
|
+
platform The secret management platform. Options:
|
|
334
|
+
docker, underpost.
|
|
335
|
+
|
|
336
|
+
Options:
|
|
337
|
+
--init Initializes the secrets platform
|
|
338
|
+
environment.
|
|
339
|
+
--create-from-file <path-env-file> Creates secrets from a specified
|
|
340
|
+
environment file.
|
|
341
|
+
--list Lists all available secrets for the
|
|
342
|
+
platform.
|
|
343
|
+
-h, --help display help for command
|
|
344
|
+
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### `dockerfile-image-build` :
|
|
349
|
+
```
|
|
350
|
+
Usage: underpost dockerfile-image-build [options]
|
|
351
|
+
|
|
352
|
+
Builds a Docker image from a specified Dockerfile with various options for
|
|
353
|
+
naming, saving, and loading.
|
|
354
|
+
|
|
355
|
+
Options:
|
|
356
|
+
--path [path] The path to the Dockerfile directory.
|
|
357
|
+
--image-name [image-name] Sets a custom name for the Docker image.
|
|
358
|
+
--image-path [image-path] Sets the output path for the tar image
|
|
359
|
+
archive.
|
|
360
|
+
--dockerfile-name [dockerfile-name] Sets a custom name for the Dockerfile.
|
|
361
|
+
--podman-save Exports the built image as a tar file
|
|
362
|
+
using Podman.
|
|
363
|
+
--kind-load Imports the tar image into a Kind
|
|
364
|
+
cluster.
|
|
365
|
+
--kubeadm-load Imports the tar image into a Kubeadm
|
|
366
|
+
cluster.
|
|
367
|
+
--secrets Includes Dockerfile environment secrets
|
|
368
|
+
during the build.
|
|
369
|
+
--secrets-path [secrets-path] Specifies a custom path for Dockerfile
|
|
370
|
+
environment secrets.
|
|
371
|
+
--reset Performs a build without using the
|
|
372
|
+
cache.
|
|
373
|
+
--k3s-load Loads the image into a K3s cluster.
|
|
374
|
+
-h, --help display help for command
|
|
375
|
+
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
### `dockerfile-pull-base-images` :
|
|
380
|
+
```
|
|
381
|
+
Usage: underpost dockerfile-pull-base-images [options]
|
|
382
|
+
|
|
383
|
+
Pulls required Underpost Dockerfile base images and optionally loads them into
|
|
384
|
+
clusters.
|
|
385
|
+
|
|
386
|
+
Options:
|
|
387
|
+
--path [path] The path to the Dockerfile directory.
|
|
388
|
+
--kind-load Imports the pulled image into a Kind cluster.
|
|
389
|
+
--kubeadm-load Imports the pulled image into a Kubeadm cluster.
|
|
390
|
+
--version Sets a custom version for the base images.
|
|
391
|
+
--k3s-load Loads the image into a K3s cluster.
|
|
392
|
+
-h, --help display help for command
|
|
393
|
+
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
### `install` :
|
|
398
|
+
```
|
|
399
|
+
Usage: underpost install [options]
|
|
400
|
+
|
|
401
|
+
Quickly imports Underpost npm dependencies by copying them.
|
|
402
|
+
|
|
403
|
+
Options:
|
|
404
|
+
-h, --help display help for command
|
|
405
|
+
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
### `db` :
|
|
410
|
+
```
|
|
411
|
+
Usage: underpost db [options] <deploy-list>
|
|
412
|
+
|
|
413
|
+
Manages database operations, including import, export, and collection
|
|
414
|
+
management.
|
|
415
|
+
|
|
416
|
+
Arguments:
|
|
417
|
+
deploy-list A comma-separated list of deployment IDs (e.g.,
|
|
418
|
+
"default-a,default-b").
|
|
419
|
+
|
|
420
|
+
Options:
|
|
421
|
+
--import Imports container backups from specified
|
|
422
|
+
repositories.
|
|
423
|
+
--export Exports container backups to specified
|
|
424
|
+
repositories.
|
|
425
|
+
--pod-name <pod-name> Optional: Specifies the pod context for database
|
|
426
|
+
operations.
|
|
427
|
+
--collections <collections> A comma-separated list of database collections
|
|
428
|
+
to operate on.
|
|
429
|
+
--out-path <out-path> Specifies a custom output path for backups.
|
|
430
|
+
--drop Drops the specified databases or collections.
|
|
431
|
+
--preserveUUID Preserves UUIDs during database operations.
|
|
432
|
+
--git Uploads database backups to GitHub.
|
|
433
|
+
--hosts <hosts> A comma-separated list of database hosts.
|
|
434
|
+
--paths <paths> A comma-separated list of paths for database
|
|
435
|
+
files.
|
|
436
|
+
--ns <ns-name> Optional: Specifies the namespace context for
|
|
437
|
+
database operations.
|
|
438
|
+
-h, --help display help for command
|
|
439
|
+
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
### `metadata` :
|
|
444
|
+
```
|
|
445
|
+
Usage: underpost metadata [options] [deploy-id] [host] [path]
|
|
446
|
+
|
|
447
|
+
Manages cluster metadata operations, including import and export.
|
|
448
|
+
|
|
449
|
+
Arguments:
|
|
450
|
+
deploy-id The deployment ID to manage metadata.
|
|
451
|
+
host The host to manage metadata.
|
|
452
|
+
path The path to manage metadata.
|
|
453
|
+
|
|
454
|
+
Options:
|
|
455
|
+
--import Imports from local storage.
|
|
456
|
+
--export Exports to local storage.
|
|
457
|
+
--crons Apply to cron data collection
|
|
458
|
+
--instances Apply to instance data collection
|
|
459
|
+
--generate Generate cluster metadata
|
|
460
|
+
--itc Apply under container execution context
|
|
461
|
+
-h, --help display help for command
|
|
462
|
+
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
### `script` :
|
|
467
|
+
```
|
|
468
|
+
Usage: underpost script [options] <operator> <script-name> [script-value]
|
|
469
|
+
|
|
470
|
+
Supports a variety of built-in Underpost global scripts, their preset lifecycle
|
|
471
|
+
events, and arbitrary custom scripts.
|
|
472
|
+
|
|
473
|
+
Arguments:
|
|
474
|
+
operator The script operation to perform. Options: set, run,
|
|
475
|
+
get.
|
|
476
|
+
script-name The name of the script to execute.
|
|
477
|
+
script-value Optional: A literal command or a path to a script
|
|
478
|
+
file.
|
|
479
|
+
|
|
480
|
+
Options:
|
|
481
|
+
--itc Executes the script within the container execution
|
|
482
|
+
context.
|
|
483
|
+
--itc-path Specifies container path options for script execution.
|
|
484
|
+
--ns <ns-name> Optional: Specifies the namespace context for script
|
|
485
|
+
execution.
|
|
486
|
+
--pod-name <pod-name> Optional: Specifies the pod name for script execution.
|
|
487
|
+
-h, --help display help for command
|
|
488
|
+
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
### `cron` :
|
|
493
|
+
```
|
|
494
|
+
Usage: underpost cron [options] [deploy-list] [job-list]
|
|
495
|
+
|
|
496
|
+
Manages cron jobs, including initialization, execution, and configuration
|
|
497
|
+
updates.
|
|
498
|
+
|
|
499
|
+
Arguments:
|
|
500
|
+
deploy-list A comma-separated list of deployment IDs (e.g.,
|
|
501
|
+
"default-a,default-b").
|
|
502
|
+
job-list A comma-separated list of job IDs. Options: callback,
|
|
503
|
+
getRelatedDeployId. Defaults to all available jobs.
|
|
504
|
+
|
|
505
|
+
Options:
|
|
506
|
+
--itc Executes cron jobs within the container execution context.
|
|
507
|
+
--init Initializes cron jobs for the default deployment ID.
|
|
508
|
+
--git Uploads cron job configurations to GitHub.
|
|
509
|
+
-h, --help display help for command
|
|
510
|
+
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
### `fs` :
|
|
515
|
+
```
|
|
516
|
+
Usage: underpost fs [options] [path]
|
|
517
|
+
|
|
518
|
+
Manages file storage, defaulting to file upload operations.
|
|
519
|
+
|
|
520
|
+
Arguments:
|
|
521
|
+
path The absolute or relative directory path for file operations.
|
|
522
|
+
|
|
523
|
+
Options:
|
|
524
|
+
--rm Removes the specified file.
|
|
525
|
+
--git Displays current Git changes related to file storage.
|
|
526
|
+
--recursive Uploads files recursively from the specified path.
|
|
527
|
+
--deploy-id <deploy-id> Specifies the deployment configuration ID for file operations.
|
|
528
|
+
--pull Downloads the specified file.
|
|
529
|
+
--force Forces the action, overriding any warnings or conflicts.
|
|
530
|
+
--storage-file-path <storage-file-path> Specifies a custom file storage path.
|
|
531
|
+
-h, --help display help for command
|
|
532
|
+
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
### `test` :
|
|
537
|
+
```
|
|
538
|
+
Usage: underpost test [options] [deploy-list]
|
|
539
|
+
|
|
540
|
+
Manages and runs tests, defaulting to the current Underpost default test suite.
|
|
541
|
+
|
|
542
|
+
Arguments:
|
|
543
|
+
deploy-list A comma-separated list of deployment IDs (e.g.,
|
|
544
|
+
"default-a,default-b").
|
|
545
|
+
|
|
546
|
+
Options:
|
|
547
|
+
--itc Executes tests within the container execution
|
|
548
|
+
context.
|
|
549
|
+
--sh Copies the container entrypoint shell command to
|
|
550
|
+
the clipboard.
|
|
551
|
+
--logs Displays container logs for test debugging.
|
|
552
|
+
--pod-name <pod-name> Optional: Specifies the pod name for test
|
|
553
|
+
execution.
|
|
554
|
+
--pod-status <pod-status> Optional: Filters tests by pod status.
|
|
555
|
+
--kind-type <kind-type> Optional: Specifies the Kind cluster type for
|
|
556
|
+
tests.
|
|
557
|
+
-h, --help display help for command
|
|
558
|
+
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
### `monitor` :
|
|
563
|
+
```
|
|
564
|
+
Usage: underpost monitor [options] <deploy-id> [env]
|
|
565
|
+
|
|
566
|
+
Manages health server monitoring for specified deployments.
|
|
567
|
+
|
|
568
|
+
Arguments:
|
|
569
|
+
deploy-id The deployment configuration ID to monitor.
|
|
570
|
+
env Optional: The environment to monitor (e.g.,
|
|
571
|
+
"development", "production"). Defaults to
|
|
572
|
+
"development".
|
|
573
|
+
|
|
574
|
+
Options:
|
|
575
|
+
--ms-interval <ms-interval> Sets a custom millisecond interval for
|
|
576
|
+
monitoring checks.
|
|
577
|
+
--now Executes the monitor script immediately.
|
|
578
|
+
--single Disables recurrence, running the monitor script
|
|
579
|
+
only once.
|
|
580
|
+
--replicas <replicas> Sets a custom number of replicas for monitoring.
|
|
581
|
+
--type <type> Sets a custom monitor type.
|
|
582
|
+
--sync Synchronizes with current proxy deployments and
|
|
583
|
+
traffic configurations.
|
|
584
|
+
-h, --help display help for command
|
|
585
|
+
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
### `ssh` :
|
|
590
|
+
```
|
|
591
|
+
Usage: underpost ssh [options]
|
|
592
|
+
|
|
593
|
+
Import and start ssh server and client based on current default deployment ID.
|
|
594
|
+
|
|
595
|
+
Options:
|
|
596
|
+
--generate Generates new ssh credential and stores it in current private
|
|
597
|
+
keys file storage.
|
|
598
|
+
-h, --help display help for command
|
|
599
|
+
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
### `run` :
|
|
604
|
+
```
|
|
605
|
+
Usage: underpost run [options] <runner-id> [path]
|
|
606
|
+
|
|
607
|
+
Runs a script from the specified path.
|
|
608
|
+
|
|
609
|
+
Arguments:
|
|
610
|
+
runner-id The runner ID to run. Options: spark-template, rmi, kill, secret, underpost-config, gpu-env, tf-gpu-test, dev-cluster, ssh-cluster-info, cyberia-ide, engine-ide, template-deploy, clean, pull, release-deploy, ssh-deploy, ide, dev-client, dev-api, sync, ls-deployments, monitor, db-client, promote, metrics, cluster, deploy, tf-vae-test, deploy-job.
|
|
611
|
+
path The absolute or relative directory path where the script is located.
|
|
612
|
+
|
|
613
|
+
Options:
|
|
614
|
+
--command <command-array> Array of commands to run.
|
|
615
|
+
--args <args-array> Array of arguments to pass to the command.
|
|
616
|
+
--dev Sets the development context environment for the script.
|
|
617
|
+
--build Set builder context runner
|
|
618
|
+
--replicas <replicas> Sets a custom number of replicas for deployment.
|
|
619
|
+
--pod-name <pod-name> Optional: Specifies the pod name for test execution.
|
|
620
|
+
--volume-host-path <volume-host-path> Optional: Specifies the volume host path for test execution.
|
|
621
|
+
--volume-mount-path <volume-mount-path> Optional: Specifies the volume mount path for test execution.
|
|
622
|
+
--volume-type <volume-type> Optional: Specifies the volume type for test execution.
|
|
623
|
+
--image-name <image-name> Optional: Specifies the image name for test execution.
|
|
624
|
+
--container-name <container-name> Optional: Specifies the container name for test execution.
|
|
625
|
+
--namespace <namespace> Optional: Specifies the namespace for test execution.
|
|
626
|
+
--kubeadm Flag to indicate Kubeadm cluster type context
|
|
627
|
+
--k3s Flag to indicate K3s cluster type context
|
|
628
|
+
-h, --help display help for command
|
|
629
|
+
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
### `lxd` :
|
|
634
|
+
```
|
|
635
|
+
Usage: underpost lxd [options]
|
|
636
|
+
|
|
637
|
+
Manages LXD containers and virtual machines.
|
|
638
|
+
|
|
639
|
+
Options:
|
|
640
|
+
--init Initializes LXD on the current machine.
|
|
641
|
+
--reset Resets LXD on the current machine, deleting
|
|
642
|
+
all configurations.
|
|
643
|
+
--install Installs LXD on the current machine.
|
|
644
|
+
--dev Sets the development context environment for
|
|
645
|
+
LXD.
|
|
646
|
+
--create-virtual-network Creates an LXD virtual network bridge.
|
|
647
|
+
--create-admin-profile Creates an admin profile for LXD management.
|
|
648
|
+
--control Sets the context for a control node VM.
|
|
649
|
+
--worker Sets the context for a worker node VM.
|
|
650
|
+
--create-vm <vm-id> Creates default virtual machines with the
|
|
651
|
+
specified ID.
|
|
652
|
+
--init-vm <vm-id> Retrieves the Underpost initialization
|
|
653
|
+
script for the specified VM.
|
|
654
|
+
--info-vm <vm-id> Retrieves all information about the
|
|
655
|
+
specified VM.
|
|
656
|
+
--test <vm-id> Tests the health, status, and network
|
|
657
|
+
connectivity for a VM.
|
|
658
|
+
--root-size <gb-size> Sets the root partition size (in GB) for the
|
|
659
|
+
VM.
|
|
660
|
+
--k3s Flag to indicate that the VM initialization
|
|
661
|
+
is for a K3s cluster type.
|
|
662
|
+
--join-node <nodes> A comma-separated list of worker and control
|
|
663
|
+
nodes to join (e.g.,
|
|
664
|
+
"k8s-worker-1,k8s-control").
|
|
665
|
+
--expose <vm-name-ports> Exposes specified ports on a VM (e.g.,
|
|
666
|
+
"k8s-control:80,443"). Multiple VM-port
|
|
667
|
+
pairs can be comma-separated.
|
|
668
|
+
--delete-expose <vm-name-ports> Removes exposed ports on a VM (e.g.,
|
|
669
|
+
"k8s-control:80,443"). Multiple VM-port
|
|
670
|
+
pairs can be comma-separated.
|
|
671
|
+
--auto-expose-k8s-ports <vm-id> Automatically exposes common Kubernetes
|
|
672
|
+
ports for the specified VM.
|
|
673
|
+
-h, --help display help for command
|
|
674
|
+
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
|
|
678
|
+
### `baremetal` :
|
|
679
|
+
```
|
|
680
|
+
Usage: underpost baremetal [options] [workflow-id] [hostname] [ip-address]
|
|
681
|
+
|
|
682
|
+
Manages baremetal server operations, including installation, database setup,
|
|
683
|
+
commissioning, and user management.
|
|
684
|
+
|
|
685
|
+
Options:
|
|
686
|
+
--control-server-install Installs the baremetal control server.
|
|
687
|
+
--control-server-uninstall Uninstalls the baremetal control server.
|
|
688
|
+
--control-server-db-install Installs up the database for the baremetal
|
|
689
|
+
control server.
|
|
690
|
+
--control-server-db-uninstall Uninstalls the database for the baremetal
|
|
691
|
+
control server.
|
|
692
|
+
--commission Init workflow for commissioning a physical
|
|
693
|
+
machine.
|
|
694
|
+
--nfs-build Builds an NFS root filesystem for a workflow
|
|
695
|
+
id config architecture using QEMU emulation.
|
|
696
|
+
--nfs-mount Mounts the NFS root filesystem for a workflow
|
|
697
|
+
id config architecture.
|
|
698
|
+
--nfs-unmount Unmounts the NFS root filesystem for a
|
|
699
|
+
workflow id config architecture.
|
|
700
|
+
--nfs-sh Copies QEMU emulation root entrypoint shell
|
|
701
|
+
command to the clipboard.
|
|
702
|
+
--cloud-init-update Updates cloud init for a workflow id config
|
|
703
|
+
architecture.
|
|
704
|
+
--cloud-init-reset Resets cloud init for a workflow id config
|
|
705
|
+
architecture.
|
|
706
|
+
--logs <log-id> Displays logs for log id: dhcp, cloud,
|
|
707
|
+
machine, cloud-config.
|
|
708
|
+
--dev Sets the development context environment for
|
|
709
|
+
baremetal operations.
|
|
710
|
+
--ls Lists available boot resources and machines.
|
|
711
|
+
-h, --help display help for command
|
|
712
|
+
|
|
713
|
+
```
|
|
714
|
+
|