From 34c20b4cec1f1d69a88f9f7052e674aff2664f09 Mon Sep 17 00:00:00 2001 From: Felix Kunde Date: Fri, 17 Apr 2026 11:22:51 +0200 Subject: [PATCH] ad pooler build step in delivery.yaml and bump pooler version --- delivery.yaml | 28 ++++++++++++++++++++++++++++ pooler/Dockerfile | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/delivery.yaml b/delivery.yaml index 933e72733..f195c8ecc 100644 --- a/delivery.yaml +++ b/delivery.yaml @@ -42,6 +42,34 @@ pipeline: -f docker/Dockerfile \ --push . + - id: build-pooler + env: + <<: *BUILD_ENV + type: script + vm_config: + type: linux + + commands: + - desc: Build image + cmd: | + cd pooler + if [ -z ${CDP_SOURCE_BRANCH} ]; then + IMAGE=${MULTI_ARCH_REGISTRY}/postgres-operator-pooler + else + IMAGE=${MULTI_ARCH_REGISTRY}/postgres-operator-pooler-test + fi + + docker buildx create --config /etc/cdp-buildkitd.toml --driver-opt network=host --bootstrap --use + docker buildx build --platform "linux/amd64,linux/arm64" \ + --build-arg BASE_IMAGE="${ALPINE_BASE_IMAGE}" \ + -t "${IMAGE}:${CDP_BUILD_VERSION}" \ + -f docker/Dockerfile \ + --push . + + if [ -z ${CDP_SOURCE_BRANCH} ]; then + cdp-promote-image ${IMAGE}:${CDP_BUILD_VERSION} + fi + - id: build-operator-ui env: <<: *BUILD_ENV diff --git a/pooler/Dockerfile b/pooler/Dockerfile index 23b94fac5..713fa88bd 100644 --- a/pooler/Dockerfile +++ b/pooler/Dockerfile @@ -7,7 +7,7 @@ RUN apk --update add \ RUN git clone \ --single-branch \ - --branch=stable-1.23 \ + --branch=stable-1.25 \ --depth 1 \ https://github.com/pgbouncer/pgbouncer.git src