Sha256: a37f61ef797768fdf22f461b7be623c97428e22ceb969448a605e9d09e37c92f

Contents?: true

Size: 1.57 KB

Versions: 207

Compression:

Stored size: 1.57 KB

Contents

module Fastlane
  module Actions
    class SetupCircleCiAction < Action
      def self.run(params)
        other_action.setup_ci(provider: "circleci", force: params[:force])
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Setup the keychain and match to work with CircleCI"
      end

      def self.details
        list = <<-LIST.markdown_list(true)
          Creates a new temporary keychain for use with match
          Switches match to `readonly` mode to not create new profiles/cert on CI
          Sets up log and test result paths to be easily collectible
        LIST

        [
          list,
          "This action helps with CircleCI integration. Add this to the top of your Fastfile if you use CircleCI."
        ].join("\n")
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :force,
                                       env_name: "FL_SETUP_CIRCLECI_FORCE",
                                       description: "Force setup, even if not executed by CircleCI",
                                       is_string: false,
                                       default_value: false)
        ]
      end

      def self.authors
        ["dantoml"]
      end

      def self.is_supported?(platform)
        [:ios, :mac].include?(platform)
      end

      def self.example_code
        [
          'setup_circle_ci'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

207 entries across 207 versions & 2 rubygems

Version Path
fastlane-2.150.3 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.2 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.1 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc7 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc6 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc5 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc4 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc3 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc2 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.150.0.rc1 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.149.1 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.149.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.148.1 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.148.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.147.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.146.1 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.146.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.145.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb
fastlane-2.144.0 fastlane/lib/fastlane/actions/setup_circle_ci.rb