Open marnixcox opened 2 years ago
@ellismg @wbreza do we need to add additional host support for deploying to Logic App Standard
@wsilveiranz @puicchan
@ellismg @wbreza do we need to add additional host support for deploying to Logic App Standard
We very may need to do this yes. The customer error here is due to azd thinking they have a .NET project and we're trying to do a build of it during deploy. That is a problem in and of itself but I suspect even if we could build this thing we may need extra work to end up deploying it.
@ellismg Yes please add it. Don't feel it is a lot different than deploying to a function app. And I am sure @wsilveiranz will be happy to provide some guidance.
Is there an update on this issues, would be great if we can automate the deployment of logic apps standard.
Solution is to add language: js
.So there is no need to add an aditional host.
workflows:
project: ./src/workflows
host: function
language: js
Output from
azd version
azd version 0.3.0-beta.1 (commit c5344160ed49bfda75281fba28b5e9ac7b96670e)
Output from
az version
Describe the bug After creating the infra I am trying to deploy Logic App Standard workflow content using the following yaml snippet:
This results in:
azd deploy Deploying service workflows... Error: deploying service: packaging service workflows: dotnet publish on project 'C:\Users\user\source\repos\workspace\logicappstandard\src\workflows' failed: exit code: 1, stdout: MSBuild version 17.3.1+2badb37d1 for .NET MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file. , stderr: : exit status 1
To Reproduce When using the Logic App Standard Visual Studio Code Extension: https://learn.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code
the following folder structure is created:
Expected behavior azd cli should zip the folder structure and its contents and deploy it to the Logic App.
Environment Information on your environment: