Sha256: e05bfedfff54646614cb24ce0fcb7fc087560dfb6d6db19457353835e5a4109a
Contents?: true
Size: 698 Bytes
Versions: 8
Compression:
Stored size: 698 Bytes
Contents
require 'rake_factory' module RakeCircleCI module Tasks module CheckoutKeys class Ensure < RakeFactory::Task default_name :ensure default_description RakeFactory::DynamicValue.new { |t| 'Ensure checkout keys are configured on the ' + "#{t.project_slug} project" } parameter :project_slug, required: true parameter :provision_task_name, default: :provision parameter :destroy_task_name, default: :destroy action do |t, args| t.application[t.destroy_task_name, t.scope].invoke(*args) t.application[t.provision_task_name, t.scope].invoke(*args) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems