Sha256: fbeac4152d49e0e8b9d11c70e667b169261aa2de31b910d241e25b3e041133de

Contents?: true

Size: 1.45 KB

Versions: 3

Compression:

Stored size: 1.45 KB

Contents

module Datadog
  module CI
    module Ext
      module Environment
        module Providers
          class Base
            attr_reader env: Hash[String, String?]
            @branch: String?
            @tag: String?

            def initialize: (Hash[String, String?] env) -> void

            def job_name: () -> nil

            def job_url: () -> nil

            def pipeline_id: () -> nil

            def pipeline_name: () -> nil

            def pipeline_number: () -> nil

            def pipeline_url: () -> nil

            def provider_name: () -> nil

            def stage_name: () -> nil

            def workspace_path: () -> nil

            def node_labels: () -> nil

            def node_name: () -> nil

            def ci_env_vars: () -> nil

            def git_branch: () -> String?

            def git_repository_url: () -> nil

            def git_tag: () -> String?

            def git_branch_or_tag: () -> nil

            def git_commit_author_date: () -> nil

            def git_commit_author_email: () -> nil

            def git_commit_author_name: () -> nil

            def git_commit_committer_date: () -> nil

            def git_commit_committer_email: () -> nil

            def git_commit_committer_name: () -> nil

            def git_commit_message: () -> nil

            def git_commit_sha: () -> nil

            private

            def set_branch_and_tag: () -> [String?, String?]
          end
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datadog-ci-0.2.0 sig/datadog/ci/ext/environment/providers/base.rbs
datadog-ci-0.1.1 sig/datadog/ci/ext/environment/providers/base.rbs
datadog-ci-0.1.0 sig/datadog/ci/ext/environment/providers/base.rbs