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

NO-ISSUE: kogito-swf-{builder/devmode} images should build the nightly tags by default but also be configurable #2275

Closed
wants to merge 2 commits into from

Conversation

thiagoelg
Copy link
Member

Also in this PR:

  • Removed some devbox packages
  • Formatted auto-generated code on install
  • Parameterized Sonataflow Quarkus DevUI to be used inside images

Comment on lines +127 to +133
ls -la "${KOGITO_HOME}"/.m2/repository/org/apache/kie/
ls -la "${KOGITO_HOME}"/.m2/repository/org/kie/

# mkdir .mvn
touch .mvn/maven.config
echo " -Dversion.org.kie.kogito=${KOGITO_VERSION} -Dquarkus.platform.version=${QUARKUS_PLATFORM_VERSION}" >> .mvn/maven.config

Copy link
Contributor

Choose a reason for hiding this comment

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

@pefernan @jstastny-cz This is what can be removed once we fix maven-base.

Comment on lines +22 to +30
# mvn install:install-file \
# -Dfile=/tmp/artifacts/sonataflow-quarkus-devui.jar \
# -DgroupId=org.apache.kie.sonataflow \
# -DartifactId=sonataflow-quarkus-devui \
# -Dversion=$SONATAFLOW_QUARKUS_DEVUI_VERSION \
# -Dpackaging=jar \
# -DgeneratePom=true

ls -la /tmp/artifacts
Copy link
Contributor

Choose a reason for hiding this comment

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

@pefernan @jstastny-cz This too can go.

tar xf /tmp/artifacts/sonataflow-quarkus-devui-maven-repo.tar -C "${KOGITO_HOME}"/.m2/repository/org/apache/kie/
tar xf /tmp/artifacts/kie-tools-maven-base-maven-repo.tar -C "${KOGITO_HOME}"/.m2/repository/org/kie/

find "${KOGITO_HOME}"/.m2/repository -name _remote.repositories | xargs rm
Copy link
Contributor

Choose a reason for hiding this comment

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

@pefernan @jstastny-cz This is necessary for Maven to not try and use a remote version of this, since in development this is a SNAPSHOT version. Let me know if you see a problem with this.

Copy link
Contributor

@pefernan pefernan left a comment

Choose a reason for hiding this comment

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

+1 great!

@tiagobento
Copy link
Contributor

@pefernan @thiagoelg Guys, I'll close this because all of this changes are already present on

we can proceed by merging it...

@tiagobento tiagobento closed this Apr 30, 2024
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.

3 participants