mirror of https://github.com/citusdata/citus.git
Adds debug codes
parent
f46b58ae27
commit
faa394d709
|
@ -1,6 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
set -eo
|
||||
|
||||
# Function to get the OS version
|
||||
get_os_version() {
|
||||
|
@ -28,6 +28,9 @@ pyenv activate packaging_env
|
|||
git clone -b error_add --depth=1 https://github.com/citusdata/tools.git tools
|
||||
python3 -m pip install -r tools/packaging_automation/requirements.txt
|
||||
|
||||
echo "Package type: ${package_type}"
|
||||
echo "OS version: $(get_os_version)"
|
||||
|
||||
# if os version is centos 7 or oracle linux 7, then remove urllib3 with pip uninstall and install urllib3<2.0.0 with pip install
|
||||
if [[ ${package_type} == "rpm" && $(get_os_version) == 7* ]]; then
|
||||
python3 -m pip uninstall -y urllib3
|
||||
|
|
Loading…
Reference in New Issue