Recent update to Code Deploy now breaking build (we made no changes)

0

So we are provisioning a new server for a new project to production, and two days ago we got everything working in production. We have not configured any scripts that cover actual code execution while building our project, but we did add our build script that covers getting a few environment installations in place (update the server, and install a package called yarn)

We have not made any adjustments to the build server yet, because we are not ready for it, but today when rolling out a new update our build server suddenly is crashing on a BASIC task of apt-get update -y

this makes absolutely NO sense from a developer stance, something has had to be done on the AWS side to cause this crash.

I have attached the full logs and our super basic buildspec.yml file of our build

Image
aws/codebuild/standard:4.0

Environment type
Linux

Compute
3 GB memory, 2 vCPUs

Privileged
False

Service role
(not relevant)

Timeout
1 hour 0 minutes

已提問 4 年前檢視次數 948 次
1 個回答
0

After further studying of how apt-get update is crashing on the AWS provided container for Nodejs, I saw that a key is expired for yarn

I contacted the package maintainer and he responded with the following:

Try refreshing your GPG key:
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -

so for anyone using the Nodejs container image, please make that your first script before running apt-get update

已回答 4 年前

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

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

回答問題指南