Sha256: 8926959684f44fe5844d400fa96d965102099a82befed9dadeef2802b0170f96

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

# frozen_string_literal: true

module Datadog
  module Core
    module Git
      # Defines constants for Git tags
      module Ext
        TAG_BRANCH = 'git.branch'
        TAG_REPOSITORY_URL = 'git.repository_url'
        TAG_TAG = 'git.tag'

        TAG_COMMIT_AUTHOR_DATE = 'git.commit.author.date'
        TAG_COMMIT_AUTHOR_EMAIL = 'git.commit.author.email'
        TAG_COMMIT_AUTHOR_NAME = 'git.commit.author.name'
        TAG_COMMIT_COMMITTER_DATE = 'git.commit.committer.date'
        TAG_COMMIT_COMMITTER_EMAIL = 'git.commit.committer.email'
        TAG_COMMIT_COMMITTER_NAME = 'git.commit.committer.name'
        TAG_COMMIT_MESSAGE = 'git.commit.message'
        TAG_COMMIT_SHA = 'git.commit.sha'

        ENV_REPOSITORY_URL = 'DD_GIT_REPOSITORY_URL'
        ENV_COMMIT_SHA = 'DD_GIT_COMMIT_SHA'
        ENV_BRANCH = 'DD_GIT_BRANCH'
        ENV_TAG = 'DD_GIT_TAG'
        ENV_COMMIT_MESSAGE = 'DD_GIT_COMMIT_MESSAGE'
        ENV_COMMIT_AUTHOR_NAME = 'DD_GIT_COMMIT_AUTHOR_NAME'
        ENV_COMMIT_AUTHOR_EMAIL = 'DD_GIT_COMMIT_AUTHOR_EMAIL'
        ENV_COMMIT_AUTHOR_DATE = 'DD_GIT_COMMIT_AUTHOR_DATE'
        ENV_COMMIT_COMMITTER_NAME = 'DD_GIT_COMMIT_COMMITTER_NAME'
        ENV_COMMIT_COMMITTER_EMAIL = 'DD_GIT_COMMIT_COMMITTER_EMAIL'
        ENV_COMMIT_COMMITTER_DATE = 'DD_GIT_COMMIT_COMMITTER_DATE'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddtrace-1.14.0 lib/datadog/core/git/ext.rb
ddtrace-1.13.1 lib/datadog/core/git/ext.rb
ddtrace-1.13.0 lib/datadog/core/git/ext.rb