Skip to content

Commit cd78e44

Browse files
dansch1Daniel Schröder
andauthored
Pipeline fix (#1)
IG is now automatically build after each push and published to GitHub Pages. --------- Co-authored-by: Daniel Schröder <daniel.schroeder@ukmuenster.de>
1 parent c68bad2 commit cd78e44

File tree

5 files changed

+62
-11
lines changed

5 files changed

+62
-11
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ RUN wget -q -P ${WORKSPACE_ROOT} https://github.com/plantuml/plantuml/releases/l
2323
USER vscode
2424

2525
# Install Firely Terminal to handle FHIR packages
26-
RUN dotnet tool install -g firely.terminal
26+
RUN dotnet tool install -g firely.terminal

.github/workflows/build-ig.yml

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,33 @@ jobs:
1818
steps:
1919
- name: Checkout code
2020
uses: actions/checkout@v3
21-
- name: Get FHIR packages
22-
uses: cybernop/fill-fhir-cache@v1
21+
- name: Setup NodeJS
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 18
25+
- uses: actions/setup-dotnet@v3
26+
with:
27+
dotnet-version: "8.0"
28+
- name: Create temp dir and copy sushi project file
29+
run: mkdir temp && cp -v ./sushi-config.yaml temp/
30+
shell: bash
31+
- name: Install sushi locally
32+
working-directory: temp
33+
run: npm install -g fsh-sushi
34+
shell: bash
35+
- name: Install Firely Terminal
36+
run: dotnet tool install -g firely.terminal
37+
shell: bash
38+
- name: Get dependencies
39+
working-directory: temp
40+
run: sushi
41+
shell: bash
42+
- name: Inflate FHIR packages
43+
run: fhir inflate-cache
44+
shell: bash
45+
- name: Remove temporary files
46+
run: npm remove -g fsh-sushi && rm -rf temp
47+
shell: bash
2348
- name: Build profiles
2449
uses: cybernop/build-fhir-ig@v1
2550
with:

.github/workflows/build-profiles.yml

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,37 @@ jobs:
1919
uses: actions/checkout@v3
2020
with:
2121
path: profiles
22-
- name: Get FHIR packages
23-
uses: cybernop/fill-fhir-cache@v1
22+
- name: Setup NodeJS
23+
uses: actions/setup-node@v3
2424
with:
25-
project-dir: profiles
25+
node-version: 18
26+
- uses: actions/setup-dotnet@v3
27+
with:
28+
dotnet-version: "8.0"
29+
- name: Create temp dir and copy sushi project file
30+
run: mkdir temp && cp -v profiles/sushi-config.yaml temp/
31+
shell: bash
32+
- name: Install sushi locally
33+
working-directory: temp
34+
run: npm install -g fsh-sushi
35+
shell: bash
36+
- name: Install Firely Terminal
37+
run: dotnet tool install -g firely.terminal
38+
shell: bash
39+
- name: Get dependencies
40+
working-directory: temp
41+
run: sushi
42+
shell: bash
43+
- name: Inflate FHIR packages
44+
run: fhir inflate-cache
45+
shell: bash
46+
- name: Remove temporary files
47+
run: npm remove -g fsh-sushi && rm -rf temp
48+
shell: bash
2649
- name: Update FHIR Profiles
2750
uses: cybernop/build-fhir-profiles@v1
2851
with:
29-
sushi-version: "3.11.0"
52+
sushi-version: "3.14.0"
3053
project-dir: profiles
3154
- name: Push built Profiles
3255
uses: cybernop/push-fsh-profiles@v1

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ jobs:
3030
# Java and .NET are already installed on ubuntu-latest
3131

3232
- name: Firely.Terminal (GitHub Actions)
33-
uses: FirelyTeam/firely-terminal-pipeline@v0.4.0
33+
uses: FirelyTeam/firely-terminal-pipeline@v0.6.0
3434
with:
3535
PATH_TO_CONFORMANCE_RESOURCES: fsh-generated/resources
3636
PATH_TO_EXAMPLES: fsh-generated/resources
3737
PATH_TO_QUALITY_CONTROL_RULES: qc/custom
38-
DOTNET_VALIDATION_ENABLED: true
38+
DOTNET_VALIDATION_ENABLED: false # true = This feature is part of a paid plan. Please upgrade your Simplifier license.
3939
JAVA_VALIDATION_ENABLED: true
4040
EXPECTED_FAILS: VALIDATION_CONFORMANCE_DOTNET VALIDATION_CONFORMANCE_JAVA VALIDATION_EXAMPLES_JAVA
41-
OUTPUT_FORMAT: RAW
4241
JAVA_VALIDATION_OPTIONS: -allow-example-urls true -tx n/a
4342
SIMPLIFIER_USERNAME: ${{ secrets.SIMPLIFIER_USERNAME }}
4443
SIMPLIFIER_PASSWORD: ${{ secrets.SIMPLIFIER_PASSWORD }}
45-
JAVA_VALIDATOR_VERSION: 6.2.3
44+
JAVA_VALIDATOR_VERSION: 6.5.2
45+
ZTS_ENABLED: false

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ After following this instructions, a prepared docker image will be downloaded an
5656

5757
## Links
5858

59+
### Implementation Guide
60+
* [EyeMatics Kerndatensatz (Latest)](https://imi-ms.github.io/eyematics-kds/)
61+
5962
### Specifications
6063

6164
* [FHIR Profiling Specification (Latest)](https://www.hl7.org/fhir/profiling.html)

0 commit comments

Comments
 (0)