-
Run
sushi
locally to ensure the build is successful -
Bump the
version
field insushi-config.yaml
-
Create a tag using git
git tag -a X.Y.Z -m "Update something"
and push withgit push --tags
. -
When the release has been created check here you are ready to deploy the new IG
-
Go to netic flux and update the
implementationGuide.yaml
file with the new version in the environments you wish the new version to become available. -
Do the same in trifork flux
-
When the new version has been deployed to the environments, you'll need to update HAPI to use the new version. This is done by creating a POST request to HAPI in the relevant environments:
-
It takes a while for the new IG version to be fully available in HAPI.
This folder contains a docker-compose
-file to host the FHIR Implementation Guide.
To add more to the guide, and let it sync into the backend-server, add and edit fsh
-files to the /input
-folder.
To check if a SearchParameter
will work, check it against the FhirPath.
Use the operators.
To get it up and running, type the following command, and wait for the container fhir-implementationguide-builder
to exit:
docker compose up -d --build
This will start up two containers:
-
A custom container that will generate the site using Jekyll, java, node, Sushi, and the publisher.jar from FHIR IG Publisher.
-
An Nginx-container that will host it on
http://localhost:4000
.
When you edit in the .fsh
-files, run the following command:
docker compose start ig-server
If Sushi gets an update, this needs to be reflected into the dockerfile. By default, Docker will cache the build, so you need to run the following command before:
docker build --no-cache
If you want to build a docker image, run the following commands from this folder:
# Tags it with 'ig:local'
docker build . --force-rm -t ig:local -f ./DockerfileCi --no-cache
# Or if you run it from root
docker build --build-arg CONTENT_PATH=./FHIR-Implementation-Guide -t ig:local -f ./FHIR-Implementation-Guide/DockerfileCi .
# Removes the container when exiting, naming it 'implementation-guide', running on port 8088
docker run --rm -it --name implementation-guide \
-p 8088:8080 -p 8087:8087 \
ig:local
Then head for localhost:8088.
You may want to update FHIR. Run the following command:
docker compose run --rm ig-server ./_updatePublisher.sh
To use it, FSH-Sushi
must be installed: npm install -g fsh-sushi
.
To run it, step into this directory, and run sushi
.