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
Binary file added scripts.zip
Binary file not shown.
3 changes: 3 additions & 0 deletions scripts/concepts_restore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker exec -i bahmni_docker_emr-service_1 /usr/bin/mysql -u root --password=P@ssw0rd openmrs < /development/eregister_concepts_release/omrs_concept_dictionary.sql
20 changes: 0 additions & 20 deletions scripts/gitpull.service

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
After=mysqlbootstrap.service
After=dockerbootstrap.service



[Service]
Expand Down
2 changes: 0 additions & 2 deletions scripts/gitpull_bahmniapps.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[Unit]
Description=Bahmni Apps continuous deployment
After=docker.service
#After=mysqlbootstrap.service
#After=dockerbootstrap.service


[Service]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
#After=mysqlbootstrap.service
#After=dockerbootstrap.service



[Service]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
#After=mysqlbootstrap.service
#After=dockerbootstrap.service



[Service]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[Unit]
Description=Bahmni continuous deployment [For Drug Concepts]
After=docker.service
After=mysqlbootstrap.service
After=dockerbootstrap.service



[Service]
WorkingDirectory=/development_emr/eregister_concepts_release
ExecStart=/development_emr/eregister_concepts_release/restore_concepts.sh
ExecStart=/development_emr/eregister_concepts_release/gitpull_concepts.sh
StandardOutput=file:/var/log/restore_concepts.log
StandardOutput=file:/var/log/restore_conceptsbugs.log

Expand Down
4 changes: 0 additions & 4 deletions scripts/gitpull_dhisconnector.sh

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Mappings continuous deployment
After=docker.service
After=mysqlbootstrap.service
After=dockerbootstrap.service



[Service]
Expand Down
18 changes: 18 additions & 0 deletions scripts/gitpull_outgoingmessage.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service



[Service]
WorkingDirectory=/development_emr/openmrs-modules-outgoingmessageexception-release/
ExecStart=/development/openmrs-modules-outgoingmessageexception-release/gitpull_outgoingmessage.sh


User=openmrs
RestartSec=10
Restart=always


[Install]
WantedBy=default.target
2 changes: 1 addition & 1 deletion scripts/gitpull.sh → scripts/gitpull_outgoingmessage.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash

git fetch --all
git pull origin master
git pull origin main
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
#After=mysqlbootstrap.service
#After=dockerbootstrap.service



[Service]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[Unit]
Description=Serialized Onject continuous deployment
After=docker.service
After=mysqlbootstrap.service
After=dockerbootstrap.service



[Service]
WorkingDirectory=/development/openmrs_reporting_release
ExecStart=/development/openmrs_reporting_release/gitpull_serial.sh
ExecStart=/development/openmrs_reporting_release/gitpull_serializedobject.sh


User=openmrs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

git fetch --all

git pull origin master
git pull origin master
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
After=mysqlbootstrap.service
After=dockerbootstrap.service



[Service]
Expand Down
5 changes: 0 additions & 5 deletions scripts/gitpullbahmniapps.sh

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/gitpullserializedobjects.service

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/mappingsscripts/concepts_restore.sh

This file was deleted.

4 changes: 0 additions & 4 deletions scripts/mappingsscripts/gitpull_serial.sh

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/mappingsscripts/gitpullbahmniapps.service

This file was deleted.

19 changes: 0 additions & 19 deletions scripts/mappingsscripts/gitpullconcepts.service

This file was deleted.

3 changes: 0 additions & 3 deletions scripts/mappingsscripts/serializedobject_restore.sh

This file was deleted.

3 changes: 1 addition & 2 deletions scripts/modules.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
[Unit]
Description=Bahmni continuous deployment
After=docker.service
#After=mysqlbootstrap.service
#After=dockerbootstrap.service



[Service]
Expand Down
1 change: 1 addition & 0 deletions scripts/modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ docker cp /development_emr/openmrs-module-appointments-release/appointments-1.1-
docker cp /development_emr/openmrs-module-bahmnicore-release/bahmnicore-omod-0.92-SNAPSHOT.omod bahmni_docker_emr-service_1:/opt/openmrs/modules
docker cp /development_emr/openmrs-module-registrationcore-release/registrationcore-1.9.0-SNAPSHOT.omod bahmni_docker_emr-service_1:/opt/openmrs/modules
docker cp /development_emr/openmrs-module-xdssender-release/xds-sender-1.0.2.omod bahmni_docker_emr-service_1:/opt/openmrs/modules
docker cp /development_emr/openmrs-module-outgoingmessageexception-release/outgoing-message-exceptions-1.0.0.omod bahmni_docker_emr-service_1:/opt/openmrs/modules
14 changes: 0 additions & 14 deletions scripts/restore_concepts.sh

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/serializedobject_restore.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
docker exec -i openmrseregister /usr/bin/mysql -u root --password=P@ssw0rd openmrs < /development_emr/openmrs_reporting_release/Serialized_Object.sql
docker exec -i bahmni_docker_emr-service_1 /usr/bin/mysql -u root --password=P@ssw0rd openmrs < /development_emr/openmrs_reporting_release/Serialized_Object.sql

Loading