aws's People
aws's Issues
GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <[email protected]> E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
This is the error I have received while executing the AWS Code Pipeline. The pipeline was failing in the build stage of the AWS Code build.
aws/codebuild/standard:2.0
Reading package lists...
W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging [email protected]
E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
ย
[Container] 2021/03/03 07:39:36 Command did not exit successfully apt update exit status 100
[Container] 2021/03/03 07:39:36 Phase complete: INSTALL State: FAILED
[Container] 2021/03/03 07:39:36 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: apt update. Reason: exit status 100
As per the build logs, the error was in the Install stage, which was failing and the details is given as below
COMMAND_EXECUTION_ERROR: Error while executing command: apt update. Reason: exit status 100
The build fails at apt update .
I believe this is effecting Codebuild version 2.0, 3.0 and 5.0. AWS seems working on updating these images but I don't have any official communication if this issues has been fixed in the mentioned version of images.
As a workaround for the issue in CodeBuild standard image, please add the following command to your buildspec prior to any apt commands: 'curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -'. For Amazon Linux 2 images, add 'rpm --import https://dl.yarnpkg.com/rpm/pubkey.gpg'.
I have added below line( curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -) in my code before - apt update. This is on RHEL version 7
- npm install jsonlint -g
- npm install
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
- apt update
- pip install --upgrade awscli
- apt install jq
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.