Skip to content

Commit b11c7be

Browse files
committed
Int switchover changes
1 parent 26793b3 commit b11c7be

File tree

8 files changed

+52
-7
lines changed

8 files changed

+52
-7
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/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: blue
28+
values:
29+
- blue
30+
- 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://int-${{ 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

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"

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

infrastructure/proxies/live/apiproxy/targets/target.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<SSLInfo>
3737
<Enabled>true</Enabled>
3838
<ClientAuthEnabled>true</ClientAuthEnabled>
39-
<KeyStore>ref://imms-client</KeyStore>
39+
<KeyStore>ref://{{ KEYSTORE_REF | default('imms-client') }}</KeyStore>
4040
<KeyAlias>cert</KeyAlias>
4141
</SSLInfo>
4242
<Properties>

0 commit comments

Comments
 (0)