Skip to content

Commit 2bb25b0

Browse files
committed
Merge branch 'master' into VED-494-OAS
2 parents dc8642d + 7a18593 commit 2bb25b0

28 files changed

+505
-97
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/create-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/[email protected].0
13+
uses: actions/[email protected].1
1414
with:
1515
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1616

.github/workflows/deploy-backend.yml

Lines changed: 3 additions & 2 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
@@ -60,7 +61,7 @@ jobs:
6061
name: ${{ inputs.environment }}
6162
steps:
6263
- name: Checkout
63-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
64+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
6465

6566
- name: Connect to AWS
6667
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708
@@ -94,7 +95,7 @@ jobs:
9495
name: ${{ inputs.environment }}
9596
steps:
9697
- name: Checkout
97-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
98+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
9899

99100
- uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708
100101
with:

.github/workflows/pr-teardown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: aws sts get-caller-identity
3737

3838
- name: Checkout
39-
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
39+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
4040

4141
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
4242
with:

.github/workflows/quality-checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
20+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
2121

2222
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f
2323
with:
@@ -38,7 +38,7 @@ jobs:
3838
runs-on: ubuntu-latest
3939

4040
steps:
41-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
41+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
4242

4343
- name: Install poetry
4444
run: pip install poetry==2.1.4
@@ -65,7 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666

6767
steps:
68-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
68+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
6969

7070
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
7171
with:
@@ -79,7 +79,7 @@ jobs:
7979
runs-on: ubuntu-latest
8080

8181
steps:
82-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
82+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
8383

8484
- name: Install poetry
8585
run: pip install poetry==2.1.4

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

Lines changed: 3 additions & 2 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
@@ -115,7 +116,7 @@ jobs:
115116
APIGEE_USERNAME: ${{ vars.APIGEE_USERNAME }}
116117
TF_OUTPUTS_REQUIRED: ${{ vars.RUN_FULL_E2E_TESTS == 'true' || vars.RUN_PROXY_E2E_TESTS == 'true' }}
117118
steps:
118-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
119+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
119120

120121
- name: Connect to AWS
121122
if: ${{ env.TF_OUTPUTS_REQUIRED == 'true' }}
@@ -207,7 +208,7 @@ jobs:
207208
runs-on: ubuntu-latest
208209
environment: ${{ inputs.apigee_environment }}
209210
steps:
210-
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd
211+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
211212

212213
- name: Connect to AWS
213214
uses: aws-actions/configure-aws-credentials@61815dcd50bd041e203e49132bacad1fd04d2708
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
@@ -186,10 +186,12 @@
186186
},
187187
{
188188
"supplier": "EVA",
189+
"permissions": ["COVID.CUD"],
189190
"ods_codes": ["8HA94"]
190191
},
191192
{
192193
"supplier": "SONAR",
194+
"permissions": ["FLU.CD"],
193195
"ods_codes": ["8HK48"]
194196
}
195197
]

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"

0 commit comments

Comments
 (0)