debian-mirror-gitlab/lib/gitlab/data_builder/archive_trace.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
383 B
Ruby
Raw Normal View History

2022-03-02 08:16:31 +05:30
# frozen_string_literal: true
module Gitlab
module DataBuilder
module ArchiveTrace
extend self
def build(job)
{
object_kind: 'archive_trace',
trace_url: job.job_artifacts_trace.file.url,
build_id: job.id,
pipeline_id: job.pipeline_id,
project: job.project.hook_attrs
}
end
end
end
end