"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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南