Skip to content

Commit e296ef8

Browse files
author
Jacek Gębal
committed
Update of deployment scripts
1 parent 284e070 commit e296ef8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/scripts/install_demo_project.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL-demo-pro
77

88
cat > demo_project.sh.tmp <<EOF
99
sqlplus -S -L sys/oracle@//localhost:1521/${SERVICE_NAME} AS SYSDBA <<SQL
10+
PROMPT Creating Database User ${DB_USER}
1011
create user ${DB_USER} identified by ${DB_PASS} quota unlimited on USERS default tablespace USERS;
1112
grant create session, create procedure, create type, create table, create sequence, create view to ${DB_USER};
1213
grant select any dictionary to ${DB_USER};
@@ -17,13 +18,15 @@ cd /${PROJECT_FILE}
1718
sqlplus -S -L ${DB_USER}/${DB_PASS}@//localhost:1521/${SERVICE_NAME} <<SQL
1819
whenever sqlerror exit failure rollback
1920
whenever oserror exit failure rollback
21+
PROMPT Installing sources of demo project into schema ${DB_USER}
2022
@source/install.sql
2123
exit
2224
SQL
2325
2426
sqlplus -S -L ${DB_USER}/${DB_PASS}@//localhost:1521/${SERVICE_NAME} <<SQL
2527
whenever sqlerror exit failure rollback
2628
whenever oserror exit failure rollback
29+
PROMPT Installing tests for demo project into schema ${DB_USER}
2730
@test/install.sql
2831
exit
2932
SQL

0 commit comments

Comments
 (0)