Skip to content

Commit 6765652

Browse files
committed
VED-719: Add blue / green proxy release pipeline.
1 parent 00fa09b commit 6765652

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: "$(SourceBranchName)+$(BuildID)"
2+
3+
trigger: none
4+
pr: none
5+
6+
resources:
7+
repositories:
8+
- repository: common
9+
type: github
10+
name: NHSDigital/api-management-utils
11+
ref: refs/heads/edge
12+
endpoint: NHSDigital
13+
pipelines:
14+
- pipeline: build_pipeline
15+
source: "Immunisation-Fhir-Api-Build"
16+
trigger:
17+
branches:
18+
include:
19+
- release-*
20+
21+
pool:
22+
name: 'AWS-ECS'
23+
24+
variables:
25+
- template: project.yml
26+
27+
extends:
28+
template: azure/common/apigee-deployment.yml@common
29+
parameters:
30+
service_name: ${{ variables.service_name }}
31+
short_service_name: ${{ variables.short_service_name }}
32+
service_base_path: ${{ variables.service_base_path }}
33+
prod_requires_approval: true
34+
prod_producer_approval: true
35+
apigee_deployments:
36+
- environment: prod
37+
stage_name: blue
38+
jinja_templates:
39+
DOMAIN_ENDPOINT: https://blue.imms.prod.vds.platform.nhs.uk
40+
- environment: prod
41+
stage_name: green
42+
jinja_templates:
43+
DOMAIN_ENDPOINT: https://green.imms.prod.vds.platform.nhs.uk

0 commit comments

Comments
 (0)