Skip to content

Commit 6d3da25

Browse files
Sandbox security
1 parent 17a420c commit 6d3da25

File tree

4 files changed

+4
-16
lines changed

4 files changed

+4
-16
lines changed

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

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,6 @@ runs:
1919
run: npm ci
2020
shell: bash
2121

22-
- name: Build sandbox oas
23-
working-directory: .
24-
shell: bash
25-
run: |
26-
make build-json-oas-spec APIM_ENV=sandbox
27-
28-
- name: Remove sandbox security
29-
working-directory: ./build
30-
shell: bash
31-
run: |
32-
jq '.security = []' notify-supplier.json > tmp.json && mv tmp.json notify-supplier.json
33-
34-
3522
- name: Install Proxygen client
3623
shell: bash
3724
run: |
@@ -47,7 +34,7 @@ runs:
4734
envsubst < ./.github/proxygen-settings.yaml > ${HOME}/.proxygen/settings.yaml
4835
envsubst < ./.github/proxygen-settings.yaml | cat
4936
50-
- name: Setup Proxy Name and target
37+
- name: Setup Sandbox tag
5138
shell: bash
5239
run: |
5340
if [ -z $PR_NUMBER ]

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ build-json-oas-spec: guard-APIM_ENV
5353
$(MAKE) construct-spec APIM_ENV=$$APIM_ENV
5454
$(MAKE) publish-oas
5555

56+
5657
build-yml-oas-spec: guard-APIM_ENV
5758
$(MAKE) construct-spec APIM_ENV=$$APIM_ENV
5859
$(MAKE) bundle-oas

specification/api/components/x-nhsd-apim/target-sandbox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ containers:
44
- name: nhs-notify-supplier
55
image:
66
name: nhs-notify-supplier
7-
tag: pr99
7+
tag: latest
88
environment:
99
LOG_LEVEL: info
1010
NODE_ENV: development

specification/api/components/x-nhsd-apim/target.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ containers:
44
- name: nhs-notify-supplier
55
image:
66
name: nhs-notify-supplier
7-
tag: latest
7+
tag: pr99
88
environment:
99
LOG_LEVEL: info
1010
NODE_ENV: development

0 commit comments

Comments
 (0)