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