Sha256: 3fd792cc5346224c8e60c9f773894500494d61d74702779a9b781d39092bdf30
Contents?: true
Size: 842 Bytes
Versions: 23
Compression:
Stored size: 842 Bytes
Contents
# frozen_string_literal: true module KnapsackPro module Config module CI class Heroku < Base def node_total ENV['CI_NODE_TOTAL'] end def node_index ENV['CI_NODE_INDEX'] end def node_build_id ENV['HEROKU_TEST_RUN_ID'] end def commit_hash ENV['HEROKU_TEST_RUN_COMMIT_VERSION'] end def branch ENV['HEROKU_TEST_RUN_BRANCH'] end def project_dir '/app' if node_build_id end def user_seat # not provided end def detected ENV.key?('HEROKU_TEST_RUN_ID') ? self.class : nil end def fixed_queue_split false end def ci_provider "Heroku CI" end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems