Commit 5bf9488
committed
ci: Add ORA_TZFILE workaround to ruby_head workflow
The scheduled ruby_head workflow has been failing since 2026-05-09 with
`OCIError: ORA-01805: possible error in date/time operation` raised from
`ocidatetime.c:119` for every DATE/TIMESTAMP fetch:
https://github.com/rsim/ruby-plsql/actions/runs/25586756343
Cause: `gvenzl/oracle-free:latest` ships Oracle Free 23ai with a newer
timezone-data version than the `instantclient-basic-linuxx64.zip` "latest"
download embeds, and ruby-oci8 raises ORA-01805 whenever the client tries
to materialize a date/time fetched from a session opened against the newer
server.
Copy the server's `timezlrg_*.dat` onto the Instant Client and point
ORA_TZFILE at it, immediately after the `Create database user` step.
The lookup is dynamic so a future bump of the gvenzl image (which ships
whatever timezone version is current) continues to work without further
edits.
Mirrors rsim/oracle-enhanced#2764.1 parent 959e88b commit 5bf9488
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
65 | 76 | | |
66 | 77 | | |
67 | 78 | | |
| |||
0 commit comments