Skip to content

Commit

Permalink
Fix double load of stretchy.rake and add tasks for ml nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
esmarkowski committed Mar 29, 2024
1 parent 0f28a39 commit be9ba75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/stretchy/rails/tasks/stretchy.rake
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ require 'tty-spinner'
JUSTIFICATION = 90 unless defined?(JUSTIFICATION)

path = File.expand_path(__dir__)
Dir.glob("#{path}/tasks/*.rake").each { |f| import f }
Dir.glob("#{path}/tasks/**/*.rake").each { |f| import f }
namespace :stretchy do
desc "Create all indexes, pipelines and deploy all models"
task up: :environment do
Expand Down Expand Up @@ -34,4 +34,5 @@ namespace :stretchy do
puts Stretchy::MachineLearning::Model.ml_on_ml_nodes!
end


end

0 comments on commit be9ba75

Please sign in to comment.