Skip to content

Commit 796f146

Browse files
committed
Issues with extends
1 parent 30a0a4a commit 796f146

File tree

2 files changed

+17
-48
lines changed

2 files changed

+17
-48
lines changed

azure/new_pipelines/apigee-deployment.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.
Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# azure-pr-blue-green-root.yml
2+
13
trigger: none
24
pr: none
35

@@ -9,25 +11,18 @@ resources:
911
ref: refs/heads/edge
1012
endpoint: NHSDigital
1113

12-
pool:
13-
name: 'AWS-ECS'
14-
15-
stages:
16-
- stage: GreenDeploy
17-
displayName: "Deploy to Green"
18-
jobs:
19-
- template: ./apigee-deployment.yml
20-
parameters:
21-
tf_environment: green
22-
tf_dir: "terraform_old"
23-
24-
# - stage: BlueDeploy
25-
# displayName: "Deploy to Blue"
26-
# dependsOn: GreenDeploy
27-
# jobs:
28-
# - template: ./apigee-deployment.yml
29-
# parameters:
30-
# tf_environment: blue
31-
# tf_dir: "terraform_old"
32-
33-
14+
extends:
15+
template: azure/common/apigee-deployment.yml@common
16+
parameters:
17+
service_name: immunisation-fhir-api
18+
short_service_name: ifa
19+
service_base_path: immunisation-fhir-api/FHIR/R4
20+
apigee_deployments:
21+
- environment: internal-dev
22+
jinja_templates:
23+
DOMAIN_ENDPOINT: https://green.imms.int.vds.platform.nhs.uk
24+
post_deploy:
25+
- template: post-apigee-deployment.yml
26+
parameters:
27+
tf_dir: terraform_old
28+
tf_environment: green

0 commit comments

Comments
 (0)