Replies: 1 comment 3 replies
-
@weikanglim can you take a look? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've an Azure DevOps pipeline which was based on the yaml template from aspire, but I've evolved to do a bit more, broken into stages, running tests, approvals and deployments to different environments.
The steps where I run 'azd deploy' take quite a while (because it's a Blazor app with AOT, so takes some crunching to produce publish output), and because it's going to different environments at different build stages, this long build runs multiple times.
As such, I've been trying to create a build/publish step up front with the output of that available to subsequent steps, hoping to prevent azd needing to create the publish output each time. However, the docs seems a bit sparse on this from what I've found, so am struggling.
Here's an example of the deploy step I'm trying at the moment:
However, it doesn't seem like '--from-package' does anything and it just starts 'Analyzing Aspire Application' and builds/publishes from source.
How do I go about doing this?
Beta Was this translation helpful? Give feedback.
All reactions