LANGUAGE/!$%!% ERROR NOTE 2019. 12. 23. 14:39

GitLab-Runner

1. Error - 오류

  • CI Log에서 다음과 같은 오류가 발생했다.

      > Uploading artifacts...
      /builds/some_group/some_project/some_module/build/libs/*.war: found 1 matching files 
      ERROR: Uploading artifacts to coordinator... too large archive  id=155 responseStatus=413 Request Entity Too Large status=413 Request Entity Too Large token=BKthjEcL
      FATAL: too large                                   
      ERROR: Job failed: exit code 1

2. Problem - 문제

Artifact 기본 최대용량이 100MB로 설정되어있기 때문이다.

3. Solved - 해결

    1. Artifact 최대 용량 변경 (늘리기)
      • GitLab의 Admin Account(관리자계정)으로 접속하여 Admin Page으로 이동해야한다.
      • 관리자계정???.. 생각이 안난다면 ==> https://forgiveall.tistory.com/552 의 3번을 참조하자
    1. GitLab Web페이지에서 관리자계정으로 접속한 후 [Admin Area] > [CI/CD] 으로 이동한다.
      • URL로 접근한다면 ==> {URL_TO_GITLAB}/admin/application_settings/ci_cd#js-ci-cd-settings
      • Maximum artifacts size (MB)
        • 기본값이 100MB로 설정되어있었다. 수치를 변경하면 된다.

4. Reference - 참고