require sslMode
This commit is contained in:
parent
c23011b811
commit
447e7791e5
4 changed files with 30 additions and 27 deletions
|
|
@ -9,71 +9,71 @@ depends_on:
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 8877:length(pkgs)
|
BLOCK: 14736:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
BLOCK: 8404:length(pkgs)
|
BLOCK: 14065:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
BLOCK: 10665:length(pkgs)
|
BLOCK: 16953:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
BLOCK: 11044:length(pkgs)
|
BLOCK: 19280:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
BLOCK: 8666:length(pkgs)
|
BLOCK: 15871:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# ### AMD
|
# ### AMD
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 9796:length(pkgs)
|
BLOCK: 17739:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
BLOCK: 9611:length(pkgs)
|
BLOCK: 17534:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
BLOCK: 12753:length(pkgs)
|
BLOCK: 20732:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
BLOCK: 12885:length(pkgs)
|
BLOCK: 21389:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
BLOCK: 8854:length(pkgs)
|
BLOCK: 15901:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
|
|
@ -148,10 +148,10 @@ steps:
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: ${MEMORY}
|
memory: ${MEMORY}
|
||||||
cpu: 12000m
|
cpu: 4000m
|
||||||
limits:
|
limits:
|
||||||
memory: ${MEMORY}
|
memory: ${MEMORY}
|
||||||
cpu: 16000m
|
cpu: 4000m
|
||||||
### PROD-sequential
|
### PROD-sequential
|
||||||
# resources:
|
# resources:
|
||||||
# requests:
|
# requests:
|
||||||
|
|
|
||||||
|
|
@ -6,71 +6,71 @@ skip_clone: true
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 8877:length(pkgs)
|
BLOCK: 14736:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
BLOCK: 8404:length(pkgs)
|
BLOCK: 14065:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
BLOCK: 10665:length(pkgs)
|
BLOCK: 16953:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
BLOCK: 11044:length(pkgs)
|
BLOCK: 19280:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
BLOCK: 8666:length(pkgs)
|
BLOCK: 15871:length(pkgs)
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cax41
|
INSTANCE_TYPE: cax41
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# ### AMD
|
# ### AMD
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 9796:length(pkgs)
|
BLOCK: 17739:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
BLOCK: 9611:length(pkgs)
|
BLOCK: 17534:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
BLOCK: 12753:length(pkgs)
|
BLOCK: 20732:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
BLOCK: 12885:length(pkgs)
|
BLOCK: 21389:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
INSTANCE_TYPE: cpx51
|
INSTANCE_TYPE: cpx51
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
- PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
BLOCK: 8854:length(pkgs)
|
BLOCK: 15901:length(pkgs)
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,8 @@ store_build_metadata <- function(
|
||||||
force = FALSE, error = NA, build_duration = NA, size = NA) {
|
force = FALSE, error = NA, build_duration = NA, size = NA) {
|
||||||
con <- DBI::dbConnect(RPostgres::Postgres(),
|
con <- DBI::dbConnect(RPostgres::Postgres(),
|
||||||
dbname = "build_metadata", host = "r-binaries.devxy.io",
|
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
|
# Check if an entry with the same package_name and tag already exists
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,8 @@
|
||||||
query_metadata_table <- function(table = "single_builds") {
|
query_metadata_table <- function(table = "single_builds") {
|
||||||
con <- DBI::dbConnect(RPostgres::Postgres(),
|
con <- DBI::dbConnect(RPostgres::Postgres(),
|
||||||
dbname = "build_metadata", host = "r-binaries.devxy.io",
|
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)
|
metadata <- tbl(con, table)
|
||||||
return(metadata)
|
return(metadata)
|
||||||
|
|
@ -18,7 +19,8 @@ query_metadata_table <- function(table = "single_builds") {
|
||||||
list_metadata_tables <- function() {
|
list_metadata_tables <- function() {
|
||||||
con <- DBI::dbConnect(RPostgres::Postgres(),
|
con <- DBI::dbConnect(RPostgres::Postgres(),
|
||||||
dbname = "build_metadata", host = "r-binaries.devxy.io",
|
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)
|
dbListTables(con)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue