pulibrary / bibdata

Local API for retrieving bibliographic and other useful data from Alma (Ruby 3.2.0, Rails 7.1.3.4)
BSD 2-Clause "Simplified" License
16 stars 7 forks source link

Add Capistrano task to remove application from the load balancer #2546

Closed maxkadel closed 2 weeks ago

maxkadel commented 3 weeks ago

Acceptance Criteria

Technical Implementation

Add a health monitor that looks at a file on disk and reports a failure if it exists, so that nginx will fail its health check and pull it out.

Example PR: https://github.com/pulibrary/pdc_describe/pull/1985/files

We're really hoping https://github.com/lbeder/health-monitor-rails/pull/127 will get merged.

First Step

Update the health-monitor-rails gem so it has the new check.