Sha256: a50c9042060a2dd207b4f3b9076673be66ba93d2009d9f68eb7451771f581da4
Contents?: true
Size: 737 Bytes
Versions: 7
Compression:
Stored size: 737 Bytes
Contents
require 'rake_factory' require 'docker' require_relative '../tasks' 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 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
7 entries across 7 versions & 1 rubygems