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 1313 - DOCKER_CFG=$HOME/.docker
1414 - DOCKER_REPO="viniciusam/oracledb"
1515 - MAVEN_HOME=/usr/local/maven
16- - UTPLSQL_VERSION="v3.0.0-beta"
17- - UTPLSQL_FILE="utPLSQLv3.0.0.562-beta"
1816 matrix :
1917 - ORACLE_VERSION="11g-xe-r2" CONNECTION_STR="127.0.0.1:1521/XE" DOCKER_OPTIONS="--shm-size=1g"
2018
Original file line number Diff line number Diff line change 22set -ev
33
44# 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
614
715# Create a temporary install script.
816cat > 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
1118cd /$UTPLSQL_FILE /source
1219sqlplus -S -L sys/oracle@//$CONNECTION_STR AS SYSDBA @install_headless.sql
1320EOF
1421
1522# 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
1725docker cp ./install.sh.tmp $ORACLE_VERSION :/install.sh
1826
1927# Remove temporary files.
20- rm $UTPLSQL_FILE .tar.gz
28+ # rm $UTPLSQL_FILE.tar.gz
2129rm install.sh.tmp
2230
2331# Execute the utPLSQL installation inside the container.
You can’t perform that action at this time.
0 commit comments