Skip to content

Commit

Permalink
Go back to the v7 clients
Browse files Browse the repository at this point in the history
  • Loading branch information
theory committed Dec 30, 2024
1 parent b83bb0e commit f39768b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
17 changes: 13 additions & 4 deletions .github/ubuntu/exasol.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,19 @@ mkdir -p /opt/exasol

# Download and unpack Exasol ODBC Driver & EXAplus.
# https://downloads.exasol.com/clients-and-drivers
curl -sSLO https://x-up.s3.amazonaws.com/7.x/24.2.0/Exasol_ODBC-24.2.0-Linux_x86_64.tar.gz
curl -sSLO https://x-up.s3.amazonaws.com/7.x/24.2.1/EXAplus-24.2.1.tar.gz
sudo tar -xzf Exasol_ODBC-24.2.0-Linux_x86_64.tar.gz -C /opt/exasol --strip-components 2
sudo tar -xzf EXAplus-24.2.1.tar.gz -C /opt/exasol --strip-components 2
curl -sSLO https://x-up.s3.amazonaws.com/7.x/7.1.17/EXASOL_ODBC-7.1.17.tar.gz
curl -sSLO https://x-up.s3.amazonaws.com/7.x/7.1.17/EXAplus-7.1.17.tar.gz
sudo tar -xzf EXASOL_ODBC-7.1.17.tar.gz -C /opt/exasol --strip-components 1
sudo tar -xzf EXAplus-7.1.17.tar.gz -C /opt/exasol --strip-components 1

# The v8 CLIs aren't working because of a TLS error. If you get it working, be
# sure to change `odbcinst.ini`'s Exasol config to:
# Driver = /opt/exasol/lib/libexaodbc.so
#
# curl -sSLO https://x-up.s3.amazonaws.com/7.x/24.2.0/Exasol_ODBC-24.2.0-Linux_x86_64.tar.gz
# curl -sSLO https://x-up.s3.amazonaws.com/7.x/24.2.1/EXAplus-24.2.1.tar.gz
# sudo tar -xzf Exasol_ODBC-24.2.0-Linux_x86_64.tar.gz -C /opt/exasol --strip-components 2
# sudo tar -xzf EXAplus-24.2.1.tar.gz -C /opt/exasol --strip-components 2

# Add to the path.
if [[ ! -z "$GITHUB_PATH" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/exasol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ jobs:
env:
PERL5LIB: "${{ github.workspace }}/local/lib/perl5"
LIVE_EXASOL_REQUIRED: true
SQITCH_TEST_EXASOL_URI: db:exasol://sys:exasol@127.0.0.1:${{ job.services.exasol.ports[8563] }}/?Driver=Exasol;FINGERPRINT=NoCertCheck
SQITCH_TEST_EXASOL_URI: db:exasol://sys:exasol@127.0.0.1:${{ job.services.exasol.ports[8563] }}/?Driver=Exasol;SSLCERTIFICATE=SSL_VERIFY_NONE
run: prove -lvr t/exasol.t
4 changes: 2 additions & 2 deletions lib/sqitchtutorial-exasol.pod
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ L</Connection Configuration> for details):
+ appschema .. ok

(If you see an error resolving the TLS certificate, you can disable
certificate verification by adding C<&FINGERPRINT=NoCertCheck> to the end of
the URL. Only do this for testing!)
certificate verification by adding C<&SSLCERTIFICATE=SSL_VERIFY_NONE> to the
end of the URL. Only do this for testing!)

First Sqitch created registry tables used to track database changes. The
structure and name of the registry varies between databases (Exasol uses a
Expand Down
2 changes: 1 addition & 1 deletion t/odbc/odbcinst.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Exasol]
Description = ODBC for Exasol
Driver = /opt/exasol/lib/libexaodbc.so
Driver = /opt/exasol/lib/linux/x86_64/libexaodbc-uo2214lv2.so

[Vertica]
Description = ODBC for Vertica
Expand Down

0 comments on commit f39768b

Please # to comment.