Skip to content

Commit 64869cb

Browse files
committed
APIGEE step
1 parent a9c3ed1 commit 64869cb

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

azure/new_pipelines/deploy-int-job.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ parameters:
88
type: string
99
default: "green"
1010

11+
variables:
12+
- template: project.yml
13+
1114
jobs:
1215
- job: deploy
1316
displayName: Deployment
@@ -17,6 +20,16 @@ jobs:
1720
workspace:
1821
clean: all
1922
steps:
23+
- template: azure/common/apigee-deployment.yml@common
24+
parameters:
25+
service_name: ${{ variables.service_name }}
26+
short_service_name: ${{ variables.short_service_name }}
27+
service_base_path: ${{ variables.service_base_path }}
28+
apigee_deployments:
29+
- environment: internal-dev
30+
jinja_templates:
31+
DOMAIN_ENDPOINT: https://green.imms.int.vds.platform.nhs.uk
32+
2033
- template: "azure/components/aws-assume-role.yml@common"
2134
parameters:
2235
role: "auto-ops"

azure/new_pipelines/project.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
variables:
2+
- group: status-endpoint
3+
- name: service_name
4+
value: immunisation-fhir-api
5+
- name: short_service_name
6+
value: ifa
7+
- name: service_base_path
8+
value: immunisation-fhir-api/FHIR/R4
9+
- name: pr_number
10+
value: ${{ split(variables['Build.SourceBranch'], '/')[2] }}
11+

0 commit comments

Comments
 (0)