Skip to content

Commit a564a25

Browse files
Axel von Bertoldibalasankarc
andcommitted
Merge branch 'bump-pulp-upload-chunk-size' into 'main'
Use chunk size of 10MB for pulp uploads See merge request https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/6078 Merged-by: Axel von Bertoldi <avonbertoldi@gitlab.com> Approved-by: Axel von Bertoldi <avonbertoldi@gitlab.com> Co-authored-by: Balasankar "Balu" C <balasankar@gitlab.com>
2 parents 15b7bfd + dd91bf3 commit a564a25

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

magefiles/pulp/push.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ func (p *debPusher) pushArgs(release, pkg string) []string {
148148
"--distribution", strings.Split(release, "/")[1],
149149
"--component", "main",
150150
"--repository", pulpRepo,
151+
"--chunk-size", "10MB",
151152
}
152153
}
153154

@@ -198,7 +199,7 @@ func (p *rpmPusher) pulpRepo(release, arch string) string {
198199
}
199200

200201
func (p *rpmPusher) pushArgs(pkgFile, repo string) []string {
201-
return []string{rpm, "content", "upload", "--file", pkgFile, "--repository", repo}
202+
return []string{rpm, "content", "upload", "--file", pkgFile, "--repository", repo, "--chunk-size", "10MB"}
202203
}
203204

204205
func (p *rpmPusher) linkArgs(repo, href string) []string {

0 commit comments

Comments
 (0)