remove rpm based debugging stuff

fix/packing-ci
Nils Dijk 2023-11-10 15:00:14 +00:00
parent 2fe982d06c
commit a35702334a
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 0 additions and 12 deletions

View File

@ -2,17 +2,6 @@
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}
# 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
echo "Package type: ${package_type}"
echo "OS version: $(get_rpm_os_version)"
export PYTHONPATH=/
python3 -m tools.packaging_automation.validate_build_output --output_file output.log \