Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kie-issues#2659: [SonataFlow] Migrate DBMigration Image from SonataFlow operator repository to kie-tools #2697

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rhkp
Copy link

@rhkp rhkp commented Oct 22, 2024

Closes #2659
Add kogito-db-migrator-tool and kogito-db-migrator-tool-image packages for use by the SonataFlow Operator.

Copy link
Member

@ricardozanini ricardozanini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left some comments to adjust the PR. Thank you!


labels:
- name: "org.kie.kogito.version"
value: "999-SNAPSHOT"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
value: "999-SNAPSHOT"
value: "### SET ME DURING BUILD PROCESS ###"

Comment on lines +26 to +28
devDeploymentQuarkusApp: {
version: require("../package.json").version,
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Comment on lines +28 to +29
-Dversion.quarkus=${env.versions.quarkus}
-Dversion.org.kie.kogito=${env.versions.kogito}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need those here, as they come from maven-base already.

Comment on lines +16 to +17
"build:dev": "./build-db-migrator-jar.sh true",
"build:prod": "./build-db-migrator-jar.sh false",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These commands add an unnecessary indirection and don't work on Windows.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you need so many things here?

Comment on lines +25 to +26
DDL_VERSION=10.0.999-SNAPSHOT
DDL_FILE=kogito-ddl-10.0.999-20241018.012042-73-db-scripts.zip
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to be parameterized.

{ ignoreDefault: true } // Can't have special <repositories> configuration that only works inside this repo.
);

installMvnw();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need mvnw here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SonataFlow] Migrate DBMigration Image from SonataFlow operator repository to kie-tools
3 participants