CI/CD Boilerplate for extension binaries without source code ? - Mailing list pgsql-general

From Markur Sens
Subject CI/CD Boilerplate for extension binaries without source code ?
Date
Msg-id 37175B52-7B4E-49EF-A5D4-8C56F252FE6F@gmail.com
Whole thread Raw
List pgsql-general
Hi,

For a gig, I’m developing a small Postgres extension, adding a few data types and some functions (some of them written
inC and some of them written in plpython3). 

Now, my client doesn’t want the source code to be visible and/or open even internally to other teams; They just want a
bunchof yum/deb/apt packages to be distributed to servers & users internally. 
Docker is also an option but I prefer to rely just on my Makefile (using PGXS) for now and produce deb/apt/yum

Can you recommend any CI/CD boilerplate that can help with this? Especially the plpython3 part can be tricky as the
CREATEFUNCTION body obviously contains visible python code and is included in the extension—0.1.sql that goes under
/share/postgresql/extension/.  

Most of the sophisticated extensions (Postgis, citus) I’ve looked at have either too complex CI/CD processes or ship
sourcecode with them. And the plpython part seems quite unique I think.  






pgsql-general by date:

Previous
From: Torello Querci
Date:
Subject: Install pg_dump and pg_restore on UBI8 and UBI8-minimal
Next
From: jonathaan67
Date:
Subject: Database stuck in a state where vacuum and vacuumdb is not working