|
23 | 23 | 'jruby-10.0.5.0', |
24 | 24 | ] |
25 | 25 | env: |
26 | | - ORACLE_HOME: /opt/oracle/instantclient_21_15 |
27 | | - LD_LIBRARY_PATH: /opt/oracle/instantclient_21_15 |
| 26 | + ORACLE_HOME: /opt/oracle/instantclient_21_21 |
| 27 | + LD_LIBRARY_PATH: /opt/oracle/instantclient_21_21 |
28 | 28 | NLS_LANG: AMERICAN_AMERICA.AL32UTF8 |
29 | 29 | TNS_ADMIN: ./ci/network/admin |
30 | 30 | DATABASE_NAME: XE |
@@ -62,26 +62,26 @@ jobs: |
62 | 62 | sudo ln -s /usr/lib/x86_64-linux-gnu/libaio.so.1t64 /usr/lib/x86_64-linux-gnu/libaio.so.1 |
63 | 63 | - name: Download Oracle instant client |
64 | 64 | run: | |
65 | | - wget -q https://download.oracle.com/otn_software/linux/instantclient/2115000/instantclient-basic-linux.x64-21.15.0.0.0dbru.zip |
66 | | - wget -q https://download.oracle.com/otn_software/linux/instantclient/2115000/instantclient-sqlplus-linux.x64-21.15.0.0.0dbru.zip |
67 | | - wget -q https://download.oracle.com/otn_software/linux/instantclient/2115000/instantclient-sdk-linux.x64-21.15.0.0.0dbru.zip |
| 65 | + wget -q https://download.oracle.com/otn_software/linux/instantclient/2121000/instantclient-basic-linux.x64-21.21.0.0.0dbru.zip |
| 66 | + wget -q https://download.oracle.com/otn_software/linux/instantclient/2121000/instantclient-sqlplus-linux.x64-21.21.0.0.0dbru.zip |
| 67 | + wget -q https://download.oracle.com/otn_software/linux/instantclient/2121000/instantclient-sdk-linux.x64-21.21.0.0.0dbru.zip |
68 | 68 | - name: Install Oracle instant client |
69 | 69 | run: | |
70 | 70 | sudo mkdir -p /opt/oracle/ |
71 | | - sudo unzip -q instantclient-basic-linux.x64-21.15.0.0.0dbru.zip -d /opt/oracle |
72 | | - sudo unzip -qo instantclient-sqlplus-linux.x64-21.15.0.0.0dbru.zip -d /opt/oracle |
73 | | - sudo unzip -qo instantclient-sdk-linux.x64-21.15.0.0.0dbru.zip -d /opt/oracle |
74 | | - echo "/opt/oracle/instantclient_21_15" >> $GITHUB_PATH |
| 71 | + sudo unzip -q instantclient-basic-linux.x64-21.21.0.0.0dbru.zip -d /opt/oracle |
| 72 | + sudo unzip -qo instantclient-sqlplus-linux.x64-21.21.0.0.0dbru.zip -d /opt/oracle |
| 73 | + sudo unzip -qo instantclient-sdk-linux.x64-21.21.0.0.0dbru.zip -d /opt/oracle |
| 74 | + echo "/opt/oracle/instantclient_21_21" >> $GITHUB_PATH |
75 | 75 | - name: Install JDBC Driver |
76 | 76 | if: startsWith(matrix.ruby, 'jruby') |
77 | 77 | run: | |
78 | 78 | wget -q https://download.oracle.com/otn-pub/otn_software/jdbc/23261/ojdbc17.jar -O ./lib/ojdbc17.jar |
79 | 79 | - name: Configure ORA_TZFILE to match Oracle 11g server |
80 | 80 | run: | |
81 | | - # Oracle 11g XE uses timezone file v14; Instant Client 21.15 embeds |
82 | | - # v35. This mismatch causes ORA-01805 when fetching DATE/TIMESTAMP |
83 | | - # values. Copy the v14 files from the 11g container and point the |
84 | | - # Instant Client at them via ORA_TZFILE. |
| 81 | + # Oracle 11g XE uses timezone file v14; the 21.x Instant Client |
| 82 | + # embeds a newer file. The mismatch causes ORA-01805 when fetching |
| 83 | + # DATE/TIMESTAMP values. Copy the v14 files from the 11g container |
| 84 | + # and point the Instant Client at them via ORA_TZFILE. |
85 | 85 | ORACLE_CONTAINER="${{ job.services.oracle.id }}" |
86 | 86 | sudo mkdir -p "$ORACLE_HOME/oracore/zoneinfo" |
87 | 87 | docker cp "$ORACLE_CONTAINER":/u01/app/oracle/product/11.2.0/xe/oracore/zoneinfo/timezlrg_14.dat /tmp/timezlrg_14.dat |
|
0 commit comments