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-4.1.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-4.0.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.11.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.10.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.9.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.8.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.7.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.6.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.5.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.4.2 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.4.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.4.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.3.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.3.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.2.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.2.0 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.1.3 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.1.2 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.1.1 lib/knapsack_pro/config/ci/cirrus_ci.rb
knapsack_pro-3.1.0 lib/knapsack_pro/config/ci/cirrus_ci.rb