Sha256: 47ff515fa3892bed8f67947f185518e5fe76646fd92e079c1fd753528ebe2a26

Contents?: true

Size: 713 Bytes

Versions: 78

Compression:

Stored size: 713 Bytes

Contents

# Tasks
namespace :foreman_remote_execution do
  namespace :example do
    desc 'Example Task'
    task task: :environment do
      # Task goes here
    end
  end
end

# Tests
namespace :test do
  desc 'Test ForemanRemoteExecution'
  Rake::TestTask.new(:foreman_remote_execution => ['db:test:prepare']) do |t|
    test_dir = File.join(File.dirname(__FILE__), '../..', 'test')
    t.libs << ['test', test_dir]
    t.pattern = "#{test_dir}/**/*_test.rb"
    t.verbose = true
    t.warning = false
  end
end

Rake::Task[:test].enhance ['test:foreman_remote_execution']

load 'tasks/jenkins.rake'
if Rake::Task.task_defined?(:'jenkins:unit')
  Rake::Task['jenkins:unit'].enhance ['test:foreman_remote_execution']
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
foreman_remote_execution-5.0.3 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-6.0.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-5.0.2 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-5.1.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-5.0.1 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-5.0.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.8.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.6 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.5 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.4 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.7.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.3 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.2 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.1 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.6.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.5.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.4.0 lib/tasks/foreman_remote_execution_tasks.rake
foreman_remote_execution-4.3.1 lib/tasks/foreman_remote_execution_tasks.rake