如何增加本地Gitlab的最大工件大小 [英] How to increase maximum artifacts size for Gitlab on-premises
问题描述
我们已经在本地安装了Gitlab,但是其他人进行了安装,因此我对配置运行器等不甚了解.管道由于以下错误而失败:
We've installed Gitlab on-premises, however someone else did the installation so I don't know as much about configuring the runners, etc. A pipeline failed due to the following error:
Uploading artifacts...
app/build/outputs/apk/debug/app-debug.apk: found 1 matching files
app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk: found 1 matching files
ERROR: Uploading artifacts to coordinator... too large archive id=13832 responseStatus=413 Request Entity Too Large status=413 Request Entity Too Large token=fCysmH9H
FATAL: Too large
ERROR: Job failed: exit code 1
我在哪里/如何配置允许的工件大小?
Where/how do I configure the allowable artifact size?
推荐答案
I was able to solve my problem after finding https://gitlab.com/gitlab-org/gitlab-runner/issues/2584. It suggests increasing maximum artifacts size on the on-prem instance of Gitlab. Here are the steps that worked for me:
- 单击管理区域"(Gitlab本地屏幕的顶部)
-
点击设置
- Click Admin Area (top of Gitlab on-prem screen)
Click Settings
- 假设本地实例托管在gitlab.MYCOMPANY.com上,则直接链接为:
https://gitlab.MYCOMPANY.com/admin/application_settings/ci_cd
展开持续集成和部署"
Expand "Continuous Integration and Deployment"
这是假设您的登录凭据允许您查看管理区域".
This assumes your login credentials allow you to see the Admin Area.
这篇关于如何增加本地Gitlab的最大工件大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!