diff --git a/packages/kogito-db-migrator-tool-image/install.js b/packages/kogito-db-migrator-tool-image/install.js index e1eb165cea7..cec8142a81d 100644 --- a/packages/kogito-db-migrator-tool-image/install.js +++ b/packages/kogito-db-migrator-tool-image/install.js @@ -50,7 +50,7 @@ let imageYaml = fs.readFileSync(originalYamlPath, "utf8"); const imageUrl = `${env.kogitoDbMigratorToolImage.registry}/${env.kogitoDbMigratorToolImage.account}/${env.kogitoDbMigratorToolImage.name}`; // Replace the whole string between quotes ("") with the image name -imageYaml = imageYaml.replace(/(?<=")(.*incubator-kie-kogito-service-db-migration-postgresql.*)(?=")/gm, imageUrl); +imageYaml = imageYaml.replace(/(?<=")(.*kie-kogito-db-migrator-tool.*)(?=")/gm, imageUrl); // Write file and then rename it to match the image name fs.writeFileSync(originalYamlPath, imageYaml); diff --git a/packages/kogito-db-migrator-tool-image/package.json b/packages/kogito-db-migrator-tool-image/package.json index 1a1e4b00f68..8eac25601cd 100644 --- a/packages/kogito-db-migrator-tool-image/package.json +++ b/packages/kogito-db-migrator-tool-image/package.json @@ -13,7 +13,7 @@ "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", + "build": ". ./node_modules/@kie-tools/python-venv/venv/bin/activate && pnpm copy-assets && pnpm image:build && rimraf target && rimraf dist-tests-e2e", "build:dev": "run-script-os", "build:dev:linux": "pnpm build", "build:dev:win32:darwin": "echo \"Build skipped on Windows and MacOS\"", diff --git a/packages/kogito-db-migrator-tool-image/resources/modules/kogito-postgres-db-migration-deps/module.yaml b/packages/kogito-db-migrator-tool-image/resources/modules/kogito-postgres-db-migration-deps/module.yaml index ffee1f8fce2..3cb2a3a8a85 100644 --- a/packages/kogito-db-migrator-tool-image/resources/modules/kogito-postgres-db-migration-deps/module.yaml +++ b/packages/kogito-db-migrator-tool-image/resources/modules/kogito-postgres-db-migration-deps/module.yaml @@ -21,6 +21,6 @@ name: org.kie.kogito.postgresql.db-migration-deps version: "main" artifacts: # The following artifact comes from the package kogito-db-migrator-tool during the pnpm build:dev phase - - name: sonataflow-db-migrator-quarkus-app + - name: kogito-db-migrator-tool-quarkus-app path: ./quarkus-app dest: /home/kogito/bin