Skip to content

Commit

Permalink
Use Oracle Instant Client Version 23.6.0.0.0
Browse files Browse the repository at this point in the history
This commit bumps the Oracle Instant Client Version to 23.6.0.0.0
  • Loading branch information
yahonda committed Dec 6, 2024
1 parent bb65e49 commit 85c408c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest

env:
LD_LIBRARY_PATH: /opt/oracle/instantclient_23_5
LD_LIBRARY_PATH: /opt/oracle/instantclient_23_6

steps:
- uses: actions/checkout@v4
Expand All @@ -22,15 +22,15 @@ jobs:
ruby-version: 3.3
- name: Download Oracle instant client
run: |
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-basic-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-sdk-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-sqlplus-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-basic-linux.x64-23.6.0.24.10.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-sdk-linux.x64-23.6.0.24.10.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-sqlplus-linux.x64-23.6.0.24.10.zip
- name: Install Oracle instant client
run: |
sudo unzip instantclient-basic-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
sudo unzip -o instantclient-sdk-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
sudo unzip -o instantclient-sqlplus-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
echo "/opt/oracle/instantclient_23_5" >> $GITHUB_PATH
sudo unzip instantclient-basic-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
sudo unzip -o instantclient-sdk-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
sudo unzip -o instantclient-sqlplus-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
echo "/opt/oracle/instantclient_23_6" >> $GITHUB_PATH
- name: Build and run RuboCop
run: |
bundle install --jobs 4 --retry 3
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
'2.7'
]
env:
ORACLE_HOME: /opt/oracle/instantclient_23_5
LD_LIBRARY_PATH: /opt/oracle/instantclient_23_5
ORACLE_HOME: /opt/oracle/instantclient_23_6
LD_LIBRARY_PATH: /opt/oracle/instantclient_23_6
NLS_LANG: AMERICAN_AMERICA.AL32UTF8
TNS_ADMIN: ./ci/network/admin
DATABASE_NAME: FREEPDB1
Expand Down Expand Up @@ -57,17 +57,15 @@ jobs:
ruby-version: ${{ matrix.ruby }}
- name: Download Oracle instant client
run: |
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-basic-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-sdk-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2350000/instantclient-sqlplus-linux.x64-23.5.0.24.07.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-basic-linux.x64-23.6.0.24.10.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-sdk-linux.x64-23.6.0.24.10.zip
wget -q https://download.oracle.com/otn_software/linux/instantclient/2360000/instantclient-sqlplus-linux.x64-23.6.0.24.10.zip
- name: Install Oracle instant client
run: |
sudo mkdir -p /opt/oracle/
sudo unzip instantclient-basic-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
sudo unzip -o instantclient-sdk-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
sudo unzip -o instantclient-sqlplus-linux.x64-23.5.0.24.07.zip -d /opt/oracle/
echo "/opt/oracle/instantclient_23_5" >> $GITHUB_PATH
sudo unzip instantclient-basic-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
sudo unzip -o instantclient-sdk-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
sudo unzip -o instantclient-sqlplus-linux.x64-23.6.0.24.10.zip -d /opt/oracle/
echo "/opt/oracle/instantclient_23_6" >> $GITHUB_PATH
- name: Install JDBC Driver
run: |
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/211/ojdbc11.jar -O ./lib/ojdbc11.jar
Expand Down

0 comments on commit 85c408c

Please sign in to comment.