Skip to content

Commit

Permalink
remove rpm based debugging stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
thanodnl committed Nov 10, 2023
1 parent 2fe982d commit a357023
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/packaging/validate_build_output.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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 \
Expand Down

0 comments on commit a357023

Please sign in to comment.