From 87bd7aabe41ad8ad82d89558c39a83379efd9338 Mon Sep 17 00:00:00 2001 From: rhkp Date: Fri, 1 Nov 2024 15:14:07 +0000 Subject: [PATCH] Attempt to fix CI errors --- packages/kogito-db-migrator-tool-image/package.json | 2 +- ....yaml => incubator-kie-kogito-db-migrator-tool-image.yaml} | 0 packages/kogito-db-migrator-tool/package.json | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename packages/kogito-db-migrator-tool-image/resources/{kogito-db-migrator-tool-image.yaml => incubator-kie-kogito-db-migrator-tool-image.yaml} (100%) diff --git a/packages/kogito-db-migrator-tool-image/package.json b/packages/kogito-db-migrator-tool-image/package.json index 4ee0d0260f2..d9395db372d 100644 --- a/packages/kogito-db-migrator-tool-image/package.json +++ b/packages/kogito-db-migrator-tool-image/package.json @@ -20,7 +20,7 @@ "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:darwin:linux": "pnpm setup:env && cekit --descriptor build/kogito-db-migrator-tool-image.yaml -v build docker", + "image:build:darwin:linux": "pnpm setup:env && cekit --descriptor build/incubator-kie-kogito-db-migrator-tool-image.yaml -v build docker", "image:build:win32": "echo \"Build skipped on Windows\"", "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)" diff --git a/packages/kogito-db-migrator-tool-image/resources/kogito-db-migrator-tool-image.yaml b/packages/kogito-db-migrator-tool-image/resources/incubator-kie-kogito-db-migrator-tool-image.yaml similarity index 100% rename from packages/kogito-db-migrator-tool-image/resources/kogito-db-migrator-tool-image.yaml rename to packages/kogito-db-migrator-tool-image/resources/incubator-kie-kogito-db-migrator-tool-image.yaml diff --git a/packages/kogito-db-migrator-tool/package.json b/packages/kogito-db-migrator-tool/package.json index 42bb535d9ee..e094e6ac90d 100644 --- a/packages/kogito-db-migrator-tool/package.json +++ b/packages/kogito-db-migrator-tool/package.json @@ -13,9 +13,9 @@ "url": "https://github.com/apache/incubator-kie-tools/issues" }, "scripts": { - "build:dev": "pnpm pre-build && mvn clean install -DskipTests && pnpm cleanup", + "build:dev": "pnpm pre-build && mvn clean install -DskipTests", "build:prod": "pnpm pre-build && mvn clean install -DskipTests=$(build-env tests.run --not) -Dmaven.test.failure.ignore=$(build-env tests.ignoreFailures)", - "pre-build": " pnpm cleanup && mvn dependency:unpack" + "pre-build": "mvn dependency:unpack" }, "dependencies": { "@kie-tools/maven-base": "workspace:*"