Skip to content

Commit ee20f88

Browse files
authored
Merge branch 'main' into CCM-10160_minorFixes
2 parents 9333c9c + ec75f5e commit ee20f88

File tree

175 files changed

+27052
-11729
lines changed

Some content is hidden

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

175 files changed

+27052
-11729
lines changed

.devcontainer/devcontainer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@
7676
"installDockerComposeSwitch": true,
7777
"moby": true,
7878
"version": "latest"
79+
},
80+
"ghcr.io/devcontainers/features/dotnet:2.4.0": {
81+
"version": "8.0"
7982
}
8083
},
8184
"mounts": [

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,6 @@ trim_trailing_whitespace = unset
6767
indent_style = unset
6868
indent_size = unset
6969
generated_code = true
70+
71+
[/internal/events/**/*.schema.json]
72+
insert_final_newline = unset

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

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ runs:
4949
run: |
5050
make build VERSION="${{ inputs.version }}"
5151
52-
5352
- name: Upload API OAS specification artifact
5453
uses: actions/upload-artifact@v4
5554
with:
@@ -86,13 +85,6 @@ runs:
8685
path: "sdk/csharp"
8786
name: sdk-csharp-${{ inputs.version }}
8887

89-
# - name: Upload artifact
90-
# # Automatically uploads an artifact from the './_site' directory by default
91-
# uses: actions/upload-pages-artifact@v3
92-
# with:
93-
# path: "docs/_site/"
94-
# name: jekyll-docs-${{ inputs.version }}
95-
9688
- name: Upload artifact
9789
uses: actions/upload-pages-artifact@v3
9890
with:

.github/workflows/cicd-1-pull-request.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pr_number: ${{ steps.pr_exists.outputs.pr_number }}
3131
steps:
3232
- name: "Checkout code"
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
- name: "Set CI/CD variables"
3535
id: variables
3636
run: |

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
# tag: ${{ steps.variables.outputs.tag }}
3838
steps:
3939
- name: "Checkout code"
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v5
4141
- name: "Set CI/CD variables"
4242
id: variables
4343
run: |
@@ -70,7 +70,7 @@ jobs:
7070
needs: metadata
7171
steps:
7272
- name: "Checkout code"
73-
uses: actions/checkout@v4
73+
uses: actions/checkout@v5
7474

7575
- name: "Get version"
7676
id: get-asset-version
@@ -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@v4
106+
- uses: actions/upload-artifact@v5
107107
with:
108108
name: jekyll-docs-${{steps.get-asset-version.outputs.release_version}}
109109
path: artifact.tar

.github/workflows/manual-proxy-environment-deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Checkout
3131
uses: actions/checkout@v4
3232

33-
- uses: actions/setup-node@v4
33+
- uses: actions/setup-node@v6
3434
with:
3535
node-version: 24
3636

.github/workflows/pr_closed.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
steps:
5050
- name: Checkout repository
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
5252

5353
- name: Updating Main Environment
5454
env:

.github/workflows/pr_create_dynamic_env.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919

2020
steps:
21-
- uses: actions/checkout@v5.0.0
21+
- uses: actions/checkout@v5
2222
- name: Trigger dynamic environment creation
2323
env:
2424
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}

.github/workflows/pr_destroy_dynamic_env.yaml

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,17 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: false
1010

11+
permissions:
12+
id-token: write
13+
contents: read
14+
1115
jobs:
12-
create-dynamic-environment:
16+
destroy-dynamic-environment:
1317
name: Destroy Dynamic Environment
1418
runs-on: ubuntu-latest
1519

1620
steps:
17-
- uses: actions/checkout@v5.0.0
21+
- uses: actions/checkout@v5
1822

1923
- name: Trigger dynamic environment destruction
2024
env:
@@ -32,3 +36,25 @@ jobs:
3236
--terraformAction "destroy" \
3337
--overrideProjectName "nhs" \
3438
--overrideRoleName "nhs-main-acct-supplier-api-github-deploy"
39+
40+
destroy-dynamic-proxy:
41+
name: Destroy Dynamic Proxy
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- uses: actions/checkout@v5
46+
47+
- name: Trigger dynamic proxy destruction
48+
env:
49+
APP_CLIENT_ID: ${{ secrets.APP_CLIENT_ID }}
50+
APP_PEM_FILE: ${{ secrets.APP_PEM_FILE }}
51+
shell: bash
52+
run: |
53+
.github/scripts/dispatch_internal_repo_workflow.sh \
54+
--infraRepoName "nhs-notify-supplier-api" \
55+
--releaseVersion "main" \
56+
--targetComponent "api" \
57+
--targetWorkflow "proxy-destroy.yaml" \
58+
--targetEnvironment "pr${{ github.event.number }}" \
59+
--apimEnvironment "internal-dev-sandbox" \
60+
--boundedContext "notify-supplier"

.github/workflows/release_created.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Deploy Nonprod Environment
3030
env:

0 commit comments

Comments
 (0)