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-2.2.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-2.2.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-2.1.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-2.1.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-2.0.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.22.3 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.22.2 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.22.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.22.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.21.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.20.2 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.20.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.20.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.19.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.18.2 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.18.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.18.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.17.0 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.16.1 lib/knapsack_pro/config/ci/codefresh.rb
knapsack_pro-1.16.0 lib/knapsack_pro/config/ci/codefresh.rb