Sha256: e0e11de34bf97064303a2574d23016a96efdcc9f93d81efe29fae8442ea2ce9b
Contents?: true
Size: 1.56 KB
Versions: 11
Compression:
Stored size: 1.56 KB
Contents
# frozen_string_literal: true require 'orchestration' namespace :orchestration do desc I18n.t('orchestration.rake.install') task :install do Orchestration::InstallGenerator.start end namespace :install do desc I18n.t('orchestration.rake.install_makefile') task :makefile do Orchestration::InstallGenerator.new.orchestration_makefile end end namespace :app do desc I18n.t('orchestration.rake.app.wait') task :wait do Orchestration::Services::App::Healthcheck.start( nil, nil, config_path: ENV['config'], service_name: ENV['service'] ) end end namespace :database do desc I18n.t('orchestration.rake.database.wait') task :wait do Orchestration::Services::Database::Healthcheck.start( nil, nil, config_path: ENV['config'], service_name: ENV['service'] ) end end namespace :mongo do desc I18n.t('orchestration.rake.mongo.wait') task :wait do Orchestration::Services::Mongo::Healthcheck.start( nil, nil, config_path: ENV['config'], service_name: ENV['service'] ) end end namespace :rabbitmq do desc I18n.t('orchestration.rake.rabbitmq.wait') task :wait do Orchestration::Services::RabbitMQ::Healthcheck.start( nil, nil, config_path: ENV['config'], service_name: ENV['service'] ) end end namespace :listener do desc I18n.t('orchestration.rake.listener.wait') task :wait do Orchestration::Services::Listener::Healthcheck.start( nil, nil, service_name: ENV.fetch('service') ) end end end
Version data entries
11 entries across 11 versions & 1 rubygems