Skip to content

Commit

Permalink
fix: oracle install script
Browse files Browse the repository at this point in the history
  • Loading branch information
fspot committed Jan 16, 2024
1 parent 0fe10cf commit 9aff39c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog (Pypi package)

## [3.23.24] 2024-01-16

### Fixed

- Install scripts: fix oracle install script by replacing gdown.pl with wget

## [3.23.23] 2023-12-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ multi_line_output = 3

[tool.poetry]
name = "toucan-connectors"
version = "3.23.23"
version = "3.23.24"
description = "Toucan Toco Connectors"
authors = ["Toucan Toco <[email protected]>"]
license = "BSD"
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sonar.organization=toucantoco

# This is the name and version displayed in the SonarCloud UI.
sonar.projectName=Toucan Connectors
sonar.projectVersion=3.23.23
sonar.projectVersion=3.23.24
sonar.python.version=3.10

# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
Expand Down
6 changes: 2 additions & 4 deletions toucan_connectors/install_scripts/oracle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ fi
apt-get update
apt-get install -fyq libaio1 curl wget unzip
mkdir -p /opt/oracle
curl -s 'https://public-package.toucantoco.com/connectors_sources/gdown/gdown.pl' -o /tmp/gdown.pl
chmod +x /tmp/gdown.pl
/tmp/gdown.pl 'https://public-package.toucantoco.com/connectors_sources/oracle/oracle_client_lib/oracle_client_lib.zip' '/tmp/oracle_client_lib.zip'
wget 'https://public-package.toucantoco.com/connectors_sources/oracle/oracle_client_lib/instantclient-basiclite-linux.x64-12.2.0.1.0.zip' -O '/tmp/oracle_client_lib.zip'
unzip /tmp/oracle_client_lib.zip -d /opt/oracle
sh -c "echo /opt/oracle/instantclient_12_2 > /etc/ld.so.conf.d/oracle-instantclient.conf"
ldconfig
rm -rf /tmp/gdown.pl /tmp/oracle_client_lib.zip
rm -rf /tmp/oracle_client_lib.zip

touch ~/oracle-installed

0 comments on commit 9aff39c

Please sign in to comment.