ad pooler build step in delivery.yaml and bump pooler version
This commit is contained in:
parent
943da73c9e
commit
34c20b4cec
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue