Skip to content

Commit

Permalink
catch up
Browse files Browse the repository at this point in the history
  • Loading branch information
costateixeira committed Oct 10, 2024
1 parent 2b8a477 commit bad5c9c
Show file tree
Hide file tree
Showing 370 changed files with 26,001 additions and 24,291 deletions.
51 changes: 25 additions & 26 deletions .github/workflows/linux-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,19 @@ on:
# but only for the main branch
push:
branches:
- master
# pull_request:
jobs:
Build-Docker-Image:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
-
name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# -
# name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKERHUB_USERNAME }}
# password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Cache terminology files
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -64,24 +63,24 @@ jobs:
mkdir -p ~/terminology/fhir-server
wget -q --no-clobber https://storage.googleapis.com/ig-build/snomed.test.cache -O ~/terminology/fhir-server/snomed.test.cache || true
ls ~/terminology/fhir-server/snomed.test.cache
- name: Run tests in docker
# - name: Run tests in docker
# run: |
# docker images --all
# docker run \
# --network gh \
# -v ~/terminology:/terminology \
# -v ~/test-settings.ini:/work/fhirserver/exec/64/test-settings.ini \
# fhirserver -tests

- name: Tag and push Docker image
run: |
docker images --all
docker run \
--network gh \
-v ~/terminology:/terminology \
-v ~/test-settings.ini:/work/fhirserver/exec/64/test-settings.ini \
fhirserver -tests
# Extract the FHIR server version from the library/version.inc file
FHIR_VERSION=$(grep -oP "FHIR_CODE_FULL_VERSION = '\K[^']+" library/version.inc)
# - name: Tag and push Docker image
# run: |
# # Extract the FHIR server version from the library/version.inc file
# FHIR_VERSION=$(grep -oP "FHIR_CODE_FULL_VERSION = '\K[^']+" library/version.inc)
#
# # Tag the Docker image with the extracted version and "latest"
# docker tag fhirserver ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:$FHIR_VERSION
# docker tag fhirserver ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:latest
#
# # Push both tagged images to Docker Hub
# docker push ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:$FHIR_VERSION
# docker push ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:latest
# Tag the Docker image with the extracted version and "latest"
docker tag fhirserver ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:$FHIR_VERSION
docker tag fhirserver ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:latest
# Push both tagged images to Docker Hub
docker push ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:$FHIR_VERSION
docker push ${{ secrets.DOCKERHUB_USERNAME }}/fhirserver:latest
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ terminology
# files to ignore
tests.ini
exec/fhir.dev.local.cfg
exec/pack/fhirserver.web
server/fhirserver.testing.ini
testcases/v2dict/hl7_94Jul2018.mdb
testcases/snomed/snomed.cache
Expand Down Expand Up @@ -97,3 +96,7 @@ exec/cert/
*.res

*.fpc

up_props.sh

server/web/fhirserver.web
4 changes: 0 additions & 4 deletions 1-ClickServer/1-ReinstallR4.cmd

This file was deleted.

3 changes: 0 additions & 3 deletions 1-ClickServer/2-RunServer.cmd

This file was deleted.

224 changes: 0 additions & 224 deletions 1-ClickServer/filelist.txt

This file was deleted.

16 changes: 0 additions & 16 deletions 1-ClickServer/readme.md

This file was deleted.

Binary file removed 1-ClickServer/server/fhirR4.db
Binary file not shown.
Binary file removed 1-ClickServer/server/fhirRx_empty.db
Binary file not shown.
Loading

0 comments on commit bad5c9c

Please sign in to comment.