Skip to content

Commit 791619d

Browse files
AI authored schema manipulation (#103)
* Ready for merge * rebuilt package lock. * add trailing slash to event cat. * temp bypass dynamic. * add needs metadata to publish. * Added in acceptance stage requirement.
1 parent e7acea3 commit 791619d

306 files changed

Lines changed: 68543 additions & 4393 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.

.coverage

52 KB
Binary file not shown.

.devcontainer/nhs-notify-devcontainer-loaded/devcontainer.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"SHOWWELCOME": "true",
66
"UPDATEFROMTEMPLATE": "false"
77
},
8-
"image": "ghcr.io/nhsdigital/nhs-notify-devcontainer-loaded:1.0.16",
9-
"name": "Notify Loaded Dev Container 1.0.16",
10-
"postCreateCommand": "echo My own container created",
11-
"postStartCommand": "echo My own container started"
8+
"image": "ghcr.io/nhsdigital/nhs-notify-devcontainer-loaded:1.0.17",
9+
"name": "Notify Loaded 1.0.17",
10+
"postStartCommand": "mkdir -p ~/.gnupg && echo '## 1-day timeout' > ~/.gnupg/gpg-agent.conf && echo 'default-cache-ttl 86400' >> ~/.gnupg/gpg-agent.conf && echo 'max-cache-ttl 86400' >> ~/.gnupg/gpg-agent.conf && gpg-connect-agent reloadagent /bye 2>/dev/null || true"
1211
}

.devcontainer/old/devcontainer.json

Lines changed: 0 additions & 104 deletions
This file was deleted.

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

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ runs:
88
using: "composite"
99
steps:
1010
- name: Checkout
11-
uses: actions/checkout@v4
12-
- uses: actions/setup-node@v4
11+
uses: actions/checkout@v5
12+
- uses: actions/setup-node@v6
1313
with:
14-
node-version: 18
14+
node-version: 24
1515
- name: Npm cli install
1616
working-directory: ./docs
1717
run: npm ci
1818
shell: bash
1919
- name: Setup Ruby
20-
uses: ruby/setup-ruby@v1.180.1
20+
uses: ruby/setup-ruby@v1.267.0
2121
with:
22-
ruby-version: "3.2" # Not needed with a .ruby-version file
23-
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
24-
cache-version: 0 # Increment this number if you need to re-download cached gems
22+
ruby-version: "3.4.7" # Not needed with a .ruby-version file
23+
bundler-cache: false # runs 'bundle install' and caches installed gems automatically
24+
#cache-version: 0 # Increment this number if you need to re-download cached gems
2525
working-directory: "./docs"
2626
- name: Setup Pages
2727
id: pages
@@ -30,7 +30,7 @@ runs:
3030
working-directory: ./docs
3131
# Outputs to the './_site' directory by default
3232
shell: bash
33-
run: make build BASE_URL="${{ steps.pages.outputs.base_path }}" VERSION="${{ inputs.version }}"
33+
run: make build-ci BASE_URL=${{ steps.pages.outputs.base_path }} VERSION=${{ inputs.version }}
3434
#run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
3535
env:
3636
JEKYLL_ENV: production
@@ -40,3 +40,13 @@ runs:
4040
with:
4141
path: "docs/_site/"
4242
name: jekyll-docs-${{ inputs.version }}
43+
44+
- name: tar schema
45+
run: tar -cvf artifact.tar src/cloudeventjekylldocs/output/schemas
46+
shell: bash
47+
48+
- name: Upload artifact
49+
uses: actions/upload-artifact@v4
50+
with:
51+
path: "artifact.tar"
52+
name: schemas-${{ inputs.version }}

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,21 @@ runs:
1414
node-version: 18
1515

1616
- name: Make Config
17-
working-directory: ./schemas
17+
working-directory: ./src/cloudeventjekylldocs
1818
shell: bash
1919
run: make config
2020

2121
- name: Make Build
22-
working-directory: ./schemas
22+
working-directory: ./src/cloudeventjekylldocs
2323
shell: bash
2424
run: make build
2525

26+
- name: tar schema
27+
run: tar -cvf artifact.tar src/cloudeventjekylldocs/output/schemas"
28+
shell: bash
29+
2630
- name: Upload artifact
27-
uses: actions/upload-pages-artifact@v3
31+
uses: actions/upload-artifact@v4
2832
with:
29-
path: "schemas/output/"
33+
path: "artifact.tar"
3034
name: schemas-${{ inputs.version }}

0 commit comments

Comments
 (0)