Skip to content

Commit b5ab54a

Browse files
committed
Merge branch 'fix/post-release-fixes' into dev
2 parents 8cc6808 + 42fe72e commit b5ab54a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+323
-272
lines changed
+17-17
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
variables:
2-
registryEndpoint: eshop-registry
31
trigger:
42
branches:
53
include:
@@ -8,22 +6,24 @@ trigger:
86
paths:
97
include:
108
- src/ApiGateways/*
11-
- k8s/helm/apigwmm/*
12-
- k8s/helm/apigwms/*
13-
- k8s/helm/apigwwm/*
14-
- k8s/helm/apigwws/*
9+
- deploy/k8s/helm/apigwmm/*
10+
- deploy/k8s/helm/apigwms/*
11+
- deploy/k8s/helm/apigwwm/*
12+
- deploy/k8s/helm/apigwws/*
1513
exclude:
1614
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
1715
- src/ApiGateways/Web.Bff.Shopping/aggregator/*
1816
jobs:
19-
- template: ../buildimages.yaml
20-
parameters:
21-
services: mobileshoppingapigw mobilemarketingapigw webshoppingapigw webmarketingapigw
22-
registryEndpoint: $(registryEndpoint)
23-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
24-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
25-
- template: ../multiarch.yaml
26-
parameters:
27-
image: ocelotapigw
28-
branch: $(Build.SourceBranchName)
29-
registryEndpoint: $(registryEndpoint)
17+
- job: PublishCharts
18+
condition: ne('$(Build.Reason)', 'PullRequest')
19+
pool:
20+
vmImage: 'ubuntu-16.04'
21+
steps:
22+
- task: CopyFiles@2
23+
inputs:
24+
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
25+
targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
26+
- task: PublishBuildArtifacts@1
27+
inputs:
28+
pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
29+
artifactName: helm

build/azure-devops/basket-api/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Basket/*
12-
- k8s/helm/basket-api/*
12+
- deploy/k8s/helm/basket-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: basket.api
1717
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: basket.api

build/azure-devops/buildimages.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313
- bash: docker-compose build ${{ parameters.services }}
1414
displayName: Create multiarch manifest
1515
env:
16-
TAG: ${{ variables['Build.SourceBranchName'] }}
16+
TAG: ${{ variables['Build.SourceBranchName'] }}
1717
- job: BuildContainersForPR_Windows
18-
condition: eq('${{ variables['Build.Reason'] }}', 'PullRequest')
18+
condition: False
19+
# condition: eq('${{ variables['Build.Reason'] }}', 'PullRequest')
1920
pool:
2021
vmImage: 'windows-2019'
2122
steps:
2223
- bash: docker-compose build ${{ parameters.services }}
2324
displayName: Create multiarch manifest
2425
env:
25-
TAG: ${{ variables['Build.SourceBranchName'] }}
26+
TAG: ${{ variables['Build.SourceBranchName'] }}
2627
PLATFORM: win
2728
NODE_IMAGE: stefanscherer/node-windows:10
2829
- job: BuildLinux
@@ -51,7 +52,7 @@ jobs:
5152
qualifyImageNames: true
5253
projectName: ""
5354
dockerComposeFileArgs: |
54-
TAG=${{ variables['Build.SourceBranchName'] }}
55+
TAG=${{ variables['Build.SourceBranchName'] }}
5556
- task: CopyFiles@2
5657
inputs:
5758
sourceFolder: ${{ parameters.helmfrom }}
@@ -61,7 +62,8 @@ jobs:
6162
pathtoPublish: ${{ parameters.helmto }}
6263
artifactName: helm
6364
- job: BuildWindows
64-
condition: ne('${{ variables['Build.Reason'] }}', 'PullRequest')
65+
condition: False
66+
# condition: ne('${{ variables['Build.Reason'] }}', 'PullRequest')
6567
pool:
6668
vmImage: 'windows-2019'
6769
steps:
@@ -89,4 +91,4 @@ jobs:
8991
projectName: ""
9092
dockerComposeFileArgs: |
9193
TAG=${{ variables['Build.SourceBranchName'] }}
92-
PLATFORM=win
94+
PLATFORM=win

build/azure-devops/catalog-api/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Catalog/*
12-
- k8s/helm/catalog-api/*
12+
- deploy/k8s/helm/catalog-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: catalog.api
1717
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: catalog.api

build/azure-devops/identity-api/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Identity/*
12-
- k8s/helm/identity-api/*
12+
- deploy/k8s/helm/identity-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: identity.api
1717
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: identity.api

build/azure-devops/infrastructure/azure-pipelines.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ trigger:
99
- dev
1010
paths:
1111
include:
12-
- k8s/helm/basket-data/*
13-
- k8s/helm/keystore-data/*
14-
- k8s/helm/nosql-data/*
15-
- k8s/helm/rabbitmq/*
16-
- k8s/helm/sql-data/*
12+
- deploy/k8s/helm/basket-data/*
13+
- deploy/k8s/helm/keystore-data/*
14+
- deploy/k8s/helm/nosql-data/*
15+
- deploy/k8s/helm/rabbitmq/*
16+
- deploy/k8s/helm/sql-data/*
1717
steps:
1818
- task: CopyFiles@2
1919
inputs:
20-
sourceFolder: $(Build.SourcesDirectory)/k8s/helm
21-
targetFolder: $(Build.ArtifactStagingDirectory)/k8s/helm
20+
sourceFolder: $(Build.SourcesDirectory)/deploy/k8s/helm
21+
targetFolder: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2222
- task: PublishBuildArtifacts@1
2323
inputs:
24-
pathtoPublish: $(Build.ArtifactStagingDirectory)/k8s/helm
24+
pathtoPublish: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2525
artifactName: helm

build/azure-devops/location-api/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Location/*
12-
- k8s/helm/locations-api/*
12+
- deploy/k8s/helm/locations-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: locations.api
1717
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: locations.api

build/azure-devops/marketing-api/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Marketing/*
12-
- k8s/helm/marketing-api/*
12+
- deploy/k8s/helm/marketing-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: marketing.api
1717
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: marketing.api

build/azure-devops/mobile-shopping-agg/azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ trigger:
88
paths:
99
include:
1010
- src/ApiGateways/Mobile.Bff.Shopping/aggregator/*
11-
- k8s/helm/mobileshoppingagg/*
11+
- deploy/k8s/helm/mobileshoppingagg/*
1212
jobs:
1313
- template: ../buildimages.yaml
1414
parameters:
1515
services: mobileshoppingagg
1616
registryEndpoint: $(registryEndpoint)
17-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
18-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
18+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
1919
- template: ../multiarch.yaml
2020
parameters:
2121
image: mobileshoppingagg

build/azure-devops/ordering-api/azure-pipelines.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Ordering/*
12-
- k8s/helm/ordering-api/*
13-
- k8s/helm/ordering-backgroundtasks/*
14-
- k8s/helm/ordering-signalrhub/*
12+
- deploy/k8s/helm/ordering-api/*
13+
- deploy/k8s/helm/ordering-backgroundtasks/*
14+
- deploy/k8s/helm/ordering-signalrhub/*
1515
jobs:
1616
- template: ../buildimages.yaml
1717
parameters:
1818
services: ordering.api
1919
registryEndpoint: $(registryEndpoint)
20-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
21-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
20+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
21+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2222
- template: ../multiarch.yaml
2323
parameters:
2424
image: ordering.api

build/azure-devops/payment-api/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Payment/*
12-
- k8s/helm/payment-api/*
12+
- deploy/k8s/helm/payment-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: payment.api
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: payment.api

build/azure-devops/readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Azure Devops build definitions
1+
# Azure DevOps build definitions
22

3-
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).
3+
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).
44

5-
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).
5+
For more information about YAML builds read the [Azure DevOps documentation](https://docs.microsoft.com/azure/devops/pipelines/get-started-yaml?view=azure-devops).

build/azure-devops/web-shopping-agg/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ trigger:
88
paths:
99
include:
1010
- src/ApiGateways/Web.Bff.Shopping/aggregator/*
11-
- k8s/helm/webshoppingagg/*
11+
- deploy/k8s/helm/webshoppingagg/*
1212
jobs:
1313
- template: ../buildimages.yaml
1414
parameters:
1515
services: webshoppingagg
16-
registryEndpoint: $(registryEndpoint)
17-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
18-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
16+
registryEndpoint: $(registryEndpoint)
17+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
18+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
1919
- template: ../multiarch.yaml
2020
parameters:
2121
image: webshoppingagg

build/azure-devops/webhooks-api/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Services/Webhooks/*
12-
- k8s/helm/webhooks-api/*
12+
- deploy/k8s/helm/webhooks-api/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: webhooks.api
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: webhooks.api

build/azure-devops/webhooks-client/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Web/WebhookClient/*
12-
- k8s/helm/webhooks-web/*
12+
- deploy/k8s/helm/webhooks-web/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: webhooks.client
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: webhooks.client

build/azure-devops/webmvc/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Web/WebMVC/*
12-
- k8s/helm/webmvc/*
12+
- deploy/k8s/helm/webmvc/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: webmvc
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: webmvc

build/azure-devops/webspa/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Web/WebSPA/*
12-
- k8s/helm/webspa/*
12+
- deploy/k8s/helm/webspa/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: webspa
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: webspa

build/azure-devops/webstatus/azure-pipelines.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ trigger:
99
include:
1010
- src/BuildingBlocks/*
1111
- src/Web/WebStatus/*
12-
- k8s/helm/webstatus/*
12+
- deploy/k8s/helm/webstatus/*
1313
jobs:
1414
- template: ../buildimages.yaml
1515
parameters:
1616
services: webstatus
17-
registryEndpoint: $(registryEndpoint)
18-
helmfrom: $(Build.SourcesDirectory)/k8s/helm
19-
helmto: $(Build.ArtifactStagingDirectory)/k8s/helm
17+
registryEndpoint: $(registryEndpoint)
18+
helmfrom: $(Build.SourcesDirectory)/deploy/k8s/helm
19+
helmto: $(Build.ArtifactStagingDirectory)/deploy/k8s/helm
2020
- template: ../multiarch.yaml
2121
parameters:
2222
image: webstatus

0 commit comments

Comments
 (0)