--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjTWaw4FxDU5oTMWjzuOZaTtEZcfGkvNReMB_Ponw1-ahg%40mail.gmail.com.
Daniel oh
Senior PRINCIPAL TECHNICAL MARKETING MANAGER
This is really good stuff that makes the azure function deployment easier for devs. I was wondering if you have the plan to apply for Quarkus CLI as well.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjS9E%2BKbUWaP-Z_4yMCnaPpH4e9Web_Qov_breaocr1WzA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAJLxjVG%2Bq5ydyUKDovzwSx%3DySv35HcFaAz_4xgvvZ3AWwhh45g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjTWaw4FxDU5oTMWjzuOZaTtEZcfGkvNReMB_Ponw1-ahg%40mail.gmail.com.
> We can have the custom deployment behavior implement it as part of the
> extensions and have the existing build tools trigger it.
> Would you like to schedule a meeting or something to talk about it?
yeah; lets explore options here.
Also we have the plugin and side-loading mechanisms so they do not need to
be as hardly coupled to the extensions anymore.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjTWaw4FxDU5oTMWjzuOZaTtEZcfGkvNReMB_Ponw1-ahg%40mail.gmail.com.
Hi Bill,
Adding back quarkus-dev as I accidentally missed to cc it on my reply.
I was more referring to the deploy part for the usage of cli that
currently can add additional extensions if need be (used in the new quarkus
deploy pr)How's it work? From what's currently committed, it looks like deploy just
pulls together a ton of system properties and such to wrap a $mvn
quarkus:deploy. Are you just adding/pulling in additional extensions to
the maven quarkus:deploy action? I guess you need that because kube deploy
is different from Openshift, vanilla Kube, and Minishift? Azure/Lambda
doesn't have that problem.
Correct - my thinking was that if we could make azure/lambda work similar (via the quarkus:deploy mvn/gradle)
then we wouldn't have to have different ways to trigger the azure function/lambda deploys.
For run - I’m trying to get my head around what that run does. Is it
deploying and then running or simulating a run locally ?Re-read the OP. For AzureF and Lambda, *run* would spin up the locally
installed Azure/Lambda environment to execute the app. FYI: Lambda can
run in *dev* mode using a mock dev service I wrote, but for JVM deployments
dev mode is not equivalent to actual lambda production.
okey - now I grok it.
I've always been proponents of a quarkus:run
option; the easier it is to run the better.
Main objection always been that some tend do use such "run"'s to measure performance -
but we should just make it print out "This is a best effort Run - do not use for performance measurements or click-bait articles" or similar :)
--
Max Andersen
--
Bill Burke
Red Hat
Hi Bill,
Adding back quarkus-dev as I accidentally missed to cc it on my reply.
I was more referring to the deploy part for the usage of cli that
currently can add additional extensions if need be (used in the new quarkus
deploy pr)How's it work? From what's currently committed, it looks like deploy just
pulls together a ton of system properties and such to wrap a $mvn
quarkus:deploy. Are you just adding/pulling in additional extensions to
the maven quarkus:deploy action? I guess you need that because kube deploy
is different from Openshift, vanilla Kube, and Minishift? Azure/Lambda
doesn't have that problem.Correct - my thinking was that if we could make azure/lambda work similar (via the quarkus:deploy mvn/gradle)
then we wouldn't have to have different ways to trigger the azure function/lambda deploys.
For run - I’m trying to get my head around what that run does. Is it
deploying and then running or simulating a run locally ?Re-read the OP. For AzureF and Lambda, *run* would spin up the locally
installed Azure/Lambda environment to execute the app. FYI: Lambda can
run in *dev* mode using a mock dev service I wrote, but for JVM deployments
dev mode is not equivalent to actual lambda production.okey - now I grok it.
I've always been proponents of a
quarkus:run
option; the easier it is to run the better.Main objection always been that some tend do use such "run"'s to measure performance -
but we should just make it print out "This is a best effort Run - do not use for performance measurements or click-bait articles" or similar :)
On Mon, Mar 6, 2023 at 3:19 AM Max Rydahl Andersen <mand...@redhat.com> wrote:Hi Bill,
Adding back quarkus-dev as I accidentally missed to cc it on my reply.
I was more referring to the deploy part for the usage of cli that
currently can add additional extensions if need be (used in the new quarkus
deploy pr)How's it work? From what's currently committed, it looks like deploy just
pulls together a ton of system properties and such to wrap a $mvn
quarkus:deploy. Are you just adding/pulling in additional extensions to
the maven quarkus:deploy action? I guess you need that because kube deploy
is different from Openshift, vanilla Kube, and Minishift? Azure/Lambda
doesn't have that problem.Correct - my thinking was that if we could make azure/lambda work similar (via the quarkus:deploy mvn/gradle)
then we wouldn't have to have different ways to trigger the azure function/lambda deploys.Ok, I looked at the code, IMO, I would have implemented it differently and kept the maven plugin more generic. Right now, everything is all hardcoded within quarkus-maven-plugin. I don't want to be adding knowledge of azure and lambda and every other single deployment environment too. IMO, the maven plugin should be executing deploy similarly to how @QuarkusIntegrationTest launches Dev Services: nice and generically.Furthermore, I really hope that what's implemented in CLI as regards to Kube is temporary and evolves to be completely generic as well. It's also all hardcoded with knowledge of specific deployment environments (all the kube flavors).
Thanks Bill - added a few comments on first impression looks good. wanna try play more with it.
Took a glimpse at the pull request and I think I like this approach more.
The main benefit that I see is that through the handler it's easier to pass
information back to the dev tools and therefore to the user.
This is something that the deploy mojo and tasks don't do well, as they are
customizing the options passed to a regular build.
I'll see what it takes in order to adopt this approach for the deploy stuff
too.
+1, CuratedApplication approach feels like a generalisation we should be able to use.
Now regarding the CLI I think that one needs concrete commands per
platform, so that users can take advantage of the options and completion.
Without them, why even bother to have cli commands and not just stay to
maven mojos and gradle tasks? This is were CLI plugins come into the
picture. As we can't have a sub command for every deployment target under
the sun, we start with something like (say kubernetes & openshift) and we
use plugins based on the extensions the user has selected etc.
I think those two approaches can still be used together.
But yes, yes we should try out and see if things falls apart in places
where it ends up being too messy.
/max
On Sat, Mar 11, 2023 at 3:35 AM Ioannis Canellos <ioc...@gmail.com> wrote:On Sat, Mar 11, 2023 at 1:56 AM William Burke <bbu...@redhat.com> wrote:Took a glimpse at the pull request and I think I like this approach more. The main benefit that I see is that through the handler it's easier to pass information back to the dev tools and therefore to the user.This is something that the deploy mojo and tasks don't do well, as they are customizing the options passed to a regular build.I'll see what it takes in order to adopt this approach for the deploy stuff too.Now regarding the CLI I think that one needs concrete commands per platform, so that users can take advantage of the options and completion. Without them, why even bother to have cli commands and not just stay to maven mojos and gradle tasks? This is were CLI plugins come into the picture. As we can't have a sub command for every deployment target under the sun, we start with something like (say kubernetes & openshift) and we use plugins based on the extensions the user has selected etc.TBH, I'm very ambivalent to the CLI and not sure I'd actually use it in development.* Sample code generation is a one time thing and not an everyday task. I'd probably create samples from code.quarkus.io before I'd download the CLI to do that.* Why do I need a wrapper for $ mvn clean install quarkus:dev? Especially when I'm going to need to know how to configure maven and gradle anyways? Especially when I can already do whatever CLI currently does on the maven/gradle command line.
* CLI is just another unneeded download when I already probably have maven or gradle installedThat being said, a big limitation of maven (and gradle?) is that there is no way to dynamically add a Mojo. CLI could potentially be really cool and powerful if by installing a quarkus extension, the set of CLI commands and options would automatically be extended. Quarkus extensions developers could define dynamically added CLI commands. Still, I'm not even sure how useful that would be if we add quarkus:run and quarkus:deploy mojos. What else is left? Would we want a CLI that builds, runs, deploys, *and* manages apps? The *manages* part would be where CLI would become useful.
--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAL%3DE%3DjQefYAFX43ULAStrrCxuWwEzFCo8KK4Y3n46EFN7aw1%3Dw%40mail.gmail.com.