Untitled
unknown
plain_text
2 years ago
1.4 kB
10
Indexable
trigger:
- none # TODO
variables:
pipelineImageName: 'ubuntu-latest'
serviceConnectionName: 'Workflow-DevTest'
infrastructureSourcesFolderPath: 'Infrastructure'
infrastructureTemplateFilePath: '$(infrastructureSourcesFolderPath)/TODO'
infrastructureTemplateParametersFilePath: '$(infrastructureSourcesFolderPath)/TODO'
subscriptionId: '1fedd5f0-38e0-48c7-9dca-f895752682a9'
location: 'eastus2'
resourceGroup: 'wf-cd-3'
pool:
vmImage: $(pipelineImageName)
steps:
# restore, build, test, and publish sources
- task: DotNetCoreCLI@2
displayName: DotNet Restore
inputs:
command: 'restore'
projects: '**/*.csproj'
feedsToUse: 'select'
- task: DotNetCoreCLI@2
displayName: DotNet Build
inputs:
command: 'build'
projects: '**/*.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: DotNet Test
condition:
inputs:
command: 'test'
projects: '**/*Tests.csproj'
arguments: '--configuration $(buildConfiguration)'
- task: DotNetCoreCLI@2
displayName: DotNet Publish
inputs:
command: 'publish'
publishWebProjects: true
zipAfterPublish: true
arguments: '--configuration $(buildConfiguration) --output $(Build.ArtifactStagingDirectory)'
# TODO: deploy infrastructure
# TODO: deploy database
# TODO: deploy web appEditor is loading...
Leave a Comment