From 4f11291045081be0c2975772475b917ee24e4173 Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 24 Oct 2023 15:13:07 -0700 Subject: [PATCH] set -e on odbc install --- .github/workflows/integration.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 235fb49e2..92794b427 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -248,12 +248,12 @@ jobs: curl -OL "https://databricks.com/wp-content/uploads/drivers-2020/SimbaSparkODBC-2.6.16.1019-Debian-64bit.zip" \ - unzip SimbaSparkODBC-2.6.16.1019-Debian-64bit.zip -d /tmp/ \ - && sudo dpkg -i /tmp/SimbaSparkODBC-*/*.deb \ - && sudo echo "[ODBC Data Sources]\nSimba=Databricks ODBC Connector" >> /etc/odbc.ini \ - && sudo echo "[Simba]\nDriver = /opt/simba/spark/lib/64/libsparkodbc_sb64.so" >> /etc/odbcinst.ini \ - && rm -rf /tmp \ - && sudo dpkg -l | grep Simba # confirm that the driver is installed + unzip SimbaSparkODBC-2.6.16.1019-Debian-64bit.zip -d /tmp/ + sudo dpkg -i /tmp/SimbaSparkODBC-*/*.deb \ + echo "--------------------------------------------" + sudo echo "[Simba]\nDriver = /opt/simba/spark/lib/64/libsparkodbc_sb64.so" >> /etc/odbcinst.ini \ + rm -rf /tmp \ + sudo dpkg -l | grep Simba # confirm that the driver is installed sudo ldd /opt/simba/spark/lib/64/libsparkodbc_sb64.so echo "--------------------------------------------"