-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove version from install_commands (#851)
Also upgrade pg_net to v.7.3 and add a comment why we don't yet support later versions. Upgrade hydra_columnar, too, though it does not support Potgres 17.
- Loading branch information
Showing
12 changed files
with
62 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
ARG PG_VERSION=17 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
ARG RELEASE=4.5.0 | ||
RUN curl -O https://api.pgxn.org/dist/e-maj/${RELEASE}/e-maj-${RELEASE}.zip \ | ||
&& unzip e-maj-${RELEASE}.zip \ | ||
&& cd e-maj-${RELEASE} \ | ||
&& perl -i -pe 's/#directory/directory/' emaj.control \ | ||
ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
|
||
RUN curl -O https://api.pgxn.org/dist/e-maj/${EXTENSION_VERSION}/e-maj-${EXTENSION_VERSION}.zip \ | ||
&& unzip e-maj-${EXTENSION_VERSION}.zip \ | ||
&& cd e-maj-${EXTENSION_VERSION} \ | ||
&& perl -i -pe 's/#directory/directory/' ${EXTENSION_NAME}.control \ | ||
&& make | ||
WORKDIR /app/e-maj-${EXTENSION_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
ARG PG_VERSION=17 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
|
||
ARG RELEASE=1.0.0 | ||
ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
|
||
# Extension build dependencies | ||
RUN curl -O https://api.pgxn.org/dist/envvar/${RELEASE}/envvar-${RELEASE}.zip \ | ||
&& unzip envvar-${RELEASE}.zip \ | ||
&& cd envvar-${RELEASE} && make | ||
RUN curl -O https://api.pgxn.org/dist/${EXTENSION_NAME}/${EXTENSION_VERSION}/${EXTENSION_NAME}-${EXTENSION_VERSION}.zip \ | ||
&& unzip ${EXTENSION_NAME}-${EXTENSION_VERSION}.zip \ | ||
&& cd ${EXTENSION_NAME}-${EXTENSION_VERSION} && make | ||
WORKDIR /app/${EXTENSION_NAME}-${EXTENSION_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,18 @@ | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
# Extension build dependencies | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libcurl4-openssl-dev \ | ||
liblz4-dev \ | ||
libzstd-dev | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/hydradatabase/hydra | ||
|
||
ARG RELEASE=v1.1.1 | ||
USER root | ||
RUN apt-get update && apt-get install -y \ | ||
build-essential \ | ||
libcurl4-openssl-dev \ | ||
liblz4-dev \ | ||
libzstd-dev | ||
|
||
RUN cd hydra/columnar && \ | ||
git checkout ${RELEASE} && \ | ||
./configure && \ | ||
make | ||
# ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
|
||
RUN git clone --depth 1 --branch "v${EXTENSION_VERSION}" https://github.com/hydradatabase/hydra.git \ | ||
&& cd hydra/columnar \ | ||
&& ./configure \ | ||
&& make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,18 @@ | ||
[extension] | ||
name = "hydra_columnar" | ||
version = "1.1.1" | ||
version = "1.1.2" | ||
repository = "https://github.com/hydradatabase/hydra" | ||
license = "GNU AGPL" | ||
description = "Columnar storage for Postgres" | ||
homepage = "https://www.hydra.so" | ||
documentation = "https://github.com/hydradatabase/hydra" | ||
categories = ["analytics"] | ||
|
||
|
||
[dependencies] | ||
apt = ["libc6", "libzstd1", "liblz4-1"] | ||
|
||
[build] | ||
postgres_version = "15" | ||
postgres_version = "16" | ||
platform = "linux/amd64" | ||
dockerfile = "Dockerfile" | ||
install_command = """ | ||
cd hydra/columnar && make install | ||
set -x | ||
mv /usr/local/pgsql/share/extension/* /usr/share/postgresql/15/extension | ||
mv /usr/local/pgsql/lib/* /usr/lib/postgresql/15/lib | ||
""" | ||
install_command = "make -C hydra/columnar install" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
# Install dependencies | ||
USER root | ||
RUN apt-get update && apt-get install -y libcurl4-openssl-dev | ||
|
||
ARG RELEASE=v0.7.1 | ||
|
||
# Clone repository | ||
RUN git clone https://github.com/supabase/pg_net.git | ||
ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
|
||
RUN cd pg_net && \ | ||
git fetch origin ${RELEASE} && \ | ||
git checkout ${RELEASE} && \ | ||
make | ||
RUN git clone --depth 1 --branch "v${EXTENSION_VERSION}" https://github.com/supabase/${EXTENSION_NAME}.git \ | ||
&& cd ${EXTENSION_NAME} \ | ||
&& make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
ARG PG_VERSION=15 | ||
ARG PG_VERSION | ||
FROM quay.io/coredb/c-builder:pg${PG_VERSION} | ||
USER root | ||
|
||
ARG RELEASE=3.2.3 | ||
RUN curl -O https://api.pgxn.org/dist/plv8/${RELEASE}/plv8-${RELEASE}.zip \ | ||
&& unzip plv8-${RELEASE}.zip \ | ||
&& cd plv8-${RELEASE} \ | ||
ARG EXTENSION_NAME | ||
ARG EXTENSION_VERSION | ||
|
||
RUN curl -O https://api.pgxn.org/dist/${EXTENSION_NAME}/${EXTENSION_VERSION}/${EXTENSION_NAME}-${EXTENSION_VERSION}.zip \ | ||
&& unzip ${EXTENSION_NAME}-${EXTENSION_VERSION}.zip \ | ||
&& cd ${EXTENSION_NAME}-${EXTENSION_VERSION} \ | ||
&& make | ||
WORKDIR /app/${EXTENSION_NAME}-${EXTENSION_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters