Hi All,
Greenwave 2.0.0 has been finally released. 🎉
There have been some big changes this time around. I'm listing a few highlights first (see full list of changes at the end).
Greenwave and other gating services have migrated to GitHub (from Pagure) this enabled us to set up full tests, linting, safety checks and image builds on pull requests and code merges. See: https://github.com/release-engineering/greenwave
Container image is now based on ubi-8.5 and uses much more up-to-date dependencies from PyPI. GitHub helps us monitor and update dependencies which enables us to fix any vulnerabilities fast.
Metrics endpoint has been replaced by using a separate statsd instance. This allows us to retrieve stats from all OpenShift pods in a single place.
Changes
-
Prometheus metrics endpoint /api/v1.0/metrics has been *removed* because it did not work correctly with multiple Gunicorn web workers and threads. Use separate *statsd* service and set GREENWAVE_STATSD_HOST environment variable (format is <STATSD_SERVER>:<STATSD_PORT>). If the variable is empty or unset, metrics will not be sent. Statsd data are sent using non-blocking UDP so any connection issues are nonfatal. -
Multi-threaded workers in Gunicorn can be now enabled (smaller memory footprint). -
Added new STOMP message consumers. This *deprecates the old fedmsg consumers*. -
Application container image is much smaller (based on Red Hat Universal Base Image 8.5) containing more up-to-date dependencies from PyPI. *Virtual environment* under /venv *has to be activated* before running the application. This is handled automatically by the *entrypoint* script ( /src/docker/docker-entrypoint.sh). -
*Poetry* now manages the dependencies. -
Project has been *moved to GitHub*. -
GitHub Actions now run all tests including functional, linters, security scans and build/push container images. -
CA bundle file override support through CA_URL environment variable has been dropped due to potential security issues. OpenShift supports mounting the file to replace the system CA bundle.
Please report bugs at https://pagure.io/greenwave/issues.
Enjoy, Lukas
infrastructure@lists.fedoraproject.org