Skip to content

Commit 322c6d2

Browse files
author
Jacek Gębal
committed
Fixing build pipeline.
1 parent b36cacc commit 322c6d2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/scripts/create_api_user.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -ev
33

4-
sqlplus -S -L sys/oracle@//localhost:1521/${SERVICE_NAME} AS SYSDBA <<EOF
4+
sqlplus -S -L sys/oracle@${DB_URL} AS SYSDBA <<EOF
55
create user api identified by api
66
quota unlimited on USERS
77
default tablespace USERS;

.github/scripts/install_demo_project.sh

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

88
cat > demo_project.sh.tmp <<- EOF
9-
sqlplus -S -L sys/oracle@//localhost:1521/${SERVICE_NAME} AS SYSDBA <<- SQL
9+
sqlplus -S -L sys/oracle@${DB_URL} AS SYSDBA <<- SQL
1010
PROMPT Creating Database User ${DB_USER}
1111
PROMPT create user ${DB_USER} identified by ${DB_PASS} quota unlimited on USERS default tablespace USERS;
1212
PROMPT grant create session, create procedure, create type, create table, create sequence, create view to ${DB_USER};
@@ -20,15 +20,15 @@ cat > demo_project.sh.tmp <<- EOF
2020
SQL
2121
2222
cd /${PROJECT_FILE}
23-
sqlplus -S -L ${DB_USER}/${DB_PASS}@//localhost:1521/${SERVICE_NAME} <<- SQL
23+
sqlplus -S -L ${DB_USER}/${DB_PASS}@${DB_URL} <<- SQL
2424
whenever sqlerror exit failure rollback
2525
whenever oserror exit failure rollback
2626
PROMPT Installing sources of demo project into schema ${DB_USER}
2727
@source/install.sql
2828
exit
2929
SQL
3030
31-
sqlplus -S -L ${DB_USER}/${DB_PASS}@//localhost:1521/${SERVICE_NAME} <<- SQL
31+
sqlplus -S -L ${DB_USER}/${DB_PASS}@${DB_URL} <<- SQL
3232
whenever sqlerror exit failure rollback
3333
whenever oserror exit failure rollback
3434
PROMPT Installing tests for demo project into schema ${DB_USER}

.github/scripts/install_utplsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ chmod -R go+w ./${UTPLSQL_FILE}/{source,examples}
1515
# Create a temporary install script.
1616
cat > install.sh.tmp <<EOF
1717
cd /${UTPLSQL_FILE}/source
18-
sqlplus -S -L sys/oracle@//localhost:1521/${SERVICE_NAME} AS SYSDBA @install_headless.sql ut3 ut3 users
18+
sqlplus -S -L sys/oracle@${DB_URL} AS SYSDBA @install_headless.sql ut3 ut3 users
1919
EOF
2020

2121
# Copy utPLSQL files to the container and install it.

0 commit comments

Comments
 (0)