본문 바로가기
error

[GCP] cloud build retrying in n seconds

by 5ON 2021. 12. 24.

Docker image를 cloud build하는 도중 아래와 같은 재시도 무한루프가 재현

"cloud build retrying in <n> seconds"

 

Cloud Storage는 실패한 요청에 대해 재시도 전략을 사용한다.

 

해결 1.

build parameter가 올바른지 확인

-> 재시도 로그 및 에러 메시지에 오류가 있을 것이다. 내 경우에는 PROJECT_ID을 파라미터로 넘겨야 하는데,  PROJECT_NAME을 파라미터로 넘겼다.

 

참고

https://cloud.google.com/storage/docs/retry-strategy