如何增加本地 Gitlab 的最大工件大小 [英] How to increase maximum artifacts size for Gitlab on-premises

查看:38
本文介绍了如何增加本地 Gitlab 的最大工件大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已经在本地安装了 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?

推荐答案

找到https://gitlab.com/gitlab-org/gitlab-runner/issues/2584.它建议在 Gitlab 的本地实例上增加最大工件大小.以下是对我有用的步骤:

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:

  1. 点击管理区域(Gitlab 本地屏幕顶部)
  2. 点击设置

  1. Click Admin Area (top of Gitlab on-prem screen)
  2. Click Settings

  1. 假设本地实例托管在 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屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆