Browse Source

adding triggers to yaml builds

pull/975/head
eiximenis 5 years ago
parent
commit
713eb27688
15 changed files with 155 additions and 0 deletions
  1. +15
    -0
      build/azure-devops/apigws/azure-pipelines.yml
  2. +10
    -0
      build/azure-devops/basket-api/azure-pipelines.yml
  3. +10
    -0
      build/azure-devops/catalog-api/azure-pipelines.yml
  4. +10
    -0
      build/azure-devops/identity-api/azure-pipelines.yml
  5. +10
    -0
      build/azure-devops/location-api/azure-pipelines.yml
  6. +10
    -0
      build/azure-devops/marketing-api/azure-pipelines.yml
  7. +9
    -0
      build/azure-devops/mobile-shopping-agg/azure-pipelines.yml
  8. +12
    -0
      build/azure-devops/ordering-api/azure-pipelines.yml
  9. +10
    -0
      build/azure-devops/payment-api/azure-pipelines.yml
  10. +9
    -0
      build/azure-devops/web-shopping-agg/azure-pipelines.yml
  11. +10
    -0
      build/azure-devops/webhooks-api/azure-pipelines.yml
  12. +10
    -0
      build/azure-devops/webhooks-client/azure-pipelines.yml
  13. +10
    -0
      build/azure-devops/webmvc/azure-pipelines.yml
  14. +10
    -0
      build/azure-devops/webspa/azure-pipelines.yml
  15. +10
    -0
      build/azure-devops/webstatus/azure-pipelines.yml

+ 15
- 0
build/azure-devops/apigws/azure-pipelines.yml View File

@ -2,6 +2,21 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/ApiGateways/*
- k8s/helm/apigwmm/*
- k8s/helm/apigwms/*
- k8s/helm/apigwwm/*
- k8s/helm/apigwws/*
exclude:
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
- src/ApiGateways/Web.Bff.Shopping/aggregator/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build apigws displayName: Compose build apigws


+ 10
- 0
build/azure-devops/basket-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Basket/*
- k8s/helm/basket-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build basket displayName: Compose build basket


+ 10
- 0
build/azure-devops/catalog-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Catalog/*
- k8s/helm/catalog-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build catalog displayName: Compose build catalog


+ 10
- 0
build/azure-devops/identity-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Identity/*
- k8s/helm/identity-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build identity displayName: Compose build identity


+ 10
- 0
build/azure-devops/location-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Location/*
- k8s/helm/locations-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build locations displayName: Compose build locations


+ 10
- 0
build/azure-devops/marketing-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Marketing/*
- k8s/helm/marketing-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build marketing displayName: Compose build marketing


+ 9
- 0
build/azure-devops/mobile-shopping-agg/azure-pipelines.yml View File

@ -2,6 +2,15 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
- k8s/helm/mobileshoppingagg/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build mobileshoppingagg displayName: Compose build mobileshoppingagg


+ 12
- 0
build/azure-devops/ordering-api/azure-pipelines.yml View File

@ -2,6 +2,18 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Ordering/*
- k8s/helm/ordering-api/*
- k8s/helm/ordering-backgroundtasks/*
- k8s/helm/ordering-signalrhub/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build ordering displayName: Compose build ordering


+ 10
- 0
build/azure-devops/payment-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Payment/*
- k8s/helm/payment-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build payment displayName: Compose build payment


+ 9
- 0
build/azure-devops/web-shopping-agg/azure-pipelines.yml View File

@ -2,6 +2,15 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/ApiGateways/Web.Bff.Shopping/aggregator/*
- k8s/helm/webshoppingagg/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webshoppingagg displayName: Compose build webshoppingagg


+ 10
- 0
build/azure-devops/webhooks-api/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Services/Webhooks/*
- k8s/helm/webhooks-api/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webhooks displayName: Compose build webhooks


+ 10
- 0
build/azure-devops/webhooks-client/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Web/WebhookClient/*
- k8s/helm/webhooks-web/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webhooks.client displayName: Compose build webhooks.client


+ 10
- 0
build/azure-devops/webmvc/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Web/WebMVC/*
- k8s/helm/webmvc/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webmvc displayName: Compose build webmvc


+ 10
- 0
build/azure-devops/webspa/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Web/WebSPA/*
- k8s/helm/webspa/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webspa displayName: Compose build webspa


+ 10
- 0
build/azure-devops/webstatus/azure-pipelines.yml View File

@ -2,6 +2,16 @@ pool:
vmImage: 'ubuntu-16.04' vmImage: 'ubuntu-16.04'
variables: variables:
registryEndpoint: eshop-registry registryEndpoint: eshop-registry
trigger:
branches:
include:
- master
- dev
paths:
include:
- src/BuildingBlocks/*
- src/Web/WebStatus/*
- k8s/helm/webstatus/*
steps: steps:
- task: DockerCompose@0 - task: DockerCompose@0
displayName: Compose build webstatus displayName: Compose build webstatus


Loading…
Cancel
Save