-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump rack and webrick versions #108
Conversation
This prevents upgrades in upstream gems
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bin/que
needs updating to use the new Rack 3.x API
Lines 153 to 159 in 03ecfdc
Rack::Handler::WEBrick.run( | |
app, | |
Host: "0.0.0.0", | |
Port: options.metrics_port, | |
Logger: WEBrick::Log.new("/dev/null"), | |
AccessLog: [], | |
) |
Needs to look more like the Rack 3.x branch of this: https://github.com/gocardless/gc-pubsub-consumer/blob/a31844ec04d31f20ccc1aa5b597c5f5c61898607/lib/gc_pubsub_consumer/metrics_exposer.rb#L54-L70
This also suggests we're not testing that |
We were also missing some dependencies so these have been added too.
We can load it for CI but for the benchmarking step we push a docker image which can't be built without adding the token in. As this is a public repo I'm not sure we want to add it in.
We need to establish a connection to the database manually
This should all be addressed now, bit of a pain but we now run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing that! Don't think it needed to maintain 2.x compatibility, but can't hurt :)
This prevents upgrades in upstream gems so isn't ideal