From cccb07927de62ac17afe204c75c838dfcf2a4774 Mon Sep 17 00:00:00 2001 From: BodoBolero Date: Wed, 18 Jun 2025 19:46:51 +0200 Subject: [PATCH] the logic for pg version checking was reversed --- compute/compute-node.Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/compute/compute-node.Dockerfile b/compute/compute-node.Dockerfile index bd86cea553..d309b1832b 100644 --- a/compute/compute-node.Dockerfile +++ b/compute/compute-node.Dockerfile @@ -552,12 +552,10 @@ WORKDIR /ext-src/ RUN case "${PG_VERSION:?}" in \ "v14" ) \ - ;; \ - *) \ - echo "skipping the version of pg_tpcds for $PG_VERSION" && exit 0 \ - ;; \ - esac && \ - git clone --recurse-submodules --depth 1 https://github.com/neondatabase-labs/pg_tpcds.git pg_tpcds-src + echo "Skipping pg_tpcds for PG_VERSION=$PG_VERSION" && exit 0 ;; \ + * ) \ + git clone --recurse-submodules --depth 1 https://github.com/neondatabase-labs/pg_tpcds.git pg_tpcds-src ;; \ + esac FROM pg-build AS pg_tpcds-build COPY --from=pg_tpcds-src /ext-src/ /ext-src/