diff --git a/.github/ubuntu/exasol.sh b/.github/ubuntu/exasol.sh index ca70165d5..5d037aadf 100755 --- a/.github/ubuntu/exasol.sh +++ b/.github/ubuntu/exasol.sh @@ -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 diff --git a/.github/workflows/exasol.yml b/.github/workflows/exasol.yml index 4a4489623..3f136ceee 100644 --- a/.github/workflows/exasol.yml +++ b/.github/workflows/exasol.yml @@ -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 diff --git a/lib/sqitchtutorial-exasol.pod b/lib/sqitchtutorial-exasol.pod index 3e2cbe1be..c43ef4d87 100644 --- a/lib/sqitchtutorial-exasol.pod +++ b/lib/sqitchtutorial-exasol.pod @@ -218,8 +218,8 @@ L 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 diff --git a/t/odbc/odbcinst.ini b/t/odbc/odbcinst.ini index fa2eed806..ff2c86e74 100644 --- a/t/odbc/odbcinst.ini +++ b/t/odbc/odbcinst.ini @@ -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