Skip to content

Commit

Permalink
Merge branch 'main' into tembo-pg-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel authored Jan 30, 2024
2 parents 9c7fb62 + 5a42d55 commit 0ea863d
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 1 deletion.
12 changes: 12 additions & 0 deletions contrib/pg-base62/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ARG PG_VERSION=15
FROM quay.io/coredb/c-builder:pg${PG_VERSION}
USER root

# Extension build dependencies
RUN apt-get update && apt-get install -y \
build-essential

# Clone repository
RUN git clone https://github.com/adjust/pg-base62.git

RUN cd pg-base62 && make
24 changes: 24 additions & 0 deletions contrib/pg-base62/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[extension]
name = "pg_base62"
extension_name = "base62"
version = "0.0.1"
repository = "https://github.com/adjust/pg-base62"
license = "MIT"
description = "base62 encoding and decoding"
homepage = "https://github.com/adjust/pg-base62"
documentation = "https://github.com/adjust/pg-base62"
categories = ["data_transformations"]

[dependencies]
apt = ["libc6"]

[build]
postgres_version = "15"
platform = "linux/amd64"
dockerfile = "Dockerfile"
install_command = """
cd pg-base62 && 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
"""
2 changes: 1 addition & 1 deletion contrib/pg-telemetry/Trunk.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[extension]
name = "pg-telemetry"
name = "pgtelemetry"
extension_name = "pgtelemetry"
version = "1.6.0"
repository = "https://github.com/adjust/pg-telemetry"
Expand Down
12 changes: 12 additions & 0 deletions contrib/pgbase36/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ARG PG_VERSION=15
FROM quay.io/coredb/c-builder:pg${PG_VERSION}
USER root

# Extension build dependencies
RUN apt-get update && apt-get install -y \
build-essential

# Clone repository
RUN git clone https://github.com/adjust/pg-base36.git

RUN cd pg-base36 && make
24 changes: 24 additions & 0 deletions contrib/pgbase36/Trunk.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[extension]
name = "pg_base36"
extension_name = "base36"
version = "0.0.1"
repository = "https://github.com/adjust/pg-base36"
license = "MIT"
description = "base36 encoding and decoding"
homepage = "https://github.com/adjust/pg-base36"
documentation = "https://github.com/adjust/pg-base36"
categories = ["data_transformations"]

[dependencies]
apt = ["libc6"]

[build]
postgres_version = "15"
platform = "linux/amd64"
dockerfile = "Dockerfile"
install_command = """
cd pg-base36 && 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
"""

0 comments on commit 0ea863d

Please sign in to comment.