ci: fix corepack issue #1066
mahlzahn/ci_fix_corepack into next Still failing unfortunately 😢
And it is a bit random, because using the same container image node:20 on code.forgejo.org didn't show the error. Because it obtained the correct key from the server it by chance connected to.
After this PR, the first step is installing updated corepack, then this issue should be solved.
Alternatively, we could either wait for container update (but this will likely take a while) or change th container, e.g., node:23, but I have no idea, what are our requirements here.
debian@runner-50-lxc:/etc/forgejo-runner$ docker pull data.forgejo.org/oci/node:20-bookworm
20-bookworm: Pulling from oci/node
Digest: sha256:bc3d86568d9a9e062cdf7036367f6e2ce201925e2912758bcd3b0e2657875a63
Status: Image is up to date for data.forgejo.org/oci/node:20-bookworm
data.forgejo.org/oci/node:20-bookworm
debian@runner-50-lxc:/etc/forgejo-runner$ docker pull node:20
20: Pulling from library/node
Digest: sha256:bc3d86568d9a9e062cdf7036367f6e2ce201925e2912758bcd3b0e2657875a63
Status: Image is up to date for node:20
docker.io/library/node:20
This is on the machine where the CI is running.
After this PR, the first step is installing updated corepack, then this issue should be solved.
I'm not sure I understand why does it fail now? I'm missing something 🤔
See here: https://github.com/nodejs/corepack/issues/612#issuecomment-2615191675
The server farm responding to https://registry.npmjs.org includes 24 different IP addresses and I guess it depends on exactly which Cloudflare server the request hits. I don't know the reason for the two different keys
I don't understand the true reason, but further down in that thread, the update to latest corepack is recommended.
@earl-warren wrote in #1066 (comment):
Still failing unfortunately 😢
(And this PR here is still using the unmodified workflow from next)
Damn, these pull_request_target always get me 😊
And, of course, for the website it is failing also for on push: https://codeberg.org/forgejo/website/actions/runs/1216/jobs/0
Let's firstly see here, if the updated workflow works.
The backport to v10.0 failed. Check the latest run for more details.
The backport to v7.0 failed. Check the latest run for more details.
Archived
Archived
Archived
Archived
Archived
Archived
Archived
Archived
Archived
Archived
Archived
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?