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-3.0.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.18.2 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.18.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.18.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.17.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.16.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.15.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.14.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.13.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.12.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.11.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.10.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.10.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.9.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.8.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.7.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.6.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.5.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.4.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-2.3.0 lib/knapsack_pro/config/ci/cirrus_ci.rb