32
32
uses : actions/checkout@v2
33
33
with :
34
34
path : ' ./new'
35
+ - name : generate new files
36
+ working-directory : ./new
37
+ run : bash concatenate_files.sh
35
38
- name : install linux packages
36
39
run : |
37
40
mkdir ./oldMain
@@ -49,17 +52,16 @@ jobs:
49
52
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'DROP DATABASE IF EXISTS imis_1_4_2'
50
53
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis_1_4_2'
51
54
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i 1.42/openIMIS_ONLINE.sql | grep . | uniq -c
52
- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i "new/Migration script/openIMIS migration latest.sql" | grep . | uniq -c
53
- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i "new/Demo database/openIMIS_demo_ONLINE.sql" | grep . | uniq -c
55
+ /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_1_4_2 -i "new/output/fullMigrationScipt.sql" | grep . | uniq -c
54
56
env :
55
57
SA_PASSWORD : GitHub999
56
58
ACCEPT_EULA : Y
57
59
- name : Initialize DB latest
58
60
run : |
59
61
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'DROP DATABASE IF EXISTS imis'
60
62
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis'
61
- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i "new/Empty databases/openIMIS_ONLINE .sql" | grep . | uniq -c
62
- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i "new/Demo database/openIMIS_demo_ONLINE.sql" | grep . | uniq -c
63
+ /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis -i "new/output/fullDemoDatabase .sql" | grep . | uniq -c
64
+
63
65
64
66
env :
65
67
SA_PASSWORD : GitHub999
70
72
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -Q 'CREATE DATABASE imis_main'
71
73
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i oldMain/openIMIS_ONLINE.sql | grep . | uniq -c
72
74
/opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i oldMain/openIMIS_demo_ONLINE.sql | grep . | uniq -c
73
- /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i "new/Migration script/openIMIS migration latest .sql" | grep . | uniq -c
75
+ /opt/mssql-tools/bin/sqlcmd -S localhost,1433 -U SA -P $SA_PASSWORD -d imis_main -i "new/output/fullMigrationScipt .sql" | grep . | uniq -c
74
76
75
77
76
78
env :
@@ -109,7 +111,6 @@ jobs:
109
111
DB_PASSWORD : GitHub999
110
112
# DEV_SERVER: true
111
113
SITE_ROOT : api
112
- REMOTE_USER_AUTHENTICATION : True
113
114
- name : Django tests 1.4.2
114
115
working-directory : ./openimis
115
116
run : |
@@ -130,7 +131,6 @@ jobs:
130
131
DB_PASSWORD : GitHub999
131
132
# DEV_SERVER: true
132
133
SITE_ROOT : api
133
- REMOTE_USER_AUTHENTICATION : True
134
134
- name : Django tests last main
135
135
working-directory : ./openimis
136
136
run : |
@@ -151,4 +151,3 @@ jobs:
151
151
DB_PASSWORD : GitHub999
152
152
# DEV_SERVER: true
153
153
SITE_ROOT : api
154
- REMOTE_USER_AUTHENTICATION : True
0 commit comments