Skip to content

Commit

Permalink
Add mission_control-jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
goulvench committed Feb 17, 2025
1 parent 224958d commit 14a9fa0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ gem "tzinfo-data", platforms: [:windows, :jruby]
gem "solid_cache"
gem "solid_queue"
gem "solid_cable"
# Add a web interface to control jobs
gem "mission_control-jobs", "~> 1.0"

# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", require: false
Expand Down Expand Up @@ -97,3 +99,4 @@ group :test do
gem "axe-core-rspec", "~> 4.8"
gem "selenium-webdriver", "~> 4.27"
end

11 changes: 11 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,16 @@ GEM
mini_mime (1.1.5)
mini_portile2 (2.8.8)
minitest (5.25.4)
mission_control-jobs (1.0.2)
actioncable (>= 7.1)
actionpack (>= 7.1)
activejob (>= 7.1)
activerecord (>= 7.1)
importmap-rails (>= 1.2.1)
irb (~> 1.13)
railties (>= 7.1)
stimulus-rails
turbo-rails
msgpack (1.8.0)
multi_test (1.1.0)
nenv (0.3.0)
Expand Down Expand Up @@ -568,6 +578,7 @@ DEPENDENCIES
guard-cucumber
guard-rspec
importmap-rails
mission_control-jobs (~> 1.0)
pagy
pg (~> 1.1)
propshaft
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
end

# Operational URLs
mount MissionControl::Jobs::Engine, at: "/jobs"
# Reveal health status on /up that returns 200 if the app boots with no exceptions, otherwise 500.
# Can be used by load balancers and uptime monitors to verify that the app is live.
get "up" => "rails/health#show", as: :rails_health_check
Expand Down

0 comments on commit 14a9fa0

Please sign in to comment.