Skip to content

Commit 9af550a

Browse files
committed
Moved DB pass to secrets in travis.
1 parent 726743d commit 9af550a

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ env:
2020
- CONNECTION_STR='127.0.0.1:1521/XE'
2121
- DOCKER_OPTIONS='--shm-size=1g'
2222

23-
# SYS account password for DB - could be stored in Travis secrets
24-
- ORACLE_SYS_PASS="oracle"
2523
# Adding utPLSQL-cli to path - to be able to invoke "utplsql" from command line
2624
- PATH=$PATH:${TRAVIS_BUILD_DIR}/utPLSQL-cli/bin
2725
# Adding Oracle SQLCL to path - to be able to invoke "sql" from command line
@@ -39,6 +37,7 @@ env:
3937
# DOCKER_PASSWORD
4038
# ORACLE_OTN_USER
4139
# ORACLE_OTN_PASSWORD
40+
# DB_SYS_PASSWORD - SYS account password for DB
4241
matrix:
4342
- UTPLSQL_VERSION='develop'
4443
- UTPLSQL_VERSION='v3.0.0' VERSION_PLACEHOLDER='utPLSQL - Version X.X.X.X'

.travis/install_utplsql.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -ev
44

55
cd ${UTPLSQL_DIR}/source
66

7-
sql -S -L sys/${ORACLE_SYS_PASS}@//${CONNECTION_STR} AS SYSDBA @install_headless.sql
7+
sql -S -L sys/${DB_SYS_PASSWORD}@//${CONNECTION_STR} AS SYSDBA @install_headless.sql

source/setup_db_account.sh

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

33
set -ev
44

5-
sql -L -S sys/${ORACLE_SYS_PASS}@//${CONNECTION_STR} AS SYSDBA <<SQL
5+
sql -L -S sys/${DB_SYS_PASSWORD}@//${CONNECTION_STR} AS SYSDBA <<SQL
66
create user ${DB_USER} identified by ${DB_PASS} quota unlimited on USERS default tablespace USERS;
77
88
grant create session, create procedure, create type, create table, create sequence, create view to ${DB_USER};

0 commit comments

Comments
 (0)