Skip to content

Commit

Permalink
fix: pl-pkg now uses 85% of ram in container
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolotin committed Oct 22, 2024
1 parent b05aaeb commit d97d7f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions pl-pkg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
"description": "MiXCR software dependency for Platforma Backend",
"scripts": {
"build": "true",

"pkg:build": "pl-pkg build packages",
"pkg:sign": "pl-pkg sign packages --sign-command='[\"gcloud-kms-sign\", \"{pkg}\", \"{pkg}.sig\"]'",
"pkg:publish": "pl-pkg publish packages",
"pkg:release": "npm run pkg:build && npm run pkg:sign && npm run pkg:publish",

"descriptor:build": "pl-pkg build descriptors",
"descriptor:publish": "pl-pkg publish descriptors",
"descriptor:release": "npm run descriptor:build && npm run descriptor:publish",

"postinstall": "node ./scripts/unpack-ci.js",
"prepublishOnly": "npm run pkg:release && npm run descriptor:build"
},
Expand All @@ -28,7 +25,12 @@
"environment": "@platforma-open/milaboratories.runenv-java-corretto:21.0.2.13.1",
"root": "./dld/mixcr/"
},
"cmd": [ "java", "-jar", "{pkg}/mixcr.jar" ]
"cmd": [
"java",
"-XX:MaxRAMPercentage=85.0",
"-jar",
"{pkg}/mixcr.jar"
]
}
}
}
Expand Down

0 comments on commit d97d7f9

Please sign in to comment.