Skip to content

Commit

Permalink
Remove whenever gem and unneeded cron stuff (#1081)
Browse files Browse the repository at this point in the history
* Remove whenever gem and unused file

* remove cron and schedule.rb
  • Loading branch information
ryan-mcneil authored Apr 5, 2024
1 parent cfd9796 commit b3e881a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 28 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SHELL ["/bin/bash", "-c"]
RUN groupadd -g $userid -r gi-bill-data-service && \
useradd -u $userid -r -g gi-bill-data-service -d /srv/gi-bill-data-service gi-bill-data-service
RUN apt-get update -qq && apt-get install -y \
build-essential git curl wget libpq-dev dumb-init shared-mime-info nodejs cron
build-essential git curl wget libpq-dev dumb-init shared-mime-info nodejs

RUN mkdir -p /srv/gi-bill-data-service/src && \
chown -R gi-bill-data-service:gi-bill-data-service /srv/gi-bill-data-service
Expand Down Expand Up @@ -47,7 +47,6 @@ COPY --chown=gi-bill-data-service:gi-bill-data-service . .
USER gi-bill-data-service
RUN gem install bundler --no-document -v ${BUNDLER_VERSION}
RUN bundle install --binstubs="${BUNDLE_APP_CONFIG}/bin" $bundler_opts && find ${BUNDLE_APP_CONFIG}/cache -type f -name \*.gem -delete
RUN bundle exec whenever --update-crontab
ENV PATH="/usr/local/bundle/bin:${PATH}"

###
Expand Down
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ gem 'rails-html-sanitizer', '>= 1.4.4'
gem 'ruby-saml'
gem 'sitemap_generator'
gem 'strong_migrations'
gem 'whenever', require: false
gem 'will_paginate'

group :production do
Expand Down
4 changes: 0 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ GEM
case_transform (0.2)
activesupport
cgi (0.4.1)
chronic (0.10.2)
coderay (1.1.3)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
Expand Down Expand Up @@ -447,8 +446,6 @@ GEM
websocket-driver (0.7.6)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
whenever (1.0.0)
chronic (>= 0.6.3)
will_paginate (4.0.0)
xpath (3.2.0)
nokogiri (~> 1.8)
Expand Down Expand Up @@ -522,7 +519,6 @@ DEPENDENCIES
virtus (~> 2.0.0)
watir (~> 7.3)
web-console (~> 4.2)
whenever
will_paginate

RUBY VERSION
Expand Down
21 changes: 0 additions & 21 deletions config/schedule.rb

This file was deleted.

0 comments on commit b3e881a

Please sign in to comment.