Sha256: cc1c7a27e46d1b0e1eb230f551d8cfb707b7ad961d8527655c75373dd89cd9fe
Contents?: true
Size: 721 Bytes
Versions: 13
Compression:
Stored size: 721 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' module RakeCircleCI module Tasks module SSHKeys class Ensure < RakeFactory::Task default_name :ensure default_description(RakeFactory::DynamicValue.new do |t| 'Ensure SSH keys are configured on the ' \ "#{t.project_slug} project" end) 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
13 entries across 13 versions & 1 rubygems