Skip to content

Commit 21c4335

Browse files
Update test images (#40)
As we are separating the builds for each pg major, we needed to add some additional packages to some of the images to be able to pass configure and run tests.
1 parent 57da3c2 commit 21c4335

4 files changed

Lines changed: 25 additions & 0 deletions

File tree

circleci/images/citusupgradetester/files/sbin/install-extdeps

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ echo "deb http://apt.postgresql.org/pub/repos/apt/ ${codename}-pgdg main" > \
5252
echo "Installing server-dev packages..." >&2
5353
apt-get update && apt-get install -y --no-install-recommends postgresql-server-dev-$PG_MAJOR
5454

55+
# we need autoconf and build-essential for running the tests
56+
# we need other libraries for configure to pass, even though we could use
57+
# --without-libcurl while configuring, we prefer this for now.
58+
apt-get install -y autoconf build-essential libcurl4-openssl-dev libicu-dev \
59+
libreadline-dev libselinux1-dev libxslt-dev libssl-dev
60+
5561
# build list of postgres
5662
echo "Installing postgres packages..." >&2
5763
apt-get install -y --no-install-recommends postgresql-$PG_MAJOR

circleci/images/exttester/files/sbin/install-testdeps

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ EOF
5858
echo "Installing tools for testing PostgreSQL extensions..." >&2
5959
apt-get update && apt-get install -y --no-install-recommends make postgresql-common perl libcurl3 "postgresql-${PG_MAJOR}" "postgresql-server-dev-${PG_MAJOR}"
6060

61+
# we need autoconf and build-essential for running the tests
62+
# we need other libraries for configure to pass, even though we could use
63+
# --without-libcurl while configuring, we prefer this for now.
64+
apt-get install -y autoconf build-essential libcurl4-openssl-dev \
65+
libicu-dev libreadline-dev libselinux1-dev libxslt-dev libssl-dev
66+
6167
# Give permission for usr so that circleci can write citus artifacts
6268
chmod o+w -R /usr/
6369

circleci/images/failtester/files/sbin/install-testdeps

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,13 @@ EOF
5353
echo "Installing tools for testing PostgreSQL extensions..." >&2
5454
apt-get update && apt-get install -y --no-install-recommends make postgresql-common \
5555
perl libcurl3 "postgresql-${PG_MAJOR}" "postgresql-server-dev-${PG_MAJOR}"
56+
57+
# we need autoconf and build-essential for running the tests
58+
# we need other libraries for configure to pass, even though we could use
59+
# --without-libcurl while configuring, we prefer this for now.
60+
apt-get install -y autoconf build-essential libcurl4-openssl-dev \
61+
libicu-dev libreadline-dev libselinux1-dev libxslt-dev libssl-dev
62+
5663

5764
echo "Installing tools for failure testing..." >&2
5865
pip3 install -Ir /tmp/etc/requirements.txt

circleci/images/pgupgradetester/files/sbin/install-testdeps

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ sd_pkgs=( "${pg_majors[@]/#/postgresql-server-dev-}" )
5353
pg_pkgs=( "${pg_majors[@]/#/postgresql-}" )
5454
apt-get update && apt-get install -y --no-install-recommends make postgresql-common perl libcurl3 "${sd_pkgs[@]}" "${pg_pkgs[@]}"
5555

56+
# we need autoconf and build-essential for running the tests
57+
# we need other libraries for configure to pass, even though we could use
58+
# --without-libcurl while configuring, we prefer this for now.
59+
apt-get install -y autoconf build-essential libcurl4-openssl-dev \
60+
libicu-dev libreadline-dev libselinux1-dev libxslt-dev libssl-dev
61+
5662
echo "Installing tools for failure testing..." >&2
5763
pip install -Ir /tmp/etc/requirements.txt
5864

0 commit comments

Comments
 (0)