Browse Source

Set up CI with Azure Pipelines

[skip ci]
pull/40/head
yusufkaratoprak 6 years ago
parent
commit
b40af3d466
  1. 11
      azure-pipelines.yml

11
azure-pipelines.yml

@ -3,7 +3,7 @@
# https://docs.microsoft.com/azure/devops/pipelines/languages/docker
trigger:
- main
- dev
variables:
@ -12,10 +12,9 @@ variables:
dockerRegistryServiceConnection: '9a6341b6-70a5-4ee7-b7a2-5efa6d4f0fe3'
imageRepository: 'volosofteventhub'
containerRegistry: 'voloeventhub.azurecr.io'
dockerfilePath: '**/Dockerfile'
dockerfilePath: '**/Dockerfile.EventHub.Web'
tag: '$(Build.BuildNumber)'
# Agent VM image name
vmImageName: 'ubuntu-latest'
@ -48,7 +47,7 @@ stages:
jobs:
- deployment: Deploy
displayName: Deploy
displayName: Deploy-EventHub.Web
pool:
vmImage: $(vmImageName)
environment: 'volosofteventhub-5982.default'
@ -63,8 +62,8 @@ stages:
inputs:
action: deploy
manifests: |
$(Pipeline.Workspace)/manifests/deployment.yml
$(Pipeline.Workspace)/manifests/service.yml
$(Pipeline.Workspace)/manifests/deployment.eventhub.web.yml
$(Pipeline.Workspace)/manifests/service.eventhub.web.yml
containers: |
$(containerRegistry)/$(imageRepository):$(tag)

Loading…
Cancel
Save