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
4 changed files with 30 additions and 27 deletions

View file

@ -9,71 +9,71 @@ depends_on:
matrix:
include:
- PLATFORM: redhat-9
BLOCK: 8877:length(pkgs)
BLOCK: 14736:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: redhat-8
BLOCK: 8404:length(pkgs)
BLOCK: 14065:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: ubuntu-2404
BLOCK: 10665:length(pkgs)
BLOCK: 16953:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: ubuntu-2204
BLOCK: 11044:length(pkgs)
BLOCK: 19280:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: alpine-320
BLOCK: 8666:length(pkgs)
BLOCK: 15871:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
# ### AMD
# ### AMD
- PLATFORM: redhat-9
BLOCK: 9796:length(pkgs)
BLOCK: 17739:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: redhat-8
BLOCK: 9611:length(pkgs)
BLOCK: 17534:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: ubuntu-2404
BLOCK: 12753:length(pkgs)
BLOCK: 20732:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: ubuntu-2204
BLOCK: 12885:length(pkgs)
BLOCK: 21389:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: alpine-320
BLOCK: 8854:length(pkgs)
BLOCK: 15901:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
@ -148,10 +148,10 @@ steps:
resources:
requests:
memory: ${MEMORY}
cpu: 12000m
cpu: 4000m
limits:
memory: ${MEMORY}
cpu: 16000m
cpu: 4000m
### PROD-sequential
# resources:
# requests:

View file

@ -6,71 +6,71 @@ skip_clone: true
matrix:
include:
- PLATFORM: redhat-9
BLOCK: 8877:length(pkgs)
BLOCK: 14736:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: redhat-8
BLOCK: 8404:length(pkgs)
BLOCK: 14065:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: ubuntu-2404
BLOCK: 10665:length(pkgs)
BLOCK: 16953:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: ubuntu-2204
BLOCK: 11044:length(pkgs)
BLOCK: 19280:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
- PLATFORM: alpine-320
BLOCK: 8666:length(pkgs)
BLOCK: 15871:length(pkgs)
ARCH: arm64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cax41
STRATEGY: multisession
# ### AMD
# ### AMD
- PLATFORM: redhat-9
BLOCK: 9796:length(pkgs)
BLOCK: 17739:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: redhat-8
BLOCK: 9611:length(pkgs)
BLOCK: 17534:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: ubuntu-2404
BLOCK: 12753:length(pkgs)
BLOCK: 20732:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: ubuntu-2204
BLOCK: 12885:length(pkgs)
BLOCK: 21389:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi
INSTANCE_TYPE: cpx51
STRATEGY: multisession
- PLATFORM: alpine-320
BLOCK: 8854:length(pkgs)
BLOCK: 15901:length(pkgs)
ARCH: amd64
NCPUS: 2
MEMORY: 29Gi

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

View file

@ -7,7 +7,8 @@
query_metadata_table <- function(table = "single_builds") {
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"
)
metadata <- tbl(con, table)
return(metadata)
@ -18,7 +19,8 @@ query_metadata_table <- function(table = "single_builds") {
list_metadata_tables <- function() {
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"
)
dbListTables(con)
}