Sha256: 75b0726a348a59c98e4fd0e3b50d66b65b8a99665b3af4bdb6603deed7370d8e
Contents?: true
Size: 747 Bytes
Versions: 13
Compression:
Stored size: 747 Bytes
Contents
# frozen_string_literal: true require 'rake_factory' module RakeCircleCI module Tasks module EnvironmentVariables class Ensure < RakeFactory::Task default_name :ensure default_description(RakeFactory::DynamicValue.new do |t| 'Ensure environment variables 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