You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "lsergio (via GitHub)" <gi...@apache.org> on 2023/12/20 17:52:13 UTC

[I] buildMode behavior not working as expected when using jvm and native builds simultaneously [camel-k]

lsergio opened a new issue, #5001:
URL: https://github.com/apache/camel-k/issues/5001

   ### What happened?
   
   I created an Integration and specified that both the jvm and native builds should run:
   ```
   traits:
       quarkus:
         buildMode:
         - native
         - jvm
   ```
   As I understood, as soon as the jvm build is complete, the integration pod should start, and then be replaced when the native build is complete.
   
   However, the integration pod only started after both builds finished.
   
   
   ### Steps to reproduce
   
   1. Create an Integration that specifies both buildModes
   2. Wait for the jvm build to finish
   3. Check that the integration does not start
   4. Wait for native build to finish
   5. Check that now it started
   
   ### Relevant log output
   
   _No response_
   
   ### Camel K version
   
   2.1.0 and 2.2.0-nightly


-- 
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@camel.apache.org.apache.org

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


Re: [I] buildMode behavior not working as expected when using jvm and native builds simultaneously [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1865857120

   I think this could be because of the execution order provided. Try switching order (`jvm`, then `native`) and see if it solves. If that's the case we either need to document this or to add a little tweak to make sure jvm is always coming before native. Please, check if changing the order solves.


-- 
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@camel.apache.org

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


Re: [I] Quarkus buildMode should sort JVM before Native execution [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1867769002

   BTW, feel free to contribute. This one looks quite simple to do.


-- 
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@camel.apache.org

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


Re: [I] Quarkus buildMode should sort JVM before Native execution [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1884376291

   > > BTW, feel free to contribute. This one looks quite simple to do.
   > 
   > I'll try if not urgent. Can't do it in a few days.
   
   Sure, there's no hurry to have this completed. Let us know if you need any support while developing.


-- 
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@camel.apache.org

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


Re: [I] buildMode behavior not working as expected when using jvm and native builds simultaneously [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1866117257

   I'll keep this open as a future improvement.


-- 
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@camel.apache.org

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


Re: [I] Quarkus buildMode should sort JVM before Native execution [camel-k]

Posted by "michalvavrik (via GitHub)" <gi...@apache.org>.
michalvavrik commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1883694515

   > BTW, feel free to contribute. This one looks quite simple to do.
   
   I'll try if not urgent. Can't do it in a few days.


-- 
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@camel.apache.org

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


Re: [I] buildMode behavior not working as expected when using jvm and native builds simultaneously [camel-k]

Posted by "lsergio (via GitHub)" <gi...@apache.org>.
lsergio commented on issue #5001:
URL: https://github.com/apache/camel-k/issues/5001#issuecomment-1866113798

   @squakez Indeed, switching the order fixed the issue. thanks!


-- 
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@camel.apache.org

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


Re: [I] Quarkus buildMode should sort JVM before Native execution [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #5001: Quarkus buildMode should sort JVM before Native execution
URL: https://github.com/apache/camel-k/issues/5001


-- 
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@camel.apache.org

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