rhkp commented on code in PR #2697:
URL: 
https://github.com/apache/incubator-kie-tools/pull/2697#discussion_r1878749180


##########
packages/kogito-db-migrator-tool-image/package.json:
##########
@@ -0,0 +1,44 @@
+{
+  "private": true,
+  "name": "@kie-tools/kogito-db-migrator-tool-image",
+  "version": "0.0.0",
+  "description": "",
+  "license": "Apache-2.0",
+  "homepage": "https://github.com/apache/incubator-kie-tools";,
+  "repository": {
+    "type": "git",
+    "url": "https://github.com/apache/incubator-kie-tools.git";
+  },
+  "bugs": {
+    "url": "https://github.com/apache/incubator-kie-tools/issues";
+  },
+  "scripts": {
+    "build": ". ./node_modules/@kie-tools/python-venv/venv/bin/activate && 
pnpm copy-assets && pnpm image:build && rimraf build && rimraf target && rimraf 
dist-tests-e2e && rimraf 
resources/modules/kogito-postgres-db-migration-deps/quarkus-app",
+    "build:dev": "run-script-os",
+    "build:dev:linux": "pnpm build",
+    "build:dev:win32:darwin": "echo \"Build skipped on Windows and MacOS\"",
+    "build:prod": "run-script-os",
+    "build:prod:linux": "pnpm build",
+    "build:prod:win32:darwin": "echo \"Build skipped on Windows and MacOS\"",
+    "copy-assets": "run-script-os",
+    "copy-assets:linux:darwin": "rimraf build && cp -R 
./node_modules/@kie-tools/sonataflow-image-common/resources build && mkdir -p 
resources/modules/kogito-postgres-db-migration-deps/quarkus-app && cp -R 
./node_modules/@kie-tools/kogito-db-migrator-tool/target/quarkus-app/* 
resources/modules/kogito-postgres-db-migration-deps/quarkus-app && cp -R 
resources/* build ",
+    "format": "prettier --write . --ignore-path=../../.prettierignore 
--ignore-path=../../.gitignore",
+    "image:build": "run-script-os",
+    "image:build:linux": "pnpm setup:env && cekit --descriptor 
build/incubator-kie-kogito-db-migrator-tool-image.yaml -v build docker",
+    "image:build:win32:darwin": "echo \"Build skipped on Windows and MacOS\"",
+    "install": "node install.js && pnpm format",
+    "setup:env": ". ./node_modules/@kie-tools/python-venv/venv/bin/activate && 
cross-env KOGITO_IMAGE_REGISTRY=$(build-env kogitoDbMigratorToolImage.registry) 
KOGITO_IMAGE_REGISTRY_ACCOUNT=$(build-env kogitoDbMigratorToolImage.account) 
KOGITO_IMAGE_NAME=$(build-env kogitoDbMigratorToolImage.name) 
KOGITO_IMAGE_TAG=$(build-env kogitoDbMigratorToolImage.buildTag) 
QUARKUS_PLATFORM_VERSION=$(build-env versions.quarkus) 
KOGITO_VERSION=$(build-env versions.kogito)"

Review Comment:
   Now we are using the sonataflow-image-common's make file.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to