File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 13
13
- DOCKER_CFG=$HOME/.docker
14
14
- DOCKER_REPO="viniciusam/oracledb"
15
15
- MAVEN_HOME=/usr/local/maven
16
- - UTPLSQL_VERSION="v3.0.0-beta"
17
- - UTPLSQL_FILE="utPLSQLv3.0.0.562-beta"
18
16
matrix :
19
17
- ORACLE_VERSION="11g-xe-r2" CONNECTION_STR="127.0.0.1:1521/XE" DOCKER_OPTIONS="--shm-size=1g"
20
18
Original file line number Diff line number Diff line change 2
2
set -ev
3
3
4
4
# Download the specified version of utPLSQL.
5
- curl -L -O " https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION /$UTPLSQL_FILE .tar.gz"
5
+ # UTPLSQL_VERSION="v3.0.0-beta"
6
+ # UTPLSQL_FILE="utPLSQLv3.0.0.562-beta"
7
+ # curl -L -O "https://github.com/utPLSQL/utPLSQL/releases/download/$UTPLSQL_VERSION/$UTPLSQL_FILE.tar.gz"
8
+
9
+ # Download develop branch of utPLSQL.
10
+ UTPLSQL_VERSION=" develop"
11
+ UTPLSQL_FILE=" utPLSQL"
12
+ git clone -b develop --single-branch https://github.com/utPLSQL/utPLSQL.git
13
+ # tar -czf $UTPLSQL_FILE.tar.gz $UTPLSQL_FILE && rm -rf $UTPLSQL_FILE
6
14
7
15
# Create a temporary install script.
8
16
cat > install.sh.tmp << EOF
9
- tar -xzf $UTPLSQL_FILE .tar.gz
10
- rm $UTPLSQL_FILE .tar.gz
17
+ # tar -xzf $UTPLSQL_FILE .tar.gz && rm $UTPLSQL_FILE .tar.gz
11
18
cd /$UTPLSQL_FILE /source
12
19
sqlplus -S -L sys/oracle@//$CONNECTION_STR AS SYSDBA @install_headless.sql
13
20
EOF
14
21
15
22
# Copy utPLSQL files to the container and install it.
16
- docker cp ./$UTPLSQL_FILE .tar.gz $ORACLE_VERSION :/$UTPLSQL_FILE .tar.gz
23
+ # docker cp ./$UTPLSQL_FILE.tar.gz $ORACLE_VERSION:/$UTPLSQL_FILE.tar.gz
24
+ docker cp ./$UTPLSQL_FILE $ORACLE_VERSION :/$UTPLSQL_FILE
17
25
docker cp ./install.sh.tmp $ORACLE_VERSION :/install.sh
18
26
19
27
# Remove temporary files.
20
- rm $UTPLSQL_FILE .tar.gz
28
+ # rm $UTPLSQL_FILE.tar.gz
21
29
rm install.sh.tmp
22
30
23
31
# Execute the utPLSQL installation inside the container.
You can’t perform that action at this time.
0 commit comments