Skip to content

Commit

Permalink
Move initializer to dradis-plugins and improve cable.yml parity with pro
Browse files Browse the repository at this point in the history
  • Loading branch information
aapomm committed Apr 5, 2024
1 parent ac44e91 commit 18a4400
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 28 deletions.
2 changes: 0 additions & 2 deletions .do/deploy.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ spec:
- key: RAILS_SERVE_STATIC_FILES
value: enabled
scope: RUN_TIME
- key: HEROKU_DEBUG_RAILS_RUNNER
value: '1'
git:
branch: fix-heroku-1-click
repo_clone_url: https://github.com/dradis/dradis-ce.git
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ end
#

# Base framework classes required by other plugins
gem 'dradis-plugins', github: 'dradis/dradis-plugins', branch: 'fix/template-caching'
gem 'dradis-plugins', github: 'dradis/dradis-plugins', branch: 'do/add-preprovision-db'

gem 'dradis-api', path: 'engines/dradis-api'

Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/dradis/dradis-plugins.git
revision: e69d1f42c85f647662307019b8b492152a5c3c29
branch: fix/template-caching
revision: 3d7ab379ee8c12c22020746222d4998e128f2c17
branch: do/add-preprovision-db
specs:
dradis-plugins (4.11.0)

Expand Down
7 changes: 5 additions & 2 deletions config/cable.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
development:
adapter: async
adapter: <%= defined?(Dradis::Pro) ? 'redis' : 'async' %>
url: <%= ENV.fetch('REDIS_URL') { 'redis://localhost:6379/1' } %>

test:
adapter: test

production:
adapter: async
adapter: <%= defined?(Dradis::Pro) ? 'redis' : 'async' %>
url: <%= ENV.fetch('REDIS_URL') { 'redis://localhost:6379/1' } %>
channel_prefix: dradispro_production
21 changes: 0 additions & 21 deletions config/initializers/_preprovision_database.rb

This file was deleted.

0 comments on commit 18a4400

Please sign in to comment.