Skip to content

Commit 93b8f7a

Browse files
Merge pull request #5 from NHSDigital/dp-APM-2884
APM-2884 Fix release prod pipeline
2 parents c859c49 + aab1250 commit 93b8f7a

2 files changed

Lines changed: 8 additions & 18 deletions

File tree

azure/azure-release-pipeline.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ extends:
3737
- environment: prod
3838
post_deploy:
3939
- template: ./templates/run-smoke-tests.yml
40-
depends_on:
41-
- internal-dev
4240
# - environment: internal-qa
4341
# post_deploy:
4442
# - template: ./templates/run-smoke-tests.yml

manifest_template.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,11 @@ DESCRIPTION: example description
44
APIGEE_ENVIRONMENTS:
55
- name: internal-dev
66
display_name: Internal Development
7-
# - name: internal-dev-sandbox
8-
# display_name: Internal Development Sandbox
9-
# - name: internal-qa
10-
# display_name: Internal QA
11-
# - name: internal-qa-sandbox
12-
# display_name: Internal QA Sandbox
13-
# - name: ref
14-
# display_name: Reference
15-
# - name: sandbox
16-
# display_name: Sandbox
17-
# Enable int environment when ready by uncommenting:
18-
# - name: int
19-
# display_name: Integration Testing
7+
- name: prod
8+
display_name: Production
9+
approval_type: manual
10+
ratelimit: '210000pm'
11+
quota: '210000'
2012
---
2113
meta:
2214
api:
@@ -33,12 +25,12 @@ apigee:
3325
- name: {{ ENV.name }}
3426
products:
3527
- name: {{ NAME }}
36-
approvalType: auto
28+
approvalType: {{ ENV.approval_type | default('auto') }}
3729
attributes:
3830
- name: access
3931
value: public
4032
- name: ratelimit
41-
value: 300pm
33+
value: {{ ENV.ratelimit | default('300pm') }}
4234
description: {{ DESCRIPTION }}
4335
displayName: {{ TITLE }}
4436
environments: [ {{ ENV.name }} ]
@@ -48,7 +40,7 @@ apigee:
4840
scopes:
4941
- 'urn:nhsd:apim:app:level3:{{ SERVICE_NAME }}'
5042
- 'urn:nhsd:apim:user-nhs-id:aal3:{{ SERVICE_NAME }}'
51-
quota: '300'
43+
quota: {{ ENV.quota | default('300') }}
5244
quotaInterval: '1'
5345
quotaTimeUnit: minute
5446
specs:

0 commit comments

Comments
 (0)