You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "thiagoelg (via GitHub)" <gi...@apache.org> on 2024/04/29 17:51:13 UTC

[PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

thiagoelg opened a new pull request, #2275:
URL: https://github.com/apache/incubator-kie-tools/pull/2275

   Also in this PR:
   
   - Removed some devbox packages
   - Formatted auto-generated code on install
   - Parameterized Sonataflow Quarkus DevUI to be used inside images


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on code in PR #2275:
URL: https://github.com/apache/incubator-kie-tools/pull/2275#discussion_r1583695448


##########
packages/kogito-swf-devmode/resources/modules/kogito-swf/devmode/build-config/configure:
##########
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+set -e
+
+# 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

Review Comment:
   @pefernan @jstastny-cz This too can go.



-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on code in PR #2275:
URL: https://github.com/apache/incubator-kie-tools/pull/2275#discussion_r1583694693


##########
packages/kogito-swf-common/resources/modules/kogito-swf/common/scripts/added/create-app.sh:
##########
@@ -124,6 +124,13 @@ if [ "${SCRIPT_DEBUG^^}" = "TRUE" ]; then
     cat pom.xml
 fi
 
+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
+

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



-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento closed pull request #2275: NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable
URL: https://github.com/apache/incubator-kie-tools/pull/2275


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on PR #2275:
URL: https://github.com/apache/incubator-kie-tools/pull/2275#issuecomment-2086863906

   @pefernan @thiagoelg Guys, I'll close this because all of this changes are already present on
   - #2266 
   
   we can proceed by merging it...


-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] NO-ISSUE: `kogito-swf-{builder/devmode}` images should build the nightly tags by default but also be configurable [incubator-kie-tools]

Posted by "tiagobento (via GitHub)" <gi...@apache.org>.
tiagobento commented on code in PR #2275:
URL: https://github.com/apache/incubator-kie-tools/pull/2275#discussion_r1583696285


##########
packages/kogito-swf-devmode/resources/modules/kogito-swf/devmode/build-config/configure:
##########
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+set -e
+
+# 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
+
+mkdir -p "${KOGITO_HOME}"/.m2/repository/org/apache/kie/
+mkdir -p "${KOGITO_HOME}"/.m2/repository/org/kie/
+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

Review Comment:
   @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.



-- 
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: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org