Skip to content

Commit e5daaef

Browse files
committed
Merge remote-tracking branch 'origin/main' into feature/CCM-12951-Maintain-Letter-Status
2 parents d11f96f + 7c88a00 commit e5daaef

118 files changed

Lines changed: 10452 additions & 12231 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.template

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,27 @@ API_KEY=
33
HEADERAUTH=
44
PR_NUMBER=prxx # remove if needs to run against main
55
NHSD_APIM_TOKEN=
6+
PROXY_NAME=
7+
# * nhs-notify-supplier--internal-dev--nhs-notify-supplier
8+
# * nhs-notify-supplier--internal-dev--nhs-notify-supplier-PR-XX
9+
# * nhs-notify-supplier--ref--nhs-notify-supplier -- ref env
10+
11+
# API Keys
12+
# ========
13+
# In order to find out the value of an environments given API key, follow these steps
14+
# 1. Log in to Non-Prod
15+
# 2. Navigate to 'Publish' > 'Apps' and search for the app linked to authentication
16+
# 3. Copy the "key" from the Credentials related to the app
17+
# Note: For INT and higher environments use developer portal https://identity.prod.api.platform.nhs.uk/
18+
export NON_PROD_API_KEY=xxx
19+
export INTEGRATION_API_KEY=xxx
20+
export PRODUCTION_API_KEY=xxx
21+
22+
# Private Keys
23+
# ============
24+
# private key used to generate authentication for tests ran against the internal-dev and internal-qa
25+
export NON_PROD_PRIVATE_KEY=xxx # path to the private key file
26+
# private key used to generate authentication for tests ran against the int environment
27+
export INTEGRATION_PRIVATE_KEY=xxx
28+
# private key used to generate authentication for tests ran against the prod environment
29+
export PRODUCTION_PRIVATE_KEY=xxx

.github/actions/build-libraries/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,28 +31,28 @@ runs:
3131
make build VERSION="${{ inputs.version }}"
3232
3333
- name: Upload abstractions artifact
34-
uses: actions/upload-artifact@v4
34+
uses: actions/upload-artifact@v6
3535
with:
3636
path: "src/server/abstractions/bin/Release"
3737
name: libs-abstractions-${{ inputs.version }}
3838
include-hidden-files: true
3939

4040
- name: Upload data artifact
41-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-artifact@v6
4242
with:
4343
path: "src/server/data/bin/Release"
4444
name: libs-data-${{ inputs.version }}
4545
include-hidden-files: true
4646

4747
- name: Upload letter artifact
48-
uses: actions/upload-artifact@v4
48+
uses: actions/upload-artifact@v6
4949
with:
5050
path: "src/server/letter/bin/Release"
5151
name: libs-letter-${{ inputs.version }}
5252
include-hidden-files: true
5353

5454
- name: Upload host artifact
55-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@v6
5656
with:
5757
path: "src/server/host/bin/Release"
5858
name: libs-host-${{ inputs.version }}
@@ -75,7 +75,7 @@ runs:
7575
outputs: type=docker,dest=${{ runner.temp }}/myimage/myimage.tar
7676

7777
- name: Upload artifact
78-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@v6
7979
with:
8080
name: libs-host-docker-${{ inputs.version }}
8181
path: ${{ runner.temp }}/myimage

.github/actions/build-oas-spec/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ runs:
6868
fi
6969
7070
- name: Upload API OAS specification artifact
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v6
7272
with:
7373
path: "build"
7474
name: api-oas-specification-${{ inputs.apimEnv }}${{ inputs.version != '' && format('-{0}', inputs.version) || '' }}

.github/actions/build-proxies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runs:
9696
echo "APIM_ENV=$APIM_ENV" >> $GITHUB_ENV
9797
9898
- name: Upload OAS Spec
99-
uses: actions/upload-artifact@v4
99+
uses: actions/upload-artifact@v6
100100
with:
101101
name: ${{ env.APIM_ENV }}-build-output
102102
path: ./build

.github/actions/build-sdk/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,31 +56,31 @@ runs:
5656
make build VERSION="${{ inputs.version }}"
5757
5858
- name: Upload html artifact
59-
uses: actions/upload-artifact@v4
59+
uses: actions/upload-artifact@v6
6060
with:
6161
path: "sdk/html"
6262
name: sdk-html-${{ inputs.version }}
6363

6464
- name: Upload swagger artifact
65-
uses: actions/upload-artifact@v4
65+
uses: actions/upload-artifact@v6
6666
with:
6767
path: "sdk/swagger"
6868
name: sdk-swagger-${{ inputs.version }}
6969

7070
- name: Upload ts artifact
71-
uses: actions/upload-artifact@v4
71+
uses: actions/upload-artifact@v6
7272
with:
7373
path: "sdk/typescript"
7474
name: sdk-ts-${{ inputs.version }}
7575

7676
- name: Upload python artifact
77-
uses: actions/upload-artifact@v4
77+
uses: actions/upload-artifact@v6
7878
with:
7979
path: "sdk/python"
8080
name: sdk-python-${{ inputs.version }}
8181

8282
- name: Upload csharp artifact
83-
uses: actions/upload-artifact@v4
83+
uses: actions/upload-artifact@v6
8484
with:
8585
path: "sdk/csharp"
8686
name: sdk-csharp-${{ inputs.version }}

.github/actions/build-server/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ runs:
3636
make build VERSION="${{ inputs.version }}"
3737
3838
- name: Upload csharp-server artifact
39-
uses: actions/upload-artifact@v4
39+
uses: actions/upload-artifact@v6
4040
with:
4141
path: "server/csharp-server"
4242
name: server-csharp-${{ inputs.version }}
4343

4444
- name: Upload csharp-server docker artifact
45-
uses: actions/upload-artifact@v4
45+
uses: actions/upload-artifact@v6
4646
with:
4747
path: "server/Dockerfile"
4848
name: server-csharp-docker-${{ inputs.version }}

.github/actions/create-lines-of-code-report/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
run: zip lines-of-code-report.json.zip lines-of-code-report.json
3333
- name: "Upload CLOC report as an artefact"
3434
if: ${{ !env.ACT }}
35-
uses: actions/upload-artifact@v4
35+
uses: actions/upload-artifact@v6
3636
with:
3737
name: lines-of-code-report.json.zip
3838
path: ./lines-of-code-report.json.zip

.github/actions/lint-terraform/action.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@ inputs:
77
runs:
88
using: "composite"
99
steps:
10+
- name: "Install Terraform binary"
11+
shell: bash
12+
run: |
13+
asdf plugin add terraform || true
14+
asdf install terraform || true
1015
- name: "Check Terraform format"
1116
shell: bash
1217
run: |
1318
check_only=true scripts/githooks/check-terraform-format.sh
1419
- name: "Validate Terraform"
1520
shell: bash
1621
run: |
17-
stacks=${{ inputs.root-modules }}
18-
for dir in $(find infrastructure/environments -maxdepth 1 -mindepth 1 -type d; echo ${stacks//,/$'\n'}); do
19-
dir=$dir opts='-backend=false' make terraform-init
20-
dir=$dir make terraform-validate
21-
done
22+
make terraform-validate-all

.github/actions/scan-dependencies/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ runs:
3232
run: zip sbom-repository-report.json.zip sbom-repository-report.json
3333
- name: "Upload SBOM report as an artefact"
3434
if: ${{ !env.ACT }}
35-
uses: actions/upload-artifact@v4
35+
uses: actions/upload-artifact@v6
3636
with:
3737
name: sbom-repository-report.json.zip
3838
path: ./sbom-repository-report.json.zip
@@ -47,7 +47,7 @@ runs:
4747
run: zip vulnerabilities-repository-report.json.zip vulnerabilities-repository-report.json
4848
- name: "Upload vulnerabilities report as an artefact"
4949
if: ${{ !env.ACT }}
50-
uses: actions/upload-artifact@v4
50+
uses: actions/upload-artifact@v6
5151
with:
5252
name: vulnerabilities-repository-report.json.zip
5353
path: ./vulnerabilities-repository-report.json.zip

.github/workflows/cicd-3-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: |
104104
gh release download ${{steps.get-asset-version.outputs.release_version}} -p jekyll-docs-*.tar --output artifact.tar
105105
106-
- uses: actions/upload-artifact@v5
106+
- uses: actions/upload-artifact@v6
107107
with:
108108
name: jekyll-docs-${{steps.get-asset-version.outputs.release_version}}
109109
path: artifact.tar

0 commit comments

Comments
 (0)