Merge branch 'optimise-job-request' into 'master'
Use cached size when passing artifacts to Runner See merge request gitlab-org/gitlab-ce!23228
This commit is contained in:
commit
2f3374be4c
2 changed files with 7 additions and 1 deletions
5
changelogs/unreleased/optimise-job-request.yml
Normal file
5
changelogs/unreleased/optimise-job-request.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Use cached size when passing artifacts to Runner
|
||||
merge_request:
|
||||
author:
|
||||
type: performance
|
|
@ -1142,7 +1142,8 @@ module API
|
|||
end
|
||||
|
||||
class JobArtifactFile < Grape::Entity
|
||||
expose :filename, :size
|
||||
expose :filename
|
||||
expose :cached_size, as: :size
|
||||
end
|
||||
|
||||
class JobArtifact < Grape::Entity
|
||||
|
|
Loading…
Reference in a new issue