"free tier" account's CodeBuild stops after 45min

0

I am on a "free tier" AWS account, and I'm attempting to use CodeBuild for an openWRT CI build. The source code is extracted from bitbucket just fine, and openWRT system requirements are also loaded according to the buildspec.yml, and the openWRT build seems to start and get underway correctly without errors. However the build always fails due to a timeout after 45min and 20 or so seconds.

I have edited the build environment to set the timeout to 4 hours, as well as the associated service role's maximum session duration to 4 hours. I have saved these values, and they appear set when I review the settings. However after these values are set and confirmed, when the build is attempted it fails due to timeout at the 45 min mark! I then review the "build details" of the failed build and the environment setting in this window shows the timeout as 45m! Somehow the build timeout I set is being overridden, is there a way to correct this?

질문됨 2년 전1217회 조회
1개 답변
0

I understand that your CodeBuild build operations fail due to a 45 minute timeout, this is despite the fact that when creating the CodeBuild project, you set the build timeout to be 4 hours. CodeBuild sets a default build timeout limit of 45 minutes on new accounts. Normally, the way to increase your build timeout limit is to continue using AWS services regularly. If you have access to AWS support, you could open a ticket.

profile pictureAWS
전문가
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠