Skip to content

Commit bc7d14a

Browse files
author
Jacek Gębal
committed
Update build process
1 parent af4d61a commit bc7d14a

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
image: gvenzl/oracle-free:23-slim-faststart
2323
env:
2424
ORACLE_PASSWORD: oracle
25+
SERVICE_NAME: FREEPDB1
26+
DB_URL: localhost:1521/FREEPDB1
2527
ports:
2628
- 1521:1521
2729
options: >-

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
To usefully contribute you'll have to set up a local database with installed [latest utPLSQL v3](https://github.com/utPLSQL/utPLSQL) and [utPLSQL-demo-project](https://github.com/utPLSQL/utPLSQL-demo-project).
77
The demo-project will serve as your test user. See .travis.yml to see an example on how it can be installed.
8-
By default, tests are executed against `app/app` user of `localhost:1521/XE database`.
8+
By default, tests are executed against `app/app` user of `localhost:1521/FREEPDB1 database`.
99

1010
If you want to run tests against another database you may set `DB_URL`, `DB_USER`, `DB_PASS` environment variables.
1111

scripts/0_start_db.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/1_install_utplsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ curl -Lk "${UTPLSQL_DOWNLOAD_URL}" -o utPLSQL.zip
55
unzip -q utPLSQL.zip
66

77
docker run --rm -v $(pwd)/utPLSQL:/utPLSQL -w /utPLSQL/source --network host \
8-
--entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//127.0.0.1:1521/XE as sysdba @install_headless.sql UT3 UT3 users
8+
--entrypoint sqlplus truemark/sqlplus:19.8 sys/oracle@//${DB_URL} as sysdba @install_headless.sql UT3 UT3 users

scripts/2_install_demo_project.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
2-
sys/oracle@//127.0.0.1:1521/XE as sysdba @scripts/sql/create_users.sql
2+
sys/oracle@//${DB_URL} as sysdba @scripts/sql/create_users.sql
33

44
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
5-
app/pass@//127.0.0.1:1521/XE @scripts/sql/create_app_objects.sql
5+
app/pass@//${DB_URL} @scripts/sql/create_app_objects.sql
66

77
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
8-
code_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_source_owner_objects.sql
8+
code_owner/pass@//${DB_URL} @scripts/sql/create_source_owner_objects.sql
99

1010
docker run --rm -v $(pwd):/work -w /work/ --network host --entrypoint sqlplus truemark/sqlplus:19.8 \
11-
tests_owner/pass@//127.0.0.1:1521/XE @scripts/sql/create_tests_owner_objects.sql
11+
tests_owner/pass@//${DB_URL} @scripts/sql/create_tests_owner_objects.sql

0 commit comments

Comments
 (0)