Internship
[Gitlab-runner,CI/CD Issue] WARNING: Uploading artifacts as "archive" to coordinator... failed id= responseStatus=504 Gateway Time-out status=504 FATAL: invalid argument / Could not create cache adapter error=cache factory not found: factory for cache a..
JMcunst
2021. 8. 23. 13:13
728x90
반응형
이슈
1. 다음과 같이 gitlab CI/CD에서 build가 failed났다. log를 보니, artifact문제로 보인다.
WARNING: Uploading artifacts as "archive" to coordinator... failed id= responseStatus=504 Gateway Time-out status=504 token=
FATAL: invalid argument
2. 쿠버네티스에서 gitlab이 돌아가고 있는 pod의 log를 보았다.
Could not create cache adapter error=cache factory not found: factory for cache adapter "" was not registered
해결
1. Gitlab - setting - CI/CD : timeout 과 size를 늘려준다. default는 1h 과 100mb 이니, 그 이상으로 해준다.
2. [runners.cache] 를 지운다. s3면 runner.cache.s3.
3. EC2 등 용량이 full인지 확인한다. full 또는 거의 다 찼다면 용량을 늘린다.
728x90
반응형