Sha256: 2f16fd5e8d080ce3f64a585f82de2aa9d7b55c8392d38e372ce58047551a1353
Contents?: true
Size: 833 Bytes
Versions: 31
Compression:
Stored size: 833 Bytes
Contents
require 'rake_factory' require 'docker' require_relative '../tasks' require_relative '../container' module RakeDocker module TaskSets class Container < RakeFactory::TaskSet prepend RakeFactory::Namespaceable parameter :container_name, required: true parameter :image, required: true parameter :ports parameter :environment parameter :ready_check parameter :reporter, default: RakeDocker::Container::PrintingReporter.new parameter :provision_task_name, default: :provision parameter :destroy_task_name, default: :destroy task Tasks::Provision, name: RakeFactory::DynamicValue.new { |ts| ts.provision_task_name } task Tasks::Destroy, name: RakeFactory::DynamicValue.new { |ts| ts.destroy_task_name } end end end
Version data entries
31 entries across 31 versions & 1 rubygems