-
Notifications
You must be signed in to change notification settings - Fork 146
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
[Functions] Do not run func extensions install when using extension bundles #609
Comments
@pragnagopa Sorry for reply late, so the maven plugin should detect whether the project using bundles and decide whether to execute |
Yes you need to check host.json if the app is using extension bundle. @soninaren - Can you please paste a sample host.json? |
@soninaren will be updating CLI to take care of this scenario. Please hold off on this item until we have new CLI. |
@Flanker32 - Can you please verify if this issue is already addressed? |
@pragnagopa We are not aware of the status of extension bundles and function core tools and this issue is still in backlog. Besides, does this issue depends on #658? |
@Flanker32 - this is unrelated to issue #658 if an app is using extension bundles, mvn plugin should not run function extensions install explicitly. @soninaren - Are we still waiting on CLI updates? |
@pragnagopa The CLI updates required for this use are complete. Here is the sample host.json file. You need to only check for the id property since the version can change. {
"version": "2.0",
"extensionBundle": {
"id": "Microsoft.Azure.Functions.ExtensionBundle",
"version": "[1.*, 2.0.0)"
}
} |
Is there any way for me to test this change? |
@daniel-rocha This is an optimization to make sure we don't call |
@soninaren right. is there an internal repo where a new version of the plugin is updated? |
@daniel-rocha. I don't know if we stage the mvn plugin for testing before we release to production, @Flanker32 or @pragnagopa might be able to answer this. |
@soninaren Before release to production, we will release it to staging repo first for test purpose, i'll share the access once it is done. |
Fixed in #771, will skip func install when there are function bundles in |
Oldest CLI version that supported bundles is |
@soninaren Thanks for the information, i wonder whether we should show an info when user install the cli with lower version, for they may not be able to run it locally. |
@Flanker32 - Is this issue addressed? Can it be closed? |
@pragnagopa This has been done in #771, but the pr of archetype is pending for @mattchenderson said a few other bundles dependencies will come together. Is this job done? So that we could merge the archetype pr and close this issue. |
@pragnagopa This has been released with azure functions maven plugin 1.3.4, so close it. |
Plugin name and version
Functions
Related archetype update: microsoft/azure-maven-archetypes#108
If an app is using bundles, do not run
func extensions install
. This will eliminate the requirement for dotnet core / func cli at the app creation time.cc: @soninaren @jeffhollan @mattchenderson
@jdneo / @Flanker32 - Please let us know if you have any questions.
The text was updated successfully, but these errors were encountered: