Skip to content

Commit

Permalink
set -e on odbc install
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-rogers-dbt committed Oct 24, 2023
1 parent 42f2784 commit 4f11291
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "--------------------------------------------"
Expand Down

0 comments on commit 4f11291

Please sign in to comment.