Merge branch 'main' of https://git.dghs.gov.bd/gitadmin/BD-Core-FHIR-IG
This commit is contained in:
commit
c3983aa607
@ -37,10 +37,23 @@ jobs:
|
|||||||
echo "Building FHIR IG using copy approach..."
|
echo "Building FHIR IG using copy approach..."
|
||||||
|
|
||||||
# Create a container (don't start yet)
|
# 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 \
|
CONTAINER_ID=$(docker create \
|
||||||
hl7fhir/ig-publisher-base:latest \
|
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"
|
echo "Container ID: $CONTAINER_ID"
|
||||||
|
|
||||||
# Copy all source files into the container
|
# Copy all source files into the container
|
||||||
|
|||||||
@ -38,4 +38,5 @@ EXPOSE 80
|
|||||||
# Start Nginx in foreground
|
# Start Nginx in foreground
|
||||||
# CMD ["nginx", "-g", "daemon off;"]
|
# CMD ["nginx", "-g", "daemon off;"]
|
||||||
|
|
||||||
CMD ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/nginx.conf"]
|
CMD ["nginx", "-g", "daemon off;", "-c", "/etc/nginx/nginx.conf"]
|
||||||
|
|
||||||
|
|||||||
13
ig.ini
13
ig.ini
@ -1,9 +1,11 @@
|
|||||||
[IG]
|
[IG]
|
||||||
# ini file for the Implementation Guide publisher
|
# ini file for the Implementation Guide publisher
|
||||||
# see comments below for instructions
|
# see comments below for instructions
|
||||||
|
ig = input/myig.xml
|
||||||
ig = fsh-generated/resources/ImplementationGuide-bd.fhir.core.json
|
#template = fhir.base.template#current
|
||||||
template = #bd-national-template
|
template = #bd-national-template
|
||||||
|
#template = D:\Git\templates\ig-template-base
|
||||||
|
#template = #local-template
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
### ig.ini parameters: ###
|
### ig.ini parameters: ###
|
||||||
@ -41,8 +43,5 @@ examples:
|
|||||||
# other parameters are defined in the ImplementationGuide resource:
|
# other parameters are defined in the ImplementationGuide resource:
|
||||||
# https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
|
# https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters
|
||||||
|
|
||||||
# for more documentation on implementation guides and templates, see the FHIR Guidance ImplementationGuide
|
# for more documentation on implementation guides and templates, see the FHIR Guidance ImplementationGuide
|
||||||
# http://build.fhir.org/ig/FHIR/ig-guidance
|
# http://build.fhir.org/ig/FHIR/ig-guidance
|
||||||
output = /var/www/html
|
|
||||||
|
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ version: 0.2.0
|
|||||||
fhirVersion: 4.0.1
|
fhirVersion: 4.0.1
|
||||||
copyrightYear: 2025+
|
copyrightYear: 2025+
|
||||||
releaseLabel: CI Build
|
releaseLabel: CI Build
|
||||||
FSHOnly: false
|
FSHOnly: true
|
||||||
publisher:
|
publisher:
|
||||||
name: Directorate General of Health Services (DGHS), Bangladesh
|
name: Directorate General of Health Services (DGHS), Bangladesh
|
||||||
url: https://dghs.gov.bd
|
url: https://dghs.gov.bd
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user