Browse Source

Fix paths for moved folders

fix/devops-pipelines
Miguel Veloso 5 years ago
parent
commit
4481cc34ed
17 changed files with 72 additions and 72 deletions
  1. +17
    -17
      build/azure-devops/apigws/azure-pipelines.yml
  2. +3
    -3
      build/azure-devops/basket-api/azure-pipelines.yml
  3. +3
    -3
      build/azure-devops/catalog-api/azure-pipelines.yml
  4. +3
    -3
      build/azure-devops/identity-api/azure-pipelines.yml
  5. +8
    -8
      build/azure-devops/infrastructure/azure-pipelines.yml
  6. +3
    -3
      build/azure-devops/location-api/azure-pipelines.yml
  7. +3
    -3
      build/azure-devops/marketing-api/azure-pipelines.yml
  8. +3
    -3
      build/azure-devops/mobile-shopping-agg/azure-pipelines.yml
  9. +5
    -5
      build/azure-devops/ordering-api/azure-pipelines.yml
  10. +3
    -3
      build/azure-devops/payment-api/azure-pipelines.yml
  11. +3
    -3
      build/azure-devops/readme.md
  12. +3
    -3
      build/azure-devops/web-shopping-agg/azure-pipelines.yml
  13. +3
    -3
      build/azure-devops/webhooks-api/azure-pipelines.yml
  14. +3
    -3
      build/azure-devops/webhooks-client/azure-pipelines.yml
  15. +3
    -3
      build/azure-devops/webmvc/azure-pipelines.yml
  16. +3
    -3
      build/azure-devops/webspa/azure-pipelines.yml
  17. +3
    -3
      build/azure-devops/webstatus/azure-pipelines.yml

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

@ -1,5 +1,3 @@
variables:
registryEndpoint: eshop-registry
trigger: trigger:
branches: branches:
include: include:
@ -8,22 +6,24 @@ trigger:
paths: paths:
include: include:
- src/ApiGateways/* - src/ApiGateways/*
- k8s/helm/apigwmm/*
- k8s/helm/apigwms/*
- k8s/helm/apigwwm/*
- k8s/helm/apigwws/*
- deploy/k8s/helm/apigwmm/*
- deploy/k8s/helm/apigwms/*
- deploy/k8s/helm/apigwwm/*
- deploy/k8s/helm/apigwws/*
exclude: exclude:
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/* - src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
- src/ApiGateways/Web.Bff.Shopping/aggregator/* - src/ApiGateways/Web.Bff.Shopping/aggregator/*
jobs: jobs:
- template: ../buildimages.yaml
parameters:
services: mobileshoppingapigw mobilemarketingapigw webshoppingapigw webmarketingapigw
registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
- template: ../multiarch.yaml
parameters:
image: ocelotapigw
branch: $(Build.SourceBranchName)
registryEndpoint: $(registryEndpoint)
- job: PublishCharts
condition: ne('$(Build.Reason)', 'PullRequest')
pool:
vmImage: 'ubuntu-16.04'
steps:
- task: CopyFiles@2
inputs:
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
artifactName: helm

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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Basket/* - src/Services/Basket/*
- k8s/helm/basket-api/*
- deploy/k8s/helm/basket-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: basket.api services: basket.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: basket.api image: basket.api


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Catalog/* - src/Services/Catalog/*
- k8s/helm/catalog-api/*
- deploy/k8s/helm/catalog-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: catalog.api services: catalog.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: catalog.api image: catalog.api


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Identity/* - src/Services/Identity/*
- k8s/helm/identity-api/*
- deploy/k8s/helm/identity-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: identity.api services: identity.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: identity.api image: identity.api


+ 8
- 8
build/azure-devops/infrastructure/azure-pipelines.yml View File

@ -9,17 +9,17 @@ trigger:
- dev - dev
paths: paths:
include: include:
- k8s/helm/basket-data/*
- k8s/helm/keystore-data/*
- k8s/helm/nosql-data/*
- k8s/helm/rabbitmq/*
- k8s/helm/sql-data/*
- deploy/k8s/helm/basket-data/*
- deploy/k8s/helm/keystore-data/*
- deploy/k8s/helm/nosql-data/*
- deploy/k8s/helm/rabbitmq/*
- deploy/k8s/helm/sql-data/*
steps: steps:
- task: CopyFiles@2 - task: CopyFiles@2
inputs: inputs:
sourceFolder: $(Build.SourcesDirectory)/k8s/helm
targetFolder: $(Build.ArtifactStagingDirectory)/k8s/helm
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- task: PublishBuildArtifacts@1 - task: PublishBuildArtifacts@1
inputs: inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)/k8s/helm
pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
artifactName: helm artifactName: helm

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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Location/* - src/Services/Location/*
- k8s/helm/locations-api/*
- deploy/k8s/helm/locations-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: locations.api services: locations.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: locations.api image: locations.api


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Marketing/* - src/Services/Marketing/*
- k8s/helm/marketing-api/*
- deploy/k8s/helm/marketing-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: marketing.api services: marketing.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: marketing.api image: marketing.api


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

@ -8,14 +8,14 @@ trigger:
paths: paths:
include: include:
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/* - src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
- k8s/helm/mobileshoppingagg/*
- deploy/k8s/helm/mobileshoppingagg/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: mobileshoppingagg services: mobileshoppingagg
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: mobileshoppingagg image: mobileshoppingagg


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

@ -9,16 +9,16 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Ordering/* - src/Services/Ordering/*
- k8s/helm/ordering-api/*
- k8s/helm/ordering-backgroundtasks/*
- k8s/helm/ordering-signalrhub/*
- deploy/k8s/helm/ordering-api/*
- deploy/k8s/helm/ordering-backgroundtasks/*
- deploy/k8s/helm/ordering-signalrhub/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: ordering.api services: ordering.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: ordering.api image: ordering.api


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Payment/* - src/Services/Payment/*
- k8s/helm/payment-api/*
- deploy/k8s/helm/payment-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: payment.api services: payment.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: payment.api image: payment.api


+ 3
- 3
build/azure-devops/readme.md View File

@ -1,5 +1,5 @@
# Azure Devops build definitions
# Azure DevOps build definitions
This folder contains the Azure Devops build definitions in YAML format. Each folder contains one `azure-pipelines.yml` that contains the build definition for one microservice (usually a Docker image, but some microservices generates more than one Docker image).
This folder contains the Azure DevOps build definitions in YAML format. Each folder contains one `azure-pipelines.yml` that contains the build definition for one microservice (usually a Docker image, but some microservices generates more than one Docker image).
For more information about YAML builds read the [Azure DevOps documentation](https://docs.microsoft.com/en-us/azure/devops/pipelines/get-started-yaml?view=azure-devops).
For more information about YAML builds read the [Azure DevOps documentation](https://docs.microsoft.com/azure/devops/pipelines/get-started-yaml?view=azure-devops).

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

@ -8,14 +8,14 @@ trigger:
paths: paths:
include: include:
- src/ApiGateways/Web.Bff.Shopping/aggregator/* - src/ApiGateways/Web.Bff.Shopping/aggregator/*
- k8s/helm/webshoppingagg/*
- deploy/k8s/helm/webshoppingagg/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webshoppingagg services: webshoppingagg
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webshoppingagg image: webshoppingagg


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Services/Webhooks/* - src/Services/Webhooks/*
- k8s/helm/webhooks-api/*
- deploy/k8s/helm/webhooks-api/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webhooks.api services: webhooks.api
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webhooks.api image: webhooks.api


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Web/WebhookClient/* - src/Web/WebhookClient/*
- k8s/helm/webhooks-web/*
- deploy/k8s/helm/webhooks-web/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webhooks.client services: webhooks.client
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webhooks.client image: webhooks.client


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Web/WebMVC/* - src/Web/WebMVC/*
- k8s/helm/webmvc/*
- deploy/k8s/helm/webmvc/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webmvc services: webmvc
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webmvc image: webmvc


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Web/WebSPA/* - src/Web/WebSPA/*
- k8s/helm/webspa/*
- deploy/k8s/helm/webspa/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webspa services: webspa
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webspa image: webspa


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

@ -9,14 +9,14 @@ trigger:
include: include:
- src/BuildingBlocks/* - src/BuildingBlocks/*
- src/Web/WebStatus/* - src/Web/WebStatus/*
- k8s/helm/webstatus/*
- deploy/k8s/helm/webstatus/*
jobs: jobs:
- template: ../buildimages.yaml - template: ../buildimages.yaml
parameters: parameters:
services: webstatus services: webstatus
registryEndpoint: $(registryEndpoint) registryEndpoint: $(registryEndpoint)
helmfrom: $(Build.SourcesDirectory)/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
- template: ../multiarch.yaml - template: ../multiarch.yaml
parameters: parameters:
image: webstatus image: webstatus


Loading…
Cancel
Save