This is an automated email from the ASF dual-hosted git repository.
espino pushed a commit to branch ci-fix
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
The following commit(s) were added to refs/heads/ci-fix by this push:
new 2e9fb3bb377 Pin Rocky Linux repos to stable 9.x release
2e9fb3bb377 is described below
commit 2e9fb3bb3774d5493b66a50f312f066d22d064cf
Author: Ed Espino <[email protected]>
AuthorDate: Mon Oct 6 09:16:27 2025 -0700
Pin Rocky Linux repos to stable 9.x release
Use --releasever=9 to pin dnf to stable Rocky Linux 9.x repos instead
of bleeding-edge point releases (e.g., 9.6) that may not be fully synced
across all mirrors.
Rocky Linux maintains binary compatibility within major versions, so
pinning to 9 ensures we get stable, widely-mirrored packages while
remaining compatible with the 9.6 container OS.
This complements the earlier retry/refresh logic by addressing the root
cause: new point releases have metadata sync lag across mirror network.
---
.github/workflows/build-cloudberry.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build-cloudberry.yml
b/.github/workflows/build-cloudberry.yml
index cecd61f16c2..04d5e827b6e 100644
--- a/.github/workflows/build-cloudberry.yml
+++ b/.github/workflows/build-cloudberry.yml
@@ -835,8 +835,9 @@ jobs:
rm -rf /usr/local/cloudberry-db
# Install RPM with retry logic for mirror issues
+ # Use --releasever=9 to pin to stable Rocky Linux 9 repos (not
bleeding-edge 9.6)
echo "Starting installation..."
- if ! time dnf install -y --setopt=retries=10 "${RPM_FILE}"; then
+ if ! time dnf install -y --setopt=retries=10 --releasever=9
"${RPM_FILE}"; then
echo "::error::RPM installation failed"
exit 1
fi
@@ -1219,8 +1220,9 @@ jobs:
rm -rf /usr/local/cloudberry-db
# Install RPM with retry logic for mirror issues
+ # Use --releasever=9 to pin to stable Rocky Linux 9 repos (not
bleeding-edge 9.6)
echo "Starting installation..."
- if ! time dnf install -y --setopt=retries=10 "${RPM_FILE}"; then
+ if ! time dnf install -y --setopt=retries=10 --releasever=9
"${RPM_FILE}"; then
echo "::error::RPM installation failed"
exit 1
fi
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]