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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则