Skip to content

Commit 64425d4

Browse files
yahondaclaude
andcommitted
Bump Oracle to Free 23 (23.26.1) and Instant Client to 23.26.1.0.0
- Replace gvenzl/oracle-xe with gvenzl/oracle-free (Oracle Free is the successor to Oracle XE) - Upgrade Instant Client from 21.x to 23.26.1.0.0 sourced from yum.oracle.com - Update ORACLE_HOME and LD_LIBRARY_PATH to /usr/lib/oracle/23/client64 - Change DATABASE_NAME from XEPDB1 to FREEPDB1 - Update JDBC driver to version 233 - Switch runs-on from deprecated ubuntu-20.04 to ubuntu-latest Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7bee9ba commit 64425d4

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

.github/workflows/rubocop.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ jobs:
2222
sudo apt-get install alien
2323
- name: Download Oracle instant client
2424
run: |
25-
wget -q https://download.oracle.com/otn_software/linux/instantclient/216000/oracle-instantclient-basic-21.6.0.0.0-1.x86_64.rpm
26-
wget -q https://download.oracle.com/otn_software/linux/instantclient/216000/oracle-instantclient-sqlplus-21.6.0.0.0-1.x86_64.rpm
27-
wget -q https://download.oracle.com/otn_software/linux/instantclient/216000/oracle-instantclient-devel-21.6.0.0.0-1.x86_64.rpm
25+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-basic-23.26.1.0.0-1.el8.x86_64.rpm
26+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-sqlplus-23.26.1.0.0-1.el8.x86_64.rpm
27+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-devel-23.26.1.0.0-1.el8.x86_64.rpm
2828
- name: Install Oracle instant client
2929
run: |
30-
sudo alien -i oracle-instantclient-basic-21.6.0.0.0-1.x86_64.rpm
31-
sudo alien -i oracle-instantclient-sqlplus-21.6.0.0.0-1.x86_64.rpm
32-
sudo alien -i oracle-instantclient-devel-21.6.0.0.0-1.x86_64.rpm
30+
sudo alien -i oracle-instantclient-basic-23.26.1.0.0-1.el8.x86_64.rpm
31+
sudo alien -i oracle-instantclient-sqlplus-23.26.1.0.0-1.el8.x86_64.rpm
32+
sudo alien -i oracle-instantclient-devel-23.26.1.0.0-1.el8.x86_64.rpm
3333
3434
- name: Build and run RuboCop
3535
run: |

.github/workflows/test.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build:
99

10-
runs-on: ubuntu-20.04
10+
runs-on: ubuntu-latest
1111
continue-on-error: true
1212
strategy:
1313
matrix:
@@ -24,18 +24,18 @@ jobs:
2424
truffleruby-head
2525
]
2626
env:
27-
ORACLE_HOME: /usr/lib/oracle/21/client64
28-
LD_LIBRARY_PATH: /usr/lib/oracle/21/client64/lib
27+
ORACLE_HOME: /usr/lib/oracle/23/client64
28+
LD_LIBRARY_PATH: /usr/lib/oracle/23/client64/lib
2929
NLS_LANG: AMERICAN_AMERICA.AL32UTF8
3030
TNS_ADMIN: ./ci/network/admin
31-
DATABASE_NAME: XEPDB1
31+
DATABASE_NAME: FREEPDB1
3232
TZ: Europe/Riga
3333
DATABASE_SYS_PASSWORD: Oracle18
34-
DATABASE_VERSION: 21.3.0.0
34+
DATABASE_VERSION: 23.26.1.0
3535

3636
services:
3737
oracle:
38-
image: gvenzl/oracle-xe:latest
38+
image: gvenzl/oracle-free:latest
3939
ports:
4040
- 1521:1521
4141
env:
@@ -58,17 +58,17 @@ jobs:
5858
sudo apt-get install alien
5959
- name: Download Oracle client
6060
run: |
61-
wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm
62-
wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm
63-
wget -q https://download.oracle.com/otn_software/linux/instantclient/2110000/oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm
61+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-basic-23.26.1.0.0-1.el8.x86_64.rpm
62+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-sqlplus-23.26.1.0.0-1.el8.x86_64.rpm
63+
wget -q https://yum.oracle.com/repo/OracleLinux/OL8/oracle/instantclient23/x86_64/getPackage/oracle-instantclient-devel-23.26.1.0.0-1.el8.x86_64.rpm
6464
- name: Install Oracle client
6565
run: |
66-
sudo alien -i oracle-instantclient-basic-21.10.0.0.0-1.x86_64.rpm
67-
sudo alien -i oracle-instantclient-sqlplus-21.10.0.0.0-1.x86_64.rpm
68-
sudo alien -i oracle-instantclient-devel-21.10.0.0.0-1.x86_64.rpm
66+
sudo alien -i oracle-instantclient-basic-23.26.1.0.0-1.el8.x86_64.rpm
67+
sudo alien -i oracle-instantclient-sqlplus-23.26.1.0.0-1.el8.x86_64.rpm
68+
sudo alien -i oracle-instantclient-devel-23.26.1.0.0-1.el8.x86_64.rpm
6969
- name: Install JDBC Driver
7070
run: |
71-
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/211/ojdbc11.jar -O ./lib/ojdbc11.jar
71+
wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/233/ojdbc11.jar -O ./lib/ojdbc11.jar
7272
- name: Create database user
7373
run: |
7474
./ci/setup_accounts.sh

ci/network/admin/tnsnames.ora

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
XEPDB1 =
1+
FREEPDB1 =
22
(DESCRIPTION =
33
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
44
(CONNECT_DATA =
5-
(SERVICE_NAME = XEPDB1)
5+
(SERVICE_NAME = FREEPDB1)
66
)
77
)

0 commit comments

Comments
 (0)