@platforma-sdk/bootstrap 3.0.1 → 3.1.1
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/dist/cmd-opts.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +7 -3
package/dist/cmd-opts.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-opts.d.ts","sourceRoot":"","sources":["../src/cmd-opts.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,WAAW;;CAOvB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAKxB,CAAC;AAEF,eAAO,MAAM,SAAS;;CAIrB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;
|
|
1
|
+
{"version":3,"file":"cmd-opts.d.ts","sourceRoot":"","sources":["../src/cmd-opts.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,WAAW;;CAOvB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAKxB,CAAC;AAEF,eAAO,MAAM,SAAS;;CAIrB,CAAC;AAEF,eAAO,MAAM,WAAW;;CAIvB,CAAC;AAEF,eAAO,MAAM,QAAQ;;CAIpB,CAAC;AAEF,eAAO,MAAM,YAAY;;;CASxB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;CA8B1B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;CAY5B,CAAC;AAEF,eAAO,MAAM,WAAW;;CAIvB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;CAIhC,CAAC;AAEF,eAAO,MAAM,SAAS;;CAKrB,CAAC;AAEF,eAAO,MAAM,aAAa;;CAIzB,CAAC;AAEF,eAAO,MAAM,aAAa;;CAIzB,CAAC;AAEF,eAAO,MAAM,YAAY;;CAIxB,CAAC;AAEF,eAAO,MAAM,aAAa;;CAIzB,CAAC;AAEF,eAAO,MAAM,UAAU;;CAItB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAIlC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;CAI/B,CAAC;AAEF,eAAO,MAAM,sBAAsB;;CAIlC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CASjC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;CASjC,CAAC;AAEF,eAAO,MAAM,eAAe;;CAI3B,CAAC;AAEF,eAAO,MAAM,gBAAgB;;CAI5B,CAAC;AAEF,eAAO,MAAM,eAAe;;CAI3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;CAI7B,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;CAMrB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var vr=Object.defineProperty;var Pr=(a,e,t)=>e in a?vr(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var l=(a,e,t)=>Pr(a,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@oclif/core"),T=require("node:os"),u=require("node:fs"),h=require("node:path"),ae=require("node:child_process"),le=require("winston"),kr=require("node:crypto"),K=require("readline-sync"),Sr=require("node:fs/promises"),$r=require("node:stream"),D=require("zod"),Ar=require("decompress"),ge=require("yaml"),ue=require("@milaboratories/pl-
|
|
1
|
+
"use strict";var vr=Object.defineProperty;var Pr=(a,e,t)=>e in a?vr(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var l=(a,e,t)=>Pr(a,typeof e!="symbol"?e+"":e,t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@oclif/core"),T=require("node:os"),u=require("node:fs"),h=require("node:path"),ae=require("node:child_process"),le=require("winston"),kr=require("node:crypto"),K=require("readline-sync"),Sr=require("node:fs/promises"),$r=require("node:stream"),D=require("zod"),Ar=require("decompress"),ge=require("yaml"),ue=require("@milaboratories/pl-deployments"),Lr=require("node:https"),Ir=require("tar");function gr(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const t in a)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(a,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>a[t]})}}return e.default=a,Object.freeze(e)}const x=gr(Sr),Or=gr(Ir),A={"log-level":d.Flags.string({description:"logging level",default:"info",options:["error","warn","info","debug"],required:!1})};d.Flags.string({description:"name of instance",required:!1});const fe={image:d.Flags.string({description:"use custom docker image to run platforma"})},q={version:d.Flags.string({description:"use custom platforma release (official docker image or binary package)"})},me={arch:d.Flags.string({description:"override architecture. You can start amd64 linux image on arm-based host (say, Apple M family processor). I.e. arm64, amd64, amd64/v2"})},J={license:d.Flags.string({description:'pass a license code. The license can be got from "https://licensing.milaboratories.com".'}),"license-file":d.Flags.file({exists:!0,description:"specify a path to the file with a license. The license can be got from 'https://licensing.milaboratories.com'."})},H={"grpc-port":d.Flags.integer({description:"port for Platforma Backend gRPC API. Default is 6345",env:"PLATFORMA_GRPC_PORT"}),"grpc-listen":d.Flags.string({description:"full listen addr for Platforma Backend gRPC API. Default is 127.0.0.1:6345",env:"PLATFORMA_GRPC_LISTEN"}),"monitoring-port":d.Flags.integer({description:"port for Platforma Backend monitoring API. Default is 9090",env:"PLATFORMA_MONITORING_PORT"}),"monitoring-listen":d.Flags.string({description:"full listen addr for Platforma Backend monitoring API. Default is 127.0.0.1:9090",env:"PLATFORMA_MONITORING_LISTEN"}),"debug-port":d.Flags.integer({description:"port for Platforma Backend debug API. Default is 9091",env:"PLATFORMA_DEBUG_PORT"}),"debug-listen":d.Flags.string({description:"full listen addr for Platforma Backend debug API. Default is 127.0.0.1:9091",env:"PLATFORMA_DEBUG_LISTEN"})},ur={"s3-port":d.Flags.integer({description:"port that S3 will listen, default is 9000",default:9e3,env:"PLATFORMA_S3_PORT"}),"s3-console-port":d.Flags.integer({description:"port that a console of S3 will listen, default is 9001",default:9001,env:"PLATFORMA_S3_CONSOLE_PORT"})},W={storage:d.Flags.string({description:"specify path on host to be used as storage for all Platforma Backend data"})},fr={"minio-presign-host":d.Flags.boolean({description:"use 'minio' host instead of 'localhost' in presign URLs"})},he={mount:d.Flags.string({multiple:!0,description:"things to be mounted into platforma docker container. Targets will appear inside the container under the same absolute paths"})},De={"pl-log-file":d.Flags.file({description:"specify path for Platforma Backend log file"})},xe={"pl-workdir":d.Flags.file({description:"specify working directory for Platforma Backend process"})},_e={"pl-binary":d.Flags.file({description:"start given Platforma Backend binary instead of automatically downloaded version"})},Ne={"pl-sources":d.Flags.file({description:"path to pl repository root: build Platforma Backend from sources and start the resulting binary"})},Ce={config:d.Flags.string({description:"use custom Platforma Backend config"})};d.Flags.file({description:"specify path on host to be used as 'primary' storage"});const ie={"storage-work":d.Flags.file({description:"specify path on host to be used as 'work' storage"})};d.Flags.file({description:"specify path on host to be used as 'library' storage"});const ce={"storage-primary":d.Flags.string({description:`specify 'primary' storage destination URL.
|
|
2
2
|
file:/path/to/dir for directory on local FS
|
|
3
3
|
s3://<bucket>/?region=<name> for real AWS bucket
|
|
4
4
|
s3e://<endpoint>/<bucket>/?region=<name> for bucket behind custom endpoint via http
|