Skip to content

Commit 787d1fa

Browse files
BradLugodcaravel
authored andcommitted
fix(ci): add specific psql version to fix s390x (#2092)
1 parent 8dc863c commit 787d1fa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

image/db/rhel/scripts/download.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,11 @@ output_dir="/rpms"
1515
mkdir $output_dir
1616

1717
if [[ "$arch" == "s390x" ]]; then
18+
# TODO(ROX-30647): Builds are failing due to UBI9:latest not containing the
19+
# necessary version of openssl-libs to build postgresql-contrib.
20+
pg_build_version="0:16.8-1.module_el9+1209+bd6e4013.s390x"
1821
dnf module enable -y postgresql:16
19-
dnf install -y --downloadonly --downloaddir=/tmp postgresql postgresql-private-libs postgresql-server postgresql-contrib
22+
dnf install -y --downloadonly --downloaddir=/tmp "postgresql-${pg_build_version}" "postgresql-private-libs-${pg_build_version}" "postgresql-server-${pg_build_version}" "postgresql-contrib-${pg_build_version}"
2023
mv /tmp/postgresql-contrib-*.rpm "${output_dir}/postgres-contrib.rpm"
2124
mv /tmp/postgresql-server-*.rpm "${output_dir}/postgres-server.rpm"
2225
mv /tmp/postgresql-private-libs-*.rpm "${output_dir}/postgres-libs.rpm"

0 commit comments

Comments
 (0)