Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git_info.rb « job_request « ci « entities « api « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 872c896b87040bb3d4f7f9a12494b2556d4eeccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module API
  module Entities
    module Ci
      module JobRequest
        class GitInfo < Grape::Entity
          expose :repo_url, :ref, :sha, :before_sha
          expose :ref_type
          expose :refspecs
          expose :git_depth, as: :depth
        end
      end
    end
  end
end