mirror of https://github.com/citusdata/citus.git
remove rpm based debugging stuff
parent
2fe982d06c
commit
a35702334a
|
@ -2,17 +2,6 @@
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
# Function to get the OS version
|
|
||||||
get_rpm_os_version() {
|
|
||||||
if [[ -f /etc/centos-release ]]; then
|
|
||||||
cat /etc/centos-release | awk '{print $4}'
|
|
||||||
elif [[ -f /etc/oracle-release ]]; then
|
|
||||||
cat /etc/oracle-release | awk '{print $5}'
|
|
||||||
else
|
|
||||||
echo "Unknown"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
package_type=${1}
|
package_type=${1}
|
||||||
|
|
||||||
# Since $HOME is set in GH_Actions as /github/home, pyenv fails to create virtualenvs.
|
# Since $HOME is set in GH_Actions as /github/home, pyenv fails to create virtualenvs.
|
||||||
|
@ -24,7 +13,6 @@ eval "$(pyenv init -)"
|
||||||
pyenv activate packaging_env
|
pyenv activate packaging_env
|
||||||
|
|
||||||
echo "Package type: ${package_type}"
|
echo "Package type: ${package_type}"
|
||||||
echo "OS version: $(get_rpm_os_version)"
|
|
||||||
|
|
||||||
export PYTHONPATH=/
|
export PYTHONPATH=/
|
||||||
python3 -m tools.packaging_automation.validate_build_output --output_file output.log \
|
python3 -m tools.packaging_automation.validate_build_output --output_file output.log \
|
||||||
|
|
Loading…
Reference in New Issue