Sample Azure DevOps Pipeline for Single-Tenant LogicApp

Kidd, Alan 26 Reputation points
2022-03-17T04:23:53.323+00:00

I have built a DevOps pipeline for a multi-tenant consumption Logic App. I now need to build a pipeline for a single-tenant Logic App.

Can you please point me to a sample pipeline which is relatively simple?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,963 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: This tag is no longer in use. Please use 'Azure Startups' instead.
75 questions
0 comments No comments
{count} votes

Accepted answer
  1. Will Velida 166 Reputation points
    2022-03-17T04:45:19.123+00:00

    Hi Alan,

    Here is a sample for a single tenant logic app that you can deploy via Azure DevOps: https://github.com/Azure/logicapps/tree/master/azure-devops-sample

    Here's a doc that has more details on that sample: https://video2.skills-academy.com/en-us/azure/logic-apps/set-up-devops-deployment-single-tenant-azure-logic-apps?tabs=github

    Hopefully that helps :)


1 additional answer

Sort by: Most helpful
  1. Kidd, Alan 26 Reputation points
    2022-03-30T05:24:41.763+00:00

    I got it working

    # Deploy Standard Logic App
    
    trigger:
    - master
    
    pool:
      vmImage: 'windows-latest'
    
    variables:
      buildPlatform: 'Any CPU'
      buildConfiguration: 'Release'
    
    jobs:
    - job: logic_app_build
      displayName: 'Build and publish logic app'
      steps:
      - task: CopyFiles@2
        displayName: 'Create project folder'
        inputs:
          SourceFolder: '$(System.DefaultWorkingDirectory)'
          Contents: |
            **
          TargetFolder: 'project_output'
    
      - task: ArchiveFiles@2
        displayName: 'Create project zip'
        inputs:
          rootFolderOrFile: '$(System.DefaultWorkingDirectory)/project_output'
          includeRootFolder: false
          archiveType: 'zip'
          archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
          replaceExistingArchive: true
    
      - task: AzureFunctionApp@1
        displayName: 'Deploy logic app workflows'
        inputs:
          azureSubscription: 'subscription1'
          appType: 'workflowapp'
          appName: 'vscode-logic-std'
          package: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
          deploymentMethod: 'zipDeploy'
    
    0 comments No comments