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.
This commit is contained in:
Patrick Schratz 2026-10-24 00:06:52 +00:00
commit 37467e866f
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(