fix: ci
Some checks failed
/ test (push) Successful in 54s
/ codestyle (push) Successful in 53s
/ build_wheel (push) Failing after 56s
/ build_debian (push) Failing after 1m0s

This commit is contained in:
s3lph 2023-12-17 23:56:59 +01:00
parent 9257b662ac
commit 05581cf104
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -53,11 +53,11 @@ jobs:
gzip -9n package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog gzip -9n package/debian/prometheus-tlsrpt-exporter/usr/share/doc/prometheus-tlsrpt-exporter/changelog
mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter mkdir -p package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter
cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/ cp -r templates/ package/debian/prometheus-tlsrpt-exporter/usr/share/prometheus-tlsrpt-exporter/templates/
python3 setup.py egg_info install --root=package/debian/prometheus-tlsrpt-exporter/ --prefix=/usr --optimize=1 python3 setup.py egg_info install --root=package/debian/prometheus-tlsrpt-exporter/ --prefix=/usr/local --optimize=1
cd package/debian cd package/debian
mkdir -p prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/ mkdir -p prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/
rsync -a prometheus-tlsrpt-exporter/usr/lib/python3.11/site-packages/ prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/ rsync -a prometheus-tlsrpt-exporter/usr/local/lib/python3.11/dist-packages/ prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages/
rm -rf prometheus-tlsrpt-exporter/usr/lib/python3.11/ rm -rf prometheus-tlsrpt-exporter/usr/local/lib/python3.11/
find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name __pycache__ -exec rm -r {} \; 2>/dev/null || true
find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \; find prometheus-tlsrpt-exporter/usr/lib/python3/dist-packages -name '*.pyc' -exec rm {} \;
sed -re 's$#!/usr/local/bin/python3$#!/usr/bin/python3$' -i prometheus-tlsrpt-exporter/usr/bin/prometheus-tlsrpt-exporter sed -re 's$#!/usr/local/bin/python3$#!/usr/bin/python3$' -i prometheus-tlsrpt-exporter/usr/bin/prometheus-tlsrpt-exporter