mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-03 19:42:55 +00:00
## Problem We need automated tests of extensions shipped with Neon to detect possible problems. ## Summary of changes A new image neon-test-extensions is added. Workflow changes to test the shipped extensions are added as well. Currently, the regression tests, shipped with extensions are in use. Some extensions, i.e. rum, timescaledb, rdkit, postgis, pgx_ulid, pgtap, pg_tiktoken, pg_jsonschema, pg_graphql, kq_imcx, wal2json_2_5 are excluded due to problems or absence of internal tests. --------- Co-authored-by: Alexander Bayandin <alexander@neon.tech> Co-authored-by: Heikki Linnakangas <heikki@neon.tech>
18 lines
490 B
Docker
18 lines
490 B
Docker
ARG REPOSITORY=neondatabase
|
|
ARG COMPUTE_IMAGE=compute-node-v14
|
|
ARG TAG=latest
|
|
|
|
FROM $REPOSITORY/${COMPUTE_IMAGE}:$TAG
|
|
|
|
USER root
|
|
RUN apt-get update && \
|
|
apt-get install -y curl \
|
|
jq \
|
|
python3-pip \
|
|
netcat
|
|
#Faker is required for the pg_anon test
|
|
RUN pip3 install Faker
|
|
#This is required for the pg_hintplan test
|
|
RUN mkdir -p /ext-src/pg_hint_plan-src && chown postgres /ext-src/pg_hint_plan-src
|
|
|
|
USER postgres |