pnpm/.github/scripts/netbsd-vm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Zoltan Kochan 20fec500d4
ci: fix the NetBSD VM download and the pnpr release driver check (#18066)
* ci(netbsd-vm): retry dropped downloads and cache the release files

The NetBSD VM job failed when cdn.netbsd.org closed the connection
mid-transfer (curl exit 18). `--retry` does not cover that error, so
the download now passes `--retry-all-errors`.

The NetBSD release files are also cached, keyed on release.sha512, so
most runs skip the CDN. Each file is still checked against its hash,
and a file that does not match is downloaded again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* ci(release): accept a connect error in the pnpr database driver check

`pnpr config check` reads the stored registries from the database since
pnpm/pnpm#18046, so it now connects to the configured URL. The release
check points it at hosts that do not exist, so every pnpr release build
failed at "Verify storage.database.url schemes on native target".

The check now passes when pnpr fails at the connect step, which proves
the driver is in the binary. A missing driver or a rejected scheme fails
before connecting with a different message and still fails the check.
The package job and the npm artifact job share the script.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:54:35 +01:00
..
enable-ssh.py feat(release): build NetBSD x64 binaries natively in a VM (#17830) 2026-11-07 12:25:37 +01:00
release.sha512 feat(release): build NetBSD x64 binaries natively in a VM (#17830) 2026-11-07 12:25:37 +01:00
vm.sh ci: fix the NetBSD VM download and the pnpr release driver check (#18066) 2026-11-13 16:54:35 +01:00