chore: remove yabeda-rails

This commit is contained in:
Colin Darie 2024-08-19 11:01:54 +02:00
parent 4387077068
commit ea667d49ad
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 1 additions and 18 deletions

View file

@ -107,8 +107,6 @@ gem 'warden'
gem 'webrick', require: false gem 'webrick', require: false
gem 'yabeda-graphql' gem 'yabeda-graphql'
gem 'yabeda-prometheus' gem 'yabeda-prometheus'
gem 'yabeda-puma-plugin'
gem 'yabeda-rails'
gem 'yabeda-sidekiq' gem 'yabeda-sidekiq'
gem 'zipline' gem 'zipline'
gem 'zxcvbn-ruby', require: 'zxcvbn' gem 'zxcvbn-ruby', require: 'zxcvbn'

View file

@ -866,15 +866,6 @@ GEM
prometheus-client (>= 3.0, < 5.0) prometheus-client (>= 3.0, < 5.0)
rack rack
yabeda (~> 0.10) yabeda (~> 0.10)
yabeda-puma-plugin (0.7.1)
json
puma
yabeda (~> 0.5)
yabeda-rails (0.9.0)
activesupport
anyway_config (>= 1.3, < 3)
railties
yabeda (~> 0.8)
yabeda-sidekiq (0.12.0) yabeda-sidekiq (0.12.0)
anyway_config (>= 1.3, < 3) anyway_config (>= 1.3, < 3)
sidekiq sidekiq
@ -1037,8 +1028,6 @@ DEPENDENCIES
webrick webrick
yabeda-graphql yabeda-graphql
yabeda-prometheus yabeda-prometheus
yabeda-puma-plugin
yabeda-rails
yabeda-sidekiq yabeda-sidekiq
zipline zipline
zxcvbn-ruby zxcvbn-ruby

View file

@ -244,7 +244,7 @@ REDIS_SIDEKIQ_PASSWORD='sentinel_and_redis_password'
REDIS_SIDEKIQ_USERNAME='sentinel_and_redis_username' REDIS_SIDEKIQ_USERNAME='sentinel_and_redis_username'
# configuration for prometheus metrics web server on /metrics # configuration for prometheus metrics web server on /metrics
# launched with sidekiq and puma # launched with sidekiq
# adjust according to your prometheus probe, 127.0.0.1 or your local/admin net address # adjust according to your prometheus probe, 127.0.0.1 or your local/admin net address
# it's advised to avoid 0.0.0.0 or if you do, please configure ACL elsewhere (webserver, reverse proxy, ...) # it's advised to avoid 0.0.0.0 or if you do, please configure ACL elsewhere (webserver, reverse proxy, ...)
PROMETHEUS_EXPORTER_BIND="127.0.0.1" PROMETHEUS_EXPORTER_BIND="127.0.0.1"

View file

@ -1,3 +0,0 @@
if ENV['PROMETHEUS_EXPORTER_ENABLED'] == 'enabled' && !Sidekiq.server?
Prometheus::Client.config.data_store = Prometheus::Client::DataStores::DirectFileStore.new(dir: Rails.root.join('tmp', 'prometheus'))
end

View file

@ -45,4 +45,3 @@ end
plugin :tmp_restart plugin :tmp_restart
activate_control_app activate_control_app
plugin :yabeda