Sha256: 124910b5a1e9534651b4927ec5e81ea41346832e71116563ff84f3257b6df49b
Contents?: true
Size: 1018 Bytes
Versions: 13
Compression:
Stored size: 1018 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' require_relative '../tasks' module RakeCircleCI module TaskSets class CheckoutKeys < RakeFactory::TaskSet prepend RakeFactory::Namespaceable parameter :project_slug, required: true parameter :api_token, required: true parameter :base_url, default: 'https://circleci.com/api' parameter :checkout_keys, default: [] parameter :destroy_task_name, default: :destroy parameter :provision_task_name, default: :provision parameter :ensure_task_name, default: :ensure task Tasks::CheckoutKeys::Provision, name: RakeFactory::DynamicValue.new { |ts| ts.provision_task_name } task Tasks::CheckoutKeys::Destroy, name: RakeFactory::DynamicValue.new { |ts| ts.destroy_task_name } task Tasks::CheckoutKeys::Ensure, name: RakeFactory::DynamicValue.new { |ts| ts.ensure_task_name } end end end
Version data entries
13 entries across 13 versions & 1 rubygems