Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
Some checks failed
FHIR IG CI/CD Pipeline / build-ig (push) Failing after 5m35s
FHIR IG CI/CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
Rukshan 2025-09-30 12:16:56 +06:00
commit c3983aa607
4 changed files with 24 additions and 11 deletions

View File

@ -37,9 +37,22 @@ jobs:
echo "Building FHIR IG using copy approach..."
# Create a container (don't start yet)
# CONTAINER_ID=$(docker create \
# hl7fhir/ig-publisher-base:latest \
# /bin/bash -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash" \
# /bin/bash -c "\. '$HOME/.nvm/nvm.sh'" \
# /bin/bash -c "nvm install 22" \
# /bin/bash -c "npm install -g fsh-sushi" \
# /bin/bash -c "cp -r /home/publisher/ig /tmp/build && cd /tmp/build && _updatePublisher.sh -y && _genonce.sh")
CONTAINER_ID=$(docker create \
hl7fhir/ig-publisher-base:latest \
/bin/bash -c "cp -r /home/publisher/ig /tmp/build && cd /tmp/build && _updatePublisher.sh -y && _genonce.sh")
/bin/bash -c "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash && \
. \$HOME/.nvm/nvm.sh && \
nvm install 22 --delete-prefix && \
npm install -g fsh-sushi && \
cp -r /home/publisher/ig /tmp/build && cd /tmp/build && _updatePublisher.sh -y && _genonce.sh")
echo "Container ID: $CONTAINER_ID"

View File

@ -39,3 +39,4 @@ EXPOSE 80
# CMD ["nginx", "-g", "daemon off;"]
CMD ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/nginx.conf"]

9
ig.ini
View File

@ -1,9 +1,11 @@
[IG]
# ini file for the Implementation Guide publisher
# see comments below for instructions
ig = fsh-generated/resources/ImplementationGuide-bd.fhir.core.json
ig = input/myig.xml
#template = fhir.base.template#current
template = #bd-national-template
#template = D:\Git\templates\ig-template-base
#template = #local-template
##########################
### ig.ini parameters: ###
@ -43,6 +45,3 @@ examples:
# for more documentation on implementation guides and templates, see the FHIR Guidance ImplementationGuide
# http://build.fhir.org/ig/FHIR/ig-guidance
output = /var/www/html

View File

@ -10,7 +10,7 @@ version: 0.2.0
fhirVersion: 4.0.1
copyrightYear: 2025+
releaseLabel: CI Build
FSHOnly: false
FSHOnly: true
publisher:
name: Directorate General of Health Services (DGHS), Bangladesh
url: https://dghs.gov.bd