fix: ci
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
s3lph 2023-07-24 23:26:32 +02:00
parent 38fe3a49c1
commit 7ed679734f
Signed by: s3lph
GPG key ID: 0AA29A52FB33CFB5

View file

@ -23,9 +23,11 @@ pipeline:
group: package group: package
commands: commands:
- python3 setup.py egg_info bdist_wheel - python3 setup.py egg_info bdist_wheel
- mkdir -p publish - mkdir -p "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}"
- mv dist/*whl publish - mv dist/*whl publish
- sha256sum publish/*.whl >> publish/SHA256SUMS - cd "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}"
- sha256sum *.whl >> publish/SHA256SUMS
- cp *.whl ..
build_debian: build_debian:
image: python:3.11-bookworm image: python:3.11-bookworm
@ -59,10 +61,12 @@ pipeline:
- sed -re "s/__VERSION__/$${EXPORTER_VERSION}-1/g" -i prometheus-tlsrpt-exporter/DEBIAN/control - sed -re "s/__VERSION__/$${EXPORTER_VERSION}-1/g" -i prometheus-tlsrpt-exporter/DEBIAN/control
- dpkg-deb --build prometheus-tlsrpt-exporter - dpkg-deb --build prometheus-tlsrpt-exporter
- cd ../.. - cd ../..
- mkdir -p publish - mkdir -p "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}"
- mv package/debian/prometheus-tlsrpt-exporter.deb "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" - mv package/debian/prometheus-tlsrpt-exporter.deb "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb"
- sudo -u nobody lintian "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" || true - cd "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}"
- sha256sum "publish/prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" >> publish/SHA256SUMS - sudo -u nobody lintian "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" || true
- sha256sum "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" >> publish/SHA256SUMS
- cp "prometheus-tlsrpt-exporter_$${EXPORTER_VERSION}-1_all.deb" ..
upload: upload:
image: woodpeckerci/plugin-s3 image: woodpeckerci/plugin-s3