Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/docker-dev-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the pgsql EMPTY Docker image
run: |
docker build . --tag ghcr.io/openimis/openimis-pgsql:develop-base --target base
docker push ghcr.io/openimis/openimis-pgsql:develop-base
docker build . --tag ghcr.io/openimis/openimis-pgsql:develop --target base
docker push ghcr.io/openimis/openimis-pgsql:develop
- name: Build the pgsql DEMO Docker image
run: |
docker build . --tag ghcr.io/openimis/openimis-pgsql:develop
docker push ghcr.io/openimis/openimis-pgsql:develop
docker build . --tag ghcr.io/openimis/openimis-pgsql:develop-demo
docker push ghcr.io/openimis/openimis-pgsql:develop-demo
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the pgsql EMPTY Docker image
run: |
docker build . --target base --tag ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}-base
docker push ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}-base
docker build . --target base --tag ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}
docker push ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}
- name: Build the pgsql DEMO Docker image
run: |
docker build . --tag ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}
docker push ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}
docker build . --tag ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}-demo
docker push ghcr.io/openimis/openimis-pgsql:${{ github.event.inputs.tag }}-demo
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN chmod u+x install_postgres_json_schema_extension.sh
RUN ./install_postgres_json_schema_extension.sh

FROM base AS demo
COPY ["database scripts/demo_db.sql", "/docker-entrypoint-initdb.d/"]
COPY ["scripts/demo_db.sql", "/docker-entrypoint-initdb.d/"]
2 changes: 1 addition & 1 deletion concatenate_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

mkdir output
cd database\ scripts
cat 00_dump.sql 0[2345]_*.sql demo_db.sql > ../output/fullDemoDatabase.sql
cat 00_dump.sql 0[2345]_*.sql ../scripts/demo_db.sql > ../output/fullDemoDatabase.sql
cat 00_dump.sql 0[2345]_*.sql > ../output/EmptyDatabase.sql
347 changes: 9 additions & 338 deletions database scripts/00_dump.sql

Large diffs are not rendered by default.

5,037 changes: 0 additions & 5,037 deletions database scripts/demo_db.sql

This file was deleted.

1 change: 0 additions & 1 deletion migtool/tables.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ tblHealthStatus
tblIdentificationTypes
tblIMISDefaults
tblIMISDefaultsPhone
tblLogins
tblOfficerVillages
tblPayerType
tblPayment
Expand Down
446 changes: 0 additions & 446 deletions scripts/demo_db.sql

Large diffs are not rendered by default.

Loading