mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-15 09:22:55 +00:00
need higher version of pgcopydb
This commit is contained in:
8
.github/workflows/benchmarking.yml
vendored
8
.github/workflows/benchmarking.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
PG_CONFIG: /tmp/neon/pg_install/v16/bin/pg_config
|
||||
runs-on: [ self-hosted, us-east-2, x64 ]
|
||||
container:
|
||||
image: neondatabase/build-tools:pinned-bookworm
|
||||
image: neondatabase/build-tools:62b0e0c53ed967d40b302d322ee0aa76626cac5f3d20b47bed6b7ee8350c78d2-bookworm-x64
|
||||
credentials:
|
||||
username: ${{ secrets.NEON_DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.NEON_DOCKERHUB_PASSWORD }}
|
||||
@@ -88,11 +88,11 @@ jobs:
|
||||
- name: invoke pg_config
|
||||
run: |
|
||||
/tmp/neon/pg_install/v16/bin/pg_config --bindir
|
||||
${PG_CONFIG} --bindir
|
||||
|
||||
- name: Install pgcopydb
|
||||
- name: Invoke pgcopydb
|
||||
run: |
|
||||
apt update
|
||||
apt-get install pgcopydb
|
||||
pgcopydb --version
|
||||
pgcopydb --help
|
||||
|
||||
bench:
|
||||
|
||||
@@ -55,9 +55,18 @@ RUN set -e \
|
||||
xz-utils \
|
||||
zlib1g-dev \
|
||||
zstd \
|
||||
$([[ "${DEBIAN_VERSION}" = "bookworm" ]] && echo pgcopydb || true) \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
# Conditional installation of pgcopydb from unstable repository for Bookworm only (need version 0.17-1 or higher)
|
||||
RUN if [ "${DEBIAN_VERSION}" = "bookworm" ]; then \
|
||||
echo "deb http://deb.debian.org/debian unstable main" > /etc/apt/sources.list.d/unstable.list \
|
||||
&& apt update \
|
||||
&& apt install -y -t unstable pgcopydb \
|
||||
&& rm /etc/apt/sources.list.d/unstable.list \
|
||||
&& apt update \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*; \
|
||||
fi
|
||||
|
||||
# sql_exporter
|
||||
|
||||
# Keep the version the same as in compute/compute-node.Dockerfile and
|
||||
|
||||
Reference in New Issue
Block a user