require sslMode

This commit is contained in:
Patrick Schratz 2024-10-08 20:59:45 +02:00
commit 447e7791e5
Signed by: pat-s
GPG key ID: 3C6318841EF78925

View file

@ -5,7 +5,8 @@ store_build_metadata <- function(
force = FALSE, error = NA, build_duration = NA, size = NA) {
con <- DBI::dbConnect(RPostgres::Postgres(),
dbname = "build_metadata", host = "r-binaries.devxy.io",
port = 15432, user = "r_binaries", password = Sys.getenv("PGPASS")
port = 15432, user = "r_binaries", password = Sys.getenv("PGPASS"),
sslmode = "require"
)
# Check if an entry with the same package_name and tag already exists