Skip to content

Commit

Permalink
Updating CD pipelines to use new container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcilvenna committed Apr 1, 2024
1 parent 8136f2d commit 59033f9
Show file tree
Hide file tree
Showing 17 changed files with 47 additions and 124 deletions.
5 changes: 4 additions & 1 deletion Azure_Pipelines/azure-pipelines.account.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ variables:
value: 'link-account'
- name: dockerPath
value: '**/Account/Dockerfile'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
- task: DotNetCoreCLI@2
Expand Down Expand Up @@ -55,7 +58,7 @@ steps:
displayName: "Build & Push Account Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.audit.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Audit/Dockerfile'
- name: serviceName
value: 'Audit'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Audit Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.census.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Census/Dockerfile'
- name: serviceName
value: 'Census'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Census Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.dataacquisition.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/DataAcquisition/Dockerfile'
- name: serviceName
value: 'DataAcquisition'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push DataAcquisition Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
3 changes: 2 additions & 1 deletion Azure_Pipelines/azure-pipelines.gateway.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ variables:
$(Build.BuildId)
registry-repo-Name: 'link-api-gw'
dockerPath: '**/DemoApiGateway/Dockerfile'
containerRegistry: 'NHSNLink ACR Premium'

steps:
- task: PowerShell@2
Expand Down Expand Up @@ -73,7 +74,7 @@ steps:
displayName: "Build & Push DemoApiGateway Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.measureeval.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/MeasureEval/Dockerfile'
- name: serviceName
value: 'MeasureEval'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push MeasureEval Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.normalization.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Normalization/Dockerfile'
- name: serviceName
value: 'Normalization'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Normalization Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.notification.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Notification/Dockerfile'
- name: serviceName
value: 'Notification'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Notification Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
72 changes: 0 additions & 72 deletions Azure_Pipelines/azure-pipelines.patientbundlepermeasure.cd.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions Azure_Pipelines/azure-pipelines.patientbundlepermeasure.ci.yaml

This file was deleted.

4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.patientlist.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/PatientList/Dockerfile'
- name: serviceName
value: 'PatientList'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push PatientList Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.patientstoquery.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/PatientsToQuery/Dockerfile'
- name: serviceName
value: 'PatientsToQuery'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Account Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.querydispatch.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/QueryDispatch/Dockerfile'
- name: serviceName
value: 'QueryDispatch'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push QueryDispatch Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
5 changes: 4 additions & 1 deletion Azure_Pipelines/azure-pipelines.report.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ variables:
value: '**/Report/Dockerfile'
- name: serviceName
value: 'Report'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml

Expand Down Expand Up @@ -56,7 +59,7 @@ steps:
displayName: "Build & Push Report Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.submission.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Submission/Dockerfile'
- name: serviceName
value: 'Submission'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -56,7 +58,7 @@ steps:
displayName: "Build & Push Account Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
5 changes: 4 additions & 1 deletion Azure_Pipelines/azure-pipelines.tenant.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ variables:
value: '**/Tenant/Dockerfile'
- name: serviceName
value: 'Tenant'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml

Expand Down Expand Up @@ -56,7 +59,7 @@ steps:
displayName: "Build & Push Tenant Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down
4 changes: 3 additions & 1 deletion Azure_Pipelines/azure-pipelines.validation.cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ variables:
value: '**/Validation/Dockerfile'
- name: serviceName
value: 'Validation'
- name: containerRegistry
value: 'NHSNLink ACR Premium'

steps:
- template: ../azure-nuget-package-source.yml
Expand Down Expand Up @@ -57,7 +59,7 @@ steps:
displayName: "Build & Push Validation Docker Image"
condition: always()
inputs:
containerRegistry: 'Link ACR'
containerRegistry: $(containerRegistry)
repository: $(registry-repo-name)
command: 'buildAndPush'
Dockerfile: $(dockerPath)
Expand Down

0 comments on commit 59033f9

Please sign in to comment.