cypress-docker-images
cypress-docker-images copied to clipboard
yarn 1.22.22 fails in cypress/factory
Attempted to upgrade yarn from 1.22.19 -> 1.22.22 and encountered this error
11:28:41 4.005 gpg: key 1646B01B86E50310: public key "Yarn Packaging <[email protected]>" imported
11:28:41 4.010 gpg: Total number processed: 1
11:28:41 4.010 gpg: imported: 1
11:28:41 4.010 + curl -fsSLO --compressed https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz
11:28:41 4.581 + curl -fsSLO --compressed https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz.asc
11:28:41 4.901 curl: (22) The requested URL returned error: 404
11:28:41 4.905 child process exited with code 22
This url doesn't appear to exist https://yarnpkg.com/downloads/1.22.22/yarn-v1.22.22.tar.gz.asc causing it to exit
Same, related issue is here https://github.com/yarnpkg/yarn/issues/9035
Is this error related to that too?
+ curl -fsSLO --compressed https://nodejs.org/dist/v20.13.0/node-v20.13.0-linux-x64.tar.xz
+ curl -fsSLO --compressed https://nodejs.org/dist/v20.13.0/SHASUMS256.txt.asc
+ gpg --batch --decrypt --output SHASUMS256.txt SHASUMS256.txt.asc
gpg: Signature made Tue May 7 15:44:10 2024 UTC
gpg: using RSA key CC68F5A3106FF448322E48ED27F5E38D5B0A215F
gpg: Can't check signature: No public key
Happens when I set the Node Version to 20.13.0
@jahusa02
Is this error related to that too?
It's a separate root cause, so I'd suggest you open a new issue.
The keys for Node.js are in https://github.com/cypress-io/cypress-docker-images/blob/master/factory/installScripts/node/default.sh
@bautistaaa
Yarn 1.22.19 is the latest stable release according to
- https://classic.yarnpkg.com/latest-version and
- https://classic.yarnpkg.com/en/docs/install
The error with Yarn 1.22.20 and later is due to missing PGP signature files. These have been requested over the last 6 months and have so far not been provided.
https://github.com/cypress-io/cypress-docker-images/issues/1036#issuecomment-2119166844
I've uploaded a GPG signature for Yarn v1.22.22, so this should be fixed now.
Thank you @Daniel15 !
I can confirm that it is now possible to successfully build a Cypress Docker image with cypress/factory using Yarn 1.22.22.
- https://classic.yarnpkg.com/latest-version and
- https://classic.yarnpkg.com/en/docs/install
are now showing Yarn 1.22.22 as the stable Yarn v1 Classic release.
This was an upstream issue on https://github.com/yarnpkg/yarn/releases. No change to this Cypress repo was necessary.