Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fddfbd

Browse files
committed
Changed env.sh to template.env.sh. template.env.sh is read-only - so developers don't change it by accident. Changed directory name to utPLSQL_latest_release in travis to match the template.env.sh and updated .gitignore to prevent env.sh and utPLSQL_latest_release from getting committed.
1 parent 7365262 commit 3fddfbd

4 files changed

Lines changed: 11 additions & 9 deletions

File tree

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ release/
1212
*.gz
1313
*.zip
1414
node_modules/
15-
utPLSQL/
15+
utPLSQL_latest_release/
1616
utPLSQL-cli/
17-
17+
development/env.sh

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ env:
4545
- UT3_DOCKER_REPO="utplsqlv3/oracledb"
4646
- DOCKHER_HUB_REPO="${DOCKER_BASE_TAG:-$UT3_DOCKER_REPO}"
4747
#utPLSQL released version directory
48-
- UTPLSQL_DIR="utPLSQL"
48+
- UTPLSQL_DIR="utPLSQL_latest_release"
4949
matrix:
5050
- ORACLE_VERSION="${DOCKER_TAG_11G:-11g-r2-xe}" CONNECTION_STR='127.0.0.1:1521/XE' DOCKER_OPTIONS='--shm-size=1g'
5151
- ORACLE_VERSION="${DOCKER_TAG_12C:-12c-r1-se2}" CONNECTION_STR='127.0.0.1:1521/ORCLPDB1' DOCKER_OPTIONS="-v /dev/pdbs:/opt/oracle/oradata/pdbs"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ unzip utPLSQL-cli.zip && chmod -R u+x utPLSQL-cli && rm utPLSQL-cli.zip
7676

7777
```
7878

79-
Now adjust the file ``development/env.sh`` to match your local needs.
79+
Now copy the file `development/template.env.sh` to `development/env.sh` and adjust variables to match your local needs.
8080
You might have to adjust the following lines:
8181

8282
````bash
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
#!/usr/bin/env bash
22

3+
export UTPLSQL_DIR="utPLSQL_latest_release"
4+
export SQLCLI=sql # For sqlcl client
5+
#export SQLCLI=sqlplus # For sqlplus client
6+
export CONNECTION_STR=127.0.0.1:1521/xe # Adjust the connect string
7+
export ORACLE_PWD=oracle # Adjust your local SYS password
8+
9+
310
export UT3_OWNER=ut3
411
export UT3_OWNER_PASSWORD=ut3
512
export UT3_RELEASE_VERSION_SCHEMA=ut3_latest_release
@@ -8,9 +15,4 @@ export UT3_TESTER_PASSWORD=ut3
815
export UT3_TABLESPACE=users
916
export UT3_USER="UT3\$USER#"
1017
export UT3_USER_PASSWORD=ut3
11-
export UTPLSQL_DIR="utPLSQL_latest_release"
12-
export SQLCLI=sql # For sqlcl client
13-
#export SQLCLI=sqlplus # For sqlplus client
14-
export CONNECTION_STR=127.0.0.1:1521/xe # Adjust the connect string
15-
export ORACLE_PWD=oracle # Adjust your local SYS password
1618

0 commit comments

Comments
 (0)