Skip to content

Bump Puma to 5.3.2

To resolve a CVE we need to bump Puma to 5.3.1+

https://gitlab.com/gitlab-org/gitlab-exporter/-/issues/80

Changelog: https://github.com/puma/puma/blob/master/History.md#532--2021-05-21

Did a quick smoke test:

[8:42:28] work/gitlab-exporter-private::mk-puma-5.3 ✔ bin/gitlab-exporter web -c config/gitlab-exporter.yml.example
== Sinatra (v2.0.8.1) has taken the stage on 9168 for development with backup from Puma
Puma starting in single mode...
* Puma version: 5.3.2 (ruby 2.7.2-p137) ("Sweetnighter")
*  Min threads: 0
*  Max threads: 5
*  Environment: development
*          PID: 14722
* Listening on http://0.0.0.0:9168
Use Ctrl-C to stop
[8:42:45] work/gitlab-exporter-private::mk-puma-5.3 ✔ curl localhost:9168/metrics
process_count{name="sidekiq"} 0
process_count{name="unicorn"} 0
process_count{name="git_upload_pack"} 0
ruby_gc_stat_count 32
ruby_gc_stat_heap_allocated_pages 266
ruby_gc_stat_heap_sorted_length 266
ruby_gc_stat_heap_allocatable_pages 0
ruby_gc_stat_heap_available_slots 108415
ruby_gc_stat_heap_live_slots 107738
...

Edited by Matthias Käppler

Merge request reports