fix: reorder statements to avoid version-dependent syntax #2363
Annotations
1 error
Build 17 UBI9 PLV8
buildx failed with: ERROR: failed to solve: process "/bin/sh -c set -xe ; \tARCH=\"${TARGETARCH}\" ; \tbase_url=\"https://download.postgresql.org/pub/repos/yum/reporpms\" ; \tpg_audit_pkg=\"pgaudit19_17\" ; \tcurl -u token:$(cat /run/secrets/cs_token) -1sLf https://downloads.enterprisedb.com/basic/enterprise/setup.rpm.sh | bash ; \tcase $ARCH in \t\t\tamd64) \t\t\t\t\tyum -y install \"${base_url}/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm\" ; \t\t\t\t\tif [ \"17\" -gt \"15\" ]; then pg_audit_pkg=\"pgaudit_17\"; fi ;; \t\t\tarm64) \t\t\t\t\tyum -y install \"${base_url}/EL-9-aarch64/pgdg-redhat-repo-latest.noarch.rpm\" ; \t\t\t\t\tif [ \"17\" -gt \"15\" ]; then pg_audit_pkg=\"pgaudit_17\"; fi ;; \t\t\t*) \t\t\t\t\texit 1 ;; \tesac ; \tyum -y upgrade glibc-common ; \tyum -y reinstall glibc-common ; \tyum -y install hostname rsync tar gettext bind-utils nss_wrapper glibc-locale-source glibc-langpack-en ; \tyum -y --setopt=tsflags=nodocs install \t\tpostgresql17-17.0 \t\tpostgresql17-contrib-17.0 \t\tpostgresql17-server-17.0 \t\tpostgresql17-libs-17.0 \t\tpg_failover_slots_17 \t\tpg_squeeze_17 \t\t\"$pg_audit_pkg\" \t\tpgvector_17 \t\tpg_hint_plan_17 \t\tpg_cron_17 \t\torafce_17 \t\tedb-pg17-plv83 \t; \trm -fr /tmp/* ; \tyum -y clean all --enablerepo='*'" did not complete successfully: exit code: 1
|
Loading