Fix paths for moved folders
This commit is contained in:
parent
8cc680847a
commit
4481cc34ed
@ -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/*
|
- deploy/k8s/helm/apigwmm/*
|
||||||
- k8s/helm/apigwms/*
|
- deploy/k8s/helm/apigwms/*
|
||||||
- k8s/helm/apigwwm/*
|
- deploy/k8s/helm/apigwwm/*
|
||||||
- k8s/helm/apigwws/*
|
- 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
|
- job: PublishCharts
|
||||||
parameters:
|
condition: ne('$(Build.Reason)', 'PullRequest')
|
||||||
services: mobileshoppingapigw mobilemarketingapigw webshoppingapigw webmarketingapigw
|
pool:
|
||||||
registryEndpoint: $(registryEndpoint)
|
vmImage: 'ubuntu-16.04'
|
||||||
helmfrom: $(Build.SourcesDirectory)/k8s/helm
|
steps:
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
- task: CopyFiles@2
|
||||||
- template: ../multiarch.yaml
|
inputs:
|
||||||
parameters:
|
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
image: ocelotapigw
|
targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
branch: $(Build.SourceBranchName)
|
- task: PublishBuildArtifacts@1
|
||||||
registryEndpoint: $(registryEndpoint)
|
inputs:
|
||||||
|
pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
|
artifactName: helm
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: basket.api
|
image: basket.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: catalog.api
|
image: catalog.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: identity.api
|
image: identity.api
|
||||||
|
@ -9,17 +9,17 @@ trigger:
|
|||||||
- dev
|
- dev
|
||||||
paths:
|
paths:
|
||||||
include:
|
include:
|
||||||
- k8s/helm/basket-data/*
|
- deploy/k8s/helm/basket-data/*
|
||||||
- k8s/helm/keystore-data/*
|
- deploy/k8s/helm/keystore-data/*
|
||||||
- k8s/helm/nosql-data/*
|
- deploy/k8s/helm/nosql-data/*
|
||||||
- k8s/helm/rabbitmq/*
|
- deploy/k8s/helm/rabbitmq/*
|
||||||
- k8s/helm/sql-data/*
|
- deploy/k8s/helm/sql-data/*
|
||||||
steps:
|
steps:
|
||||||
- task: CopyFiles@2
|
- task: CopyFiles@2
|
||||||
inputs:
|
inputs:
|
||||||
sourceFolder: $(Build.SourcesDirectory)/k8s/helm
|
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
targetFolder: $(Build.ArtifactStagingDirectory)/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
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: locations.api
|
image: locations.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: marketing.api
|
image: marketing.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: mobileshoppingagg
|
image: mobileshoppingagg
|
||||||
|
@ -9,16 +9,16 @@ trigger:
|
|||||||
include:
|
include:
|
||||||
- src/BuildingBlocks/*
|
- src/BuildingBlocks/*
|
||||||
- src/Services/Ordering/*
|
- src/Services/Ordering/*
|
||||||
- k8s/helm/ordering-api/*
|
- deploy/k8s/helm/ordering-api/*
|
||||||
- k8s/helm/ordering-backgroundtasks/*
|
- deploy/k8s/helm/ordering-backgroundtasks/*
|
||||||
- k8s/helm/ordering-signalrhub/*
|
- 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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: ordering.api
|
image: ordering.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: payment.api
|
image: payment.api
|
||||||
|
@ -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).
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webshoppingagg
|
image: webshoppingagg
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webhooks.api
|
image: webhooks.api
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webhooks.client
|
image: webhooks.client
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webmvc
|
image: webmvc
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webspa
|
image: webspa
|
||||||
|
@ -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
|
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
|
||||||
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
|
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
|
||||||
- template: ../multiarch.yaml
|
- template: ../multiarch.yaml
|
||||||
parameters:
|
parameters:
|
||||||
image: webstatus
|
image: webstatus
|
||||||
|
Loading…
x
Reference in New Issue
Block a user