Skip to content

Commit 24e5a38

Browse files
yahondaclaude
andcommitted
Upgrade CI workflows to ojdbc17.jar 23.26.1
- Upgrade JDBC driver from ojdbc11.jar 23.3 to ojdbc17.jar 23.26.1 in test, test_11g, test_gemfiles, and jruby_head workflows - Refactor test_11g workflow to use $ORACLE_HOME and job.services.oracle.id instead of hardcoded paths Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dbf19f3 commit 24e5a38

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/jruby_head.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
echo "/opt/oracle/instantclient_23_26" >> $GITHUB_PATH
5858
- name: Install JDBC Driver
5959
run: |
60-
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/233/ojdbc11.jar -O ./lib/ojdbc11.jar
60+
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar
6161
- name: Create database user
6262
run: |
6363
./ci/setup_accounts.sh

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
echo "/opt/oracle/instantclient_23_26" >> $GITHUB_PATH
6363
- name: Install JDBC Driver
6464
run: |
65-
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/233/ojdbc11.jar -O ./lib/ojdbc11.jar
65+
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar
6666
- name: Create database user
6767
run: |
6868
./ci/setup_accounts.sh

.github/workflows/test_11g.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ jobs:
6767
echo "/opt/oracle/instantclient_21_15" >> $GITHUB_PATH
6868
- name: Install JDBC Driver
6969
run: |
70-
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/233/ojdbc11.jar -O ./lib/ojdbc11.jar
70+
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar
7171
- name: Configure ORA_TZFILE to match Oracle 11g server
7272
run: |
73-
# Oracle 11g XE uses timezone file v14; Instant Client 21.15 embeds v35.
74-
# This mismatch causes ORA-01805 when ruby-oci8 fetches DATE/TIMESTAMP
73+
# Oracle 11g XE uses timezone file v14; Instant Client 21.15 embeds
74+
# v35. This mismatch causes ORA-01805 when fetching DATE/TIMESTAMP
7575
# values. Copy the v14 files from the 11g container and point the
7676
# Instant Client at them via ORA_TZFILE.
77-
ORACLE_CONTAINER=$(docker ps --filter "ancestor=gvenzl/oracle-xe:11" -q)
78-
sudo mkdir -p /opt/oracle/instantclient_21_15/oracore/zoneinfo
77+
ORACLE_CONTAINER="${{ job.services.oracle.id }}"
78+
sudo mkdir -p "$ORACLE_HOME/oracore/zoneinfo"
7979
docker cp "$ORACLE_CONTAINER":/u01/app/oracle/product/11.2.0/xe/oracore/zoneinfo/timezlrg_14.dat /tmp/timezlrg_14.dat
8080
docker cp "$ORACLE_CONTAINER":/u01/app/oracle/product/11.2.0/xe/oracore/zoneinfo/timezone_14.dat /tmp/timezone_14.dat
81-
sudo mv /tmp/timezlrg_14.dat /opt/oracle/instantclient_21_15/oracore/zoneinfo/
82-
sudo mv /tmp/timezone_14.dat /opt/oracle/instantclient_21_15/oracore/zoneinfo/
81+
sudo mv /tmp/timezlrg_14.dat "$ORACLE_HOME/oracore/zoneinfo/"
82+
sudo mv /tmp/timezone_14.dat "$ORACLE_HOME/oracore/zoneinfo/"
8383
echo "ORA_TZFILE=timezlrg_14.dat" >> $GITHUB_ENV
8484
- name: Create database user
8585
run: |

.github/workflows/test_gemfiles.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
echo "/opt/oracle/instantclient_23_26" >> $GITHUB_PATH
8585
- name: Install JDBC Driver
8686
run: |
87-
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/233/ojdbc11.jar -O ./lib/ojdbc11.jar
87+
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar
8888
- name: Create database user
8989
run: |
9090
./ci/setup_accounts.sh

0 commit comments

Comments
 (0)