Sha256: c61ee0477214a676f8cecbdc030b0a8d67213ecfcc323015cd60f4ca51db1870

Contents?: true

Size: 567 Bytes

Versions: 61

Compression:

Stored size: 567 Bytes

Contents

# https://codefresh.io/docs/docs/codefresh-yaml/variables/#system-provided-variables
module KnapsackPro
  module Config
    module CI
      class Codefresh < Base
        def node_total
          # not provided
        end

        def node_index
          # not provided
        end

        def node_build_id
          ENV['CF_BUILD_ID']
        end

        def commit_hash
          ENV['CF_REVISION']
        end

        def branch
          ENV['CF_BRANCH']
        end

        def project_dir
          # not provided
        end
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
knapsack_pro-4.1.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-4.0.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.11.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.10.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.9.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.8.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.7.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.6.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.5.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.4.2 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.4.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.4.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.3.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.3.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.2.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.2.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.1.3 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.1.2 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.1.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-3.1.0 lib/knapsack_pro/config/ci/codefresh.rb