fix(build-newer-r): pass the system CA bundle to the ABI-verdict query #241

Merged
pat-s merged 1 commit from fix/build-newer-r-sslrootcert into main 2026-10-24 00:09:27 +00:00
Showing only changes of commit 37467e866f - Show all commits

fix(build-newer-r): pass the system CA bundle to the ABI-verdict query

verify-full needs sslrootcert; without it libpq looks for ~/.postgresql/root.crt, the query fails, and the bulk skip falls back to checking every package.
Patrick Schratz 2026-10-24 00:06:52 +00:00
No known key found for this signature in database
GPG key ID: 62050D5BC68AB6DC

View file

@ -71,7 +71,8 @@ if ("--dry-run" %in% args) {
port = 15432, port = 15432,
user = "rpkgs", user = "rpkgs",
password = Sys.getenv("PGPASS"), password = Sys.getenv("PGPASS"),
sslmode = "verify-full" sslmode = "verify-full",
sslrootcert = bincraft::postgres_sslrootcert("verify-full")
) )
on.exit(DBI::dbDisconnect(con), add = TRUE) on.exit(DBI::dbDisconnect(con), add = TRUE)
rows <- DBI::dbGetQuery( rows <- DBI::dbGetQuery(