Sha256: 4125a9ceafe07e81d20ab853062f1ac8c4045a8d40ae8c120e783b9c18814201

Contents?: true

Size: 522 Bytes

Versions: 83

Compression:

Stored size: 522 Bytes

Contents

module KnapsackPro
  module Config
    module CI
      class CirrusCI < Base
        def node_total
          ENV['CI_NODE_TOTAL']
        end

        def node_index
          ENV['CI_NODE_INDEX']
        end

        def node_build_id
          ENV['CIRRUS_BUILD_ID']
        end

        def commit_hash
          ENV['CIRRUS_CHANGE_IN_REPO']
        end

        def branch
          ENV['CIRRUS_BRANCH']
        end

        def project_dir
          ENV['CIRRUS_WORKING_DIR']
        end
      end
    end
  end
end

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
knapsack_pro-1.0.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-0.57.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-0.56.0 lib/knapsack_pro/config/ci/cirrus_ci.rb