Skip to content

Commit 51f1b7a

Browse files
dlzhry2nhsmfjarvis
authored andcommitted
VED-366 Set up internal QA env and stop CD into int (#908)
1 parent 7917728 commit 51f1b7a

File tree

14 files changed

+90
-8
lines changed

14 files changed

+90
-8
lines changed

.github/workflows/continuous-deployment.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
needs: [run-internal-dev-tests]
6060
strategy:
6161
matrix:
62-
sub_environment_name: [ref, int]
62+
sub_environment_name: [ref, internal-qa]
6363
uses: ./.github/workflows/deploy-backend.yml
6464
with:
6565
apigee_environment: ${{ matrix.sub_environment_name }}
@@ -71,7 +71,7 @@ jobs:
7171
needs: [deploy-higher-dev-envs]
7272
strategy:
7373
matrix:
74-
sub_environment_name: [ref, int]
74+
sub_environment_name: [ref, internal-qa]
7575
uses: ./.github/workflows/run-e2e-tests.yml
7676
with:
7777
apigee_environment: ${{ matrix.sub_environment_name }}

.github/workflows/deploy-backend.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ on:
2323
description: Select the Apigee proxy environment
2424
options:
2525
- internal-dev
26+
- internal-qa
2627
- int
2728
- ref
2829
- prod

.github/workflows/run-e2e-tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
- internal-dev
3131
- internal-dev-sandbox
3232
- sandbox
33+
- internal-qa
3334
- int
3435
- ref
3536
- prod
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+
17+
pool:
18+
name: "AWS-ECS"
19+
20+
variables:
21+
- template: project.yml
22+
23+
parameters:
24+
- name: sub_environment
25+
displayName: Sub-Environment
26+
type: string
27+
default: int-blue
28+
values:
29+
- int-blue
30+
- int-green
31+
32+
extends:
33+
template: azure/common/apigee-deployment.yml@common
34+
parameters:
35+
service_name: ${{ variables.service_name }}
36+
short_service_name: ${{ variables.short_service_name }}
37+
service_base_path: ${{ variables.service_base_path }}
38+
apigee_deployments:
39+
- environment: int
40+
depends_on: []
41+
jinja_templates:
42+
DOMAIN_ENDPOINT: https://${{ parameters.sub_environment }}.imms.preprod.vds.platform.nhs.uk
43+
KEYSTORE_REF: imms-int-client

azure/azure-release-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ extends:
4949
- internal_dev
5050
jinja_templates:
5151
DOMAIN_ENDPOINT: https://ref.imms.dev.vds.platform.nhs.uk
52-
- environment: int
52+
- environment: internal-qa
5353
depends_on:
5454
- internal_dev
5555
jinja_templates:
56-
DOMAIN_ENDPOINT: https://int.imms.dev.vds.platform.nhs.uk
56+
DOMAIN_ENDPOINT: https://internal-qa.imms.dev.vds.platform.nhs.uk

config/preprod/permissions_config.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,12 @@
149149
},
150150
{
151151
"supplier": "EVA",
152+
"permissions": ["COVID.CUD"],
152153
"ods_codes": ["8HA94"]
153154
},
154155
{
155156
"supplier": "SONAR",
157+
"permissions": ["FLU.CD"],
156158
"ods_codes": ["8HK48"]
157159
}
158160
]

infrastructure/instance/environments/dev/int/variables.tfvars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# TODO - once DEV int -> PREPROD migration complete, please destroy env and delete this file.
12
environment = "dev"
23
immunisation_account_id = "345594581768"
34
dspp_core_account_id = "603871901111"
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
environment = "dev"
2+
immunisation_account_id = "345594581768"
3+
dspp_core_account_id = "603871901111"
4+
pds_environment = "int"
5+
batch_error_notifications_enabled = false
6+
create_mesh_processor = false
7+
has_sub_environment_scope = true

infrastructure/instance/environments/preprod/int-blue/variables.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ immunisation_account_id = "084828561157"
33
dspp_core_account_id = "603871901111"
44
pds_environment = "int"
55
batch_error_notifications_enabled = true
6-
create_mesh_processor = false
6+
create_mesh_processor = true
77
has_sub_environment_scope = false

infrastructure/instance/environments/preprod/int-green/variables.tfvars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ immunisation_account_id = "084828561157"
33
dspp_core_account_id = "603871901111"
44
pds_environment = "int"
55
batch_error_notifications_enabled = true
6-
create_mesh_processor = false
6+
create_mesh_processor = true
77
has_sub_environment_scope = false

0 commit comments

Comments
 (0)