ci(reindex): pass the metadata DB to per-minor index builds and fail on errors
Pass `metadata_db_*` explicitly to every per-minor `upload_package_index()` call instead of relying on bincraft's implicit production defaults, which rpkgs/bincraft#211 removes. Give the build-all-versions index step the `PGPASS` secret it lacked, so its per-minor reindex no longer runs without the ABI classifier cache. Replace `|| true` in the per-minor loops: every minor is still attempted, but the step now fails and names the minors whose reindex failed.
This commit is contained in:
parent
a310790ad8
commit
56f3cf368a
1 changed files with 33 additions and 7 deletions
|
|
@ -161,7 +161,13 @@ for (minor in r_minors) {
|
|||
s3_region = region,
|
||||
s3_bucket = bucket,
|
||||
s3_access_key_id = Sys.getenv("B2_S3_ACCESS_KEY"),
|
||||
s3_secret_access_key = Sys.getenv("B2_S3_SECRET_KEY")
|
||||
s3_secret_access_key = Sys.getenv("B2_S3_SECRET_KEY"),
|
||||
metadata_db_host = "r-binaries.devxy.io",
|
||||
metadata_db_name = "build_metadata",
|
||||
metadata_db_port = 15432L,
|
||||
metadata_db_user = "rpkgs",
|
||||
metadata_db_password = Sys.getenv("PGPASS"),
|
||||
metadata_db_sslmode = "require"
|
||||
),
|
||||
silent = FALSE
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue